forked from pyrite-dev/milsko
probably better
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@571 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
971ef1b827
commit
95771fddd9
11 changed files with 67 additions and 91 deletions
|
|
@ -14,17 +14,13 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct _MwRGB MwRGB;
|
||||
|
||||
struct _MwRGB {
|
||||
MwU32 r;
|
||||
MwU32 g;
|
||||
MwU32 b;
|
||||
};
|
||||
|
||||
typedef void (*MwColorPickerCallback)(MwRGB rgb);
|
||||
|
||||
MWDECL MwWidget MwColorPicker(MwWidget handle, const char* title, MwColorPickerCallback cb);
|
||||
/*!
|
||||
* @brief Creates a color picker
|
||||
* @param handle Widget
|
||||
* @param title Title text
|
||||
* @return Widget
|
||||
*/
|
||||
MWDECL MwWidget MwColorPicker(MwWidget handle, const char* title);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue