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