diff options
author | inmarket <andrewh@inmarket.com.au> | 2016-02-17 20:00:23 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2016-02-17 20:00:23 +1000 |
commit | addbf47bdbc0c0ca9b217c9001b31e747c57ff95 (patch) | |
tree | 09d3ce25c79352a025857133258e33e3ac6e62db /src/gwin/gwin_frame.c | |
parent | 0f0964da99e5774504f6f9ee570813075194303d (diff) | |
download | uGFX-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_frame.c')
-rw-r--r-- | src/gwin/gwin_frame.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gwin/gwin_frame.c b/src/gwin/gwin_frame.c index a9abbb9b..9aed4c06 100644 --- a/src/gwin/gwin_frame.c +++ b/src/gwin/gwin_frame.c @@ -29,10 +29,7 @@ /* Internal state flags */ #define GWIN_FRAME_USER_FLAGS (GWIN_FRAME_CLOSE_BTN|GWIN_FRAME_MINMAX_BTN|GWIN_FRAME_KEEPONCLOSE) -#define GWIN_FRAME_CLOSE_PRESSED (GWIN_FRAME_KEEPONCLOSE << 1) -#define GWIN_FRAME_MIN_PRESSED (GWIN_FRAME_KEEPONCLOSE << 2) -#define GWIN_FRAME_MAX_PRESSED (GWIN_FRAME_KEEPONCLOSE << 3) -#define GWIN_FRAME_REDRAW_FRAME (GWIN_FRAME_KEEPONCLOSE << 4) // Only redraw the frame + #if GWIN_FRAME_CLOSE_BTN < GWIN_FIRST_CONTROL_FLAG #error "GWIN Frame: - Flag definitions don't match" #endif |