|
|
1.1 ! root 1: // Porting macros ! 2: #ifdef WIN32 ! 3: typedef POINTS MPOINT; ! 4: #define LONG2POINT(l, pt) ((pt).x = (SHORT)LOWORD(l), (pt).y = (SHORT)HIWORD(l)) ! 5: #else ! 6: typedef POINT MPOINT; ! 7: #define LONG2POINT(l, pt) ((pt).x = (INT)LOWORD(l), (pt).y = (INT)HIWORD(l)) ! 8: #endif ! 9: ! 10: ! 11: #define PALETTESIZE 256 /* Number of entries in the system palette */ ! 12: ! 13: typedef struct tagRGPT { /* Values for setting Min Max info */ ! 14: INT iInfo[10]; ! 15: } RGPT; ! 16: typedef RGPT FAR *LPRGPT; ! 17: ! 18: extern VOID ShowColor(HWND, HDC);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.