Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

colordlg.h

Go to the documentation of this file.
00001 
00021 /*
00022  * $Id: colordlg.h,v 1.16 2006/06/11 04:20:37 weiym Exp $
00023  *
00024  *             MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks, 
00025  *                     pSOS, ThreadX, NuCleus, OSE, and Win32.
00026  *
00027  *             Copyright (C) 2002-2006 Feynman Software.
00028  *             Copyright (C) 1998-2002 Wei Yongming.
00029  */
00030 
00031 #ifndef _MGUI_COLORDLG_H
00032 #define _MGUI_COLORDLG_H
00033 
00034 #ifdef __cplusplus
00035 extern "C" {
00036 #endif  /* __cplusplus */
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 /* Internal use */
00068 #define SELCOLOR_OK     IDOK
00069 /* Internal use */
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 /* _USE_NEWGAL */
00102 
00103 #ifdef __cplusplus
00104 }
00105 #endif  /* __cplusplus */
00106 
00107 #endif /* _MGUI_COLORDLG_H */
00108 
00109 

Generated on Mon Jun 26 14:21:34 2006 for MiniGUI V2.0.3 API Reference by  doxygen 1.4.2