mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-03 16:10:50 +00:00
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@570 b9cfdab3-6d41-4d17-bbe4-086880011989
34 lines
479 B
C
34 lines
479 B
C
/* $Id$ */
|
|
|
|
/*!
|
|
* @file Mw/ColorPicker.h
|
|
* @brief Color picker
|
|
*/
|
|
#ifndef __MW_COLORPICKER_H__
|
|
#define __MW_COLORPICKER_H__
|
|
|
|
#include <Mw/MachDep.h>
|
|
#include <Mw/TypeDefs.h>
|
|
|
|
#ifdef __cplusplus
|
|
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);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|