aboutsummaryrefslogtreecommitdiffstats
path: root/demos/applications/combo/gfxconf.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2015-10-06 12:10:11 +1000
committerinmarket <andrewh@inmarket.com.au>2015-10-06 12:10:11 +1000
commit80299276b7134693a6f02fb8fa791d0a15ed1eab (patch)
treee1824bd6b9aa27a71372f67c6a0f96b9f625abd7 /demos/applications/combo/gfxconf.h
parent754d2e072b51bc43c72a37d46e22337d594f18dc (diff)
parenta35ee53d0a28cb0b6b61944a1ed698a0cef85839 (diff)
downloaduGFX-80299276b7134693a6f02fb8fa791d0a15ed1eab.tar.gz
uGFX-80299276b7134693a6f02fb8fa791d0a15ed1eab.tar.bz2
uGFX-80299276b7134693a6f02fb8fa791d0a15ed1eab.zip
Merge branch 'master' into TextEdit
Diffstat (limited to 'demos/applications/combo/gfxconf.h')
-rw-r--r--demos/applications/combo/gfxconf.h126
1 files changed, 126 insertions, 0 deletions
diff --git a/demos/applications/combo/gfxconf.h b/demos/applications/combo/gfxconf.h
new file mode 100644
index 00000000..fcf7f96a
--- /dev/null
+++ b/demos/applications/combo/gfxconf.h
@@ -0,0 +1,126 @@
+/**
+ * This file has a different license to the rest of the uGFX system.
+ * You can copy, modify and distribute this file as you see fit.
+ * You do not need to publish your source modifications to this file.
+ * The only thing you are not permitted to do is to relicense it
+ * under a different license.
+ */
+
+/**
+ * Copy this file into your project directory and rename it as gfxconf.h
+ * Edit your copy to turn on the uGFX features you want to use.
+ * The values below are the defaults. You should delete anything
+ * you are leaving as default.
+ *
+ * Please use spaces instead of tabs in this file.
+ */
+
+#ifndef _GFXCONF_H
+#define _GFXCONF_H
+
+/* The operating system to use. One of these must be defined - preferably in your Makefile */
+//#define GFX_USE_OS_CHIBIOS TRUE
+//#define GFX_USE_OS_WIN32 TRUE
+//#define GFX_USE_OS_LINUX TRUE
+//#define GFX_USE_OS_OSX TRUE
+
+
+///////////////////////////////////////////////////////////////////////////
+// GDISP //
+///////////////////////////////////////////////////////////////////////////
+#define GFX_USE_GDISP TRUE
+
+#define GDISP_NEED_VALIDATION TRUE
+#define GDISP_NEED_CLIP TRUE
+#define GDISP_NEED_CIRCLE TRUE
+#define GDISP_NEED_CONVEX_POLYGON TRUE
+//#define GDISP_NEED_SCROLL TRUE
+#define GDISP_NEED_CONTROL TRUE
+#define GDISP_NEED_TEXT TRUE
+ #define GDISP_INCLUDE_FONT_UI2 TRUE
+#define GDISP_NEED_STREAMING TRUE
+
+#define GDISP_NEED_IMAGE TRUE
+ #define GDISP_NEED_IMAGE_GIF TRUE
+
+#define GDISP_DEFAULT_ORIENTATION GDISP_ROTATE_LANDSCAPE
+#define GDISP_NEED_MULTITHREAD TRUE
+
+///////////////////////////////////////////////////////////////////////////
+// GWIN //
+///////////////////////////////////////////////////////////////////////////
+#define GFX_USE_GWIN TRUE
+
+#define GWIN_NEED_WINDOWMANAGER TRUE
+ #define GWIN_NEED_FLASHING TRUE
+
+#define GWIN_NEED_CONSOLE TRUE
+ #define GWIN_CONSOLE_USE_HISTORY TRUE
+ #define GWIN_CONSOLE_HISTORY_AVERAGING TRUE
+ #define GWIN_CONSOLE_HISTORY_ATCREATE TRUE
+#define GWIN_NEED_GRAPH TRUE
+
+#define GWIN_NEED_WIDGET TRUE
+ #define GWIN_NEED_LABEL TRUE
+ #define GWIN_LABEL_ATTRIBUTE TRUE
+ #define GWIN_NEED_BUTTON TRUE
+// #define GWIN_BUTTON_LAZY_RELEASE TRUE
+ #define GWIN_NEED_SLIDER TRUE
+ #define GWIN_NEED_CHECKBOX TRUE
+ #define GWIN_NEED_IMAGE TRUE
+ #define GWIN_NEED_RADIO TRUE
+ #define GWIN_NEED_LIST TRUE
+ #define GWIN_NEED_LIST_IMAGES TRUE
+ #define GWIN_NEED_PROGRESSBAR TRUE
+ #define GWIN_PROGRESSBAR_AUTO TRUE
+
+#define GWIN_NEED_CONTAINERS TRUE
+ #define GWIN_NEED_CONTAINER TRUE
+
+#define GWIN_NEED_TABSET TRUE
+
+///////////////////////////////////////////////////////////////////////////
+// GEVENT //
+///////////////////////////////////////////////////////////////////////////
+#define GFX_USE_GEVENT TRUE
+
+///////////////////////////////////////////////////////////////////////////
+// GTIMER //
+///////////////////////////////////////////////////////////////////////////
+#define GFX_USE_GTIMER TRUE
+
+///////////////////////////////////////////////////////////////////////////
+// GQUEUE //
+///////////////////////////////////////////////////////////////////////////
+#define GFX_USE_GQUEUE TRUE
+
+#define GQUEUE_NEED_ASYNC TRUE
+
+///////////////////////////////////////////////////////////////////////////
+// GINPUT //
+///////////////////////////////////////////////////////////////////////////
+#define GFX_USE_GINPUT TRUE
+
+#define GINPUT_NEED_MOUSE TRUE
+//#define GINPUT_NEED_TOGGLE TRUE
+//#define GINPUT_NEED_DIAL TRUE
+
+///////////////////////////////////////////////////////////////////////////
+// GFILE //
+///////////////////////////////////////////////////////////////////////////
+#define GFX_USE_GFILE TRUE
+
+#define GFILE_NEED_PRINTG TRUE
+#define GFILE_NEED_STRINGS TRUE
+
+#define GFILE_NEED_ROMFS TRUE
+//#define GFILE_NEED_NATIVEFS TRUE
+
+///////////////////////////////////////////////////////////////////////////
+// GMISC //
+///////////////////////////////////////////////////////////////////////////
+#define GFX_USE_GMISC TRUE
+#define GMISC_NEED_INVSQRT TRUE
+
+
+#endif /* _GFXCONF_H */