aboutsummaryrefslogtreecommitdiffstats
path: root/demos/tools/uGFXnetDisplay/gfxconf.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-11-14 09:10:59 +1000
committerinmarket <andrewh@inmarket.com.au>2014-11-14 09:10:59 +1000
commit93c9ebaa793d96147784e061102fec3423584fc0 (patch)
tree2be19e5c602dcc622a2ff411bb0d8698498c5d9c /demos/tools/uGFXnetDisplay/gfxconf.h
parent6bc091035a08f58eb6c60e7cceb01ef29e655e07 (diff)
downloaduGFX-93c9ebaa793d96147784e061102fec3423584fc0.tar.gz
uGFX-93c9ebaa793d96147784e061102fec3423584fc0.tar.bz2
uGFX-93c9ebaa793d96147784e061102fec3423584fc0.zip
Move the uGFX based tools into a sub-directory of demos so they can be compiled using the standard build system facility for building demo's.
Diffstat (limited to 'demos/tools/uGFXnetDisplay/gfxconf.h')
-rw-r--r--demos/tools/uGFXnetDisplay/gfxconf.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/demos/tools/uGFXnetDisplay/gfxconf.h b/demos/tools/uGFXnetDisplay/gfxconf.h
new file mode 100644
index 00000000..4df44bc4
--- /dev/null
+++ b/demos/tools/uGFXnetDisplay/gfxconf.h
@@ -0,0 +1,41 @@
+/*
+ * This file is subject to the terms of the GFX License. If a copy of
+ * the license was not distributed with this file, you can obtain one at:
+ *
+ * http://ugfx.org/license.html
+ */
+
+#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 FALSE
+//#define GFX_USE_OS_WIN32 FALSE
+//#define GFX_USE_OS_LINUX FALSE
+//#define GFX_USE_OS_OSX FALSE
+
+/* GFX sub-systems to turn on */
+#define GFX_USE_GDISP TRUE
+#define GFX_USE_GEVENT TRUE
+#define GFX_USE_GTIMER TRUE
+#define GFX_USE_GINPUT TRUE
+
+/* Features for the GDISP sub-system. */
+#define GDISP_NEED_VALIDATION TRUE
+#define GDISP_NEED_TEXT TRUE
+#define GDISP_NEED_CONTROL TRUE
+#define GDISP_NEED_SCROLL TRUE
+#define GDISP_NEED_PIXELREAD TRUE
+#define GDISP_NEED_STREAMING TRUE
+
+/* Builtin Fonts */
+#define GDISP_INCLUDE_FONT_UI2 TRUE
+
+/* Features for the GINPUT sub-system. */
+#define GINPUT_NEED_MOUSE TRUE
+
+/* We need to use this specific pixel format to match the network protocol */
+#define GDISP_PIXELFORMAT GDISP_PIXELFORMAT_RGB565
+
+#endif /* _GFXCONF_H */
+