aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-11-09 19:18:59 +1000
committerinmarket <andrewh@inmarket.com.au>2013-11-09 19:18:59 +1000
commit1f99d5c9fac79e3e9aa4ebff97b296b6dcb9c9a7 (patch)
treefb498bc169bbf76750348f6a900df5adfb6bb7c9 /demos/modules/gwin
parentdaa4e8bbd78ebe4a84234de266006d1a23697657 (diff)
downloaduGFX-1f99d5c9fac79e3e9aa4ebff97b296b6dcb9c9a7.tar.gz
uGFX-1f99d5c9fac79e3e9aa4ebff97b296b6dcb9c9a7.tar.bz2
uGFX-1f99d5c9fac79e3e9aa4ebff97b296b6dcb9c9a7.zip
Add support for a default application orientation.
Also remove old unneeded GDISP_USE_CUSTOM_BOARD macro
Diffstat (limited to 'demos/modules/gwin')
-rw-r--r--demos/modules/gwin/widgets/gfxconf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/modules/gwin/widgets/gfxconf.h b/demos/modules/gwin/widgets/gfxconf.h
index 7899bfb8..111979e3 100644
--- a/demos/modules/gwin/widgets/gfxconf.h
+++ b/demos/modules/gwin/widgets/gfxconf.h
@@ -50,10 +50,11 @@
#define GDISP_NEED_TEXT TRUE
#define GDISP_NEED_IMAGE TRUE
#define GDISP_NEED_CONVEX_POLYGON TRUE
+#define GDISP_NEED_CONTROL TRUE
+#define GDISP_DEFAULT_ORIENTATION GDISP_ROTATE_LANDSCAPE
/* The following are optional depending on your hardware */
//#define GDISP_NEED_SCROLL TRUE
-//#define GDISP_NEED_CONTROL TRUE
/* GDISP fonts to include */
#define GDISP_INCLUDE_FONT_UI2 TRUE