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_label.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_label.c')
-rw-r--r-- | src/gwin/gwin_label.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gwin/gwin_label.c b/src/gwin/gwin_label.c index e6b4e986..e6e31eec 100644 --- a/src/gwin/gwin_label.c +++ b/src/gwin/gwin_label.c @@ -20,11 +20,6 @@ #define gh2obj ((GLabelObject *)gh) #define gw2obj ((GLabelObject *)gw) -// flags for the GLabelObject -#define GLABEL_FLG_WAUTO (GWIN_FIRST_CONTROL_FLAG << 0) -#define GLABEL_FLG_HAUTO (GWIN_FIRST_CONTROL_FLAG << 1) -#define GLABEL_FLG_BORDER (GWIN_FIRST_CONTROL_FLAG << 2) - // simple: single line with no wrapping static coord_t getwidth(const char *text, font_t font, coord_t maxwidth) { (void) maxwidth; |