Files
milsko/include/Mw/ColorPicker.h
NishiOwO 971ef1b827 closes #10
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@570 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-11-02 19:15:38 +00:00

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