aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin_checkbox.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2016-02-17 20:00:23 +1000
committerinmarket <andrewh@inmarket.com.au>2016-02-17 20:00:23 +1000
commitaddbf47bdbc0c0ca9b217c9001b31e747c57ff95 (patch)
tree09d3ce25c79352a025857133258e33e3ac6e62db /src/gwin/gwin_checkbox.c
parent0f0964da99e5774504f6f9ee570813075194303d (diff)
downloaduGFX-addbf47bdbc0c0ca9b217c9001b31e747c57ff95.tar.gz
uGFX-addbf47bdbc0c0ca9b217c9001b31e747c57ff95.tar.bz2
uGFX-addbf47bdbc0c0ca9b217c9001b31e747c57ff95.zip
Move GWIN widget internal flags into the public header so that all the state flags are available for custom draw routines.
Diffstat (limited to 'src/gwin/gwin_checkbox.c')
-rw-r--r--src/gwin/gwin_checkbox.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gwin/gwin_checkbox.c b/src/gwin/gwin_checkbox.c
index 43d74f23..436a0806 100644
--- a/src/gwin/gwin_checkbox.c
+++ b/src/gwin/gwin_checkbox.c
@@ -20,9 +20,6 @@
#define CHK_TOP_FADE 50 // (CHK_TOP_FADE/255)% fade to white for top of button
#define CHK_BOTTOM_FADE 25 // (CHK_BOTTOM_FADE/255)% fade to black for bottom of button
-// Our checked state
-#define GCHECKBOX_FLG_CHECKED (GWIN_FIRST_CONTROL_FLAG<<0)
-
// Send the checkbox event
static void SendCheckboxEvent(GWidgetObject *gw) {
GSourceListener * psl;