00001
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #ifndef _MGUI_COLORDLG_H
00032 #define _MGUI_COLORDLG_H
00033
00034 #ifdef __cplusplus
00035 extern "C" {
00036 #endif
00037
00038 #ifdef _USE_NEWGAL
00039
00054 typedef struct _COLORDATA {
00056 DWORD style;
00058 gal_pixel pixel;
00060 Uint8 r, g, b;
00062 Uint16 h;
00064 Uint8 s, v;
00065 } COLORDATA, *PCOLORDATA;
00066
00067
00068 #define SELCOLOR_OK IDOK
00069
00070 #define SELCOLOR_CANCEL IDCANCEL
00071
00072 #include "colorspace.h"
00073
00094 MGEXT_EXPORT int ColorSelDialog (HWND hWnd, int x, int y,
00095 int w, int h, PCOLORDATA pClrData);
00096
00101 #endif
00102
00103 #ifdef __cplusplus
00104 }
00105 #endif
00106
00107 #endif
00108
00109