Tidy up flags for custom redraw routines
This commit is contained in:
parent
c1007a2cc9
commit
ecc7f94c88
7 changed files with 14 additions and 14 deletions
|
@ -44,7 +44,7 @@ typedef GEventGWin GEventGWinButton;
|
|||
* @note Used only for writing a custom draw routine.
|
||||
* @{
|
||||
*/
|
||||
#define GBUTTON_FLG_PRESSED (0x00000001<<0)
|
||||
#define GBUTTON_FLG_PRESSED 0x01
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
|
|
@ -50,7 +50,7 @@ typedef struct GEventGWinCheckbox {
|
|||
* @note Used only for writing a custom draw routine.
|
||||
* @{
|
||||
*/
|
||||
#define GCHECKBOX_FLG_CHECKED (0x00000001<<0)
|
||||
#define GCHECKBOX_FLG_CHECKED 0x01
|
||||
/** @} */
|
||||
|
||||
/* A Checkbox window */
|
||||
|
|
|
@ -44,8 +44,8 @@ typedef GEventGWin GEventGWinKeyboard;
|
|||
* @note Used only for writing a custom draw routine.
|
||||
* @{
|
||||
*/
|
||||
#define GKEYBOARD_FLG_REVERTSET (0x00000001<<0)
|
||||
#define GKEYBOARD_FLG_QUICKUPDATE (0x00000001<<1)
|
||||
#define GKEYBOARD_FLG_REVERTSET 0x01
|
||||
#define GKEYBOARD_FLG_QUICKUPDATE 0x02
|
||||
#define GKEY_BAD_ROWCOL 255
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -38,9 +38,9 @@
|
|||
* @note Used only for writing a custom draw routine.
|
||||
* @{
|
||||
*/
|
||||
#define GLABEL_FLG_WAUTO (0x00000001 << 0)
|
||||
#define GLABEL_FLG_HAUTO (0x00000001 << 1)
|
||||
#define GLABEL_FLG_BORDER (0x00000001 << 2)
|
||||
#define GLABEL_FLG_WAUTO 0x01
|
||||
#define GLABEL_FLG_HAUTO 0x02
|
||||
#define GLABEL_FLG_BORDER 0x04
|
||||
/** @} */
|
||||
|
||||
// An label window
|
||||
|
|
|
@ -81,11 +81,11 @@ typedef enum scroll_t { scrollAlways, scrollAuto, scrollSmooth } scroll_t;
|
|||
* @note Used only for writing a custom draw routine.
|
||||
* @{
|
||||
*/
|
||||
#define GLIST_FLG_MULTISELECT (0x00000001 << 0)
|
||||
#define GLIST_FLG_HASIMAGES (0x00000001 << 1)
|
||||
#define GLIST_FLG_SCROLLALWAYS (0x00000001 << 2)
|
||||
#define GLIST_FLG_SCROLLSMOOTH (0x00000001 << 3)
|
||||
#define GLIST_FLG_ENABLERENDER (0x00000001 << 4)
|
||||
#define GLIST_FLG_MULTISELECT 0x01
|
||||
#define GLIST_FLG_HASIMAGES 0x02
|
||||
#define GLIST_FLG_SCROLLALWAYS 0x04
|
||||
#define GLIST_FLG_SCROLLSMOOTH 0x08
|
||||
#define GLIST_FLG_ENABLERENDER 0x10
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
|
|
@ -50,7 +50,7 @@ typedef struct GEventGWinRadio {
|
|||
* @note Used only for writing a custom draw routine.
|
||||
* @{
|
||||
*/
|
||||
#define GRADIO_FLG_PRESSED (0x00000001<<0)
|
||||
#define GRADIO_FLG_PRESSED 0x01
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
|
|
@ -50,7 +50,7 @@ typedef struct GEventGWinSlider {
|
|||
* @note Used only for writing a custom draw routine.
|
||||
* @{
|
||||
*/
|
||||
#define GSLIDER_FLG_EXTENDED_EVENTS (0x00000001<<0)
|
||||
#define GSLIDER_FLG_EXTENDED_EVENTS 0x01
|
||||
/** @} */
|
||||
|
||||
// A slider window
|
||||
|
|
Loading…
Add table
Reference in a new issue