aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/sys_options.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-05-01 13:57:44 +1000
committerinmarket <andrewh@inmarket.com.au>2014-05-01 13:57:44 +1000
commitef0a1ef054d100eace7cc58941b27c2d5ed67518 (patch)
treebd4bb2aac9cbff05f921db1f9f2a6c2612d9489c /src/gwin/sys_options.h
parent96cec5349a40bb55b9c65e19234234d2ab197b48 (diff)
downloaduGFX-ef0a1ef054d100eace7cc58941b27c2d5ed67518.tar.gz
uGFX-ef0a1ef054d100eace7cc58941b27c2d5ed67518.tar.bz2
uGFX-ef0a1ef054d100eace7cc58941b27c2d5ed67518.zip
Much improved appearance for buttons and tabs.
Also add GWIN_FLAT_STYLING to allow low color (eg monochrome) displays to get the old simplified look.
Diffstat (limited to 'src/gwin/sys_options.h')
-rw-r--r--src/gwin/sys_options.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gwin/sys_options.h b/src/gwin/sys_options.h
index 656e0e3f..aa296026 100644
--- a/src/gwin/sys_options.h
+++ b/src/gwin/sys_options.h
@@ -99,6 +99,15 @@
* @{
*/
/**
+ * @brief Use flat styling for controls rather than a 3D look
+ * @details Defaults to FALSE
+ * @note This may appear better on color-restricted displays
+ * @note Flat styling is less graphics and cpu intensive (marginally) than the default 3D look.
+ */
+ #ifndef GWIN_FLAT_STYLING
+ #define GWIN_FLAT_STYLING FALSE
+ #endif
+ /**
* @brief Buttons should not insist the mouse is over the button on mouse release
* @details Defaults to FALSE
*/