aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/console
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-08-17 23:35:18 +1000
committerinmarket <andrewh@inmarket.com.au>2013-08-17 23:35:18 +1000
commitbbdbd637f00348357fb7919adfe8a3f406f1451d (patch)
treeb3787cf796cff116290d7b792cb987935b3aea67 /demos/modules/gwin/console
parent0e707769b41167f24a7dabcec735191b3d243c25 (diff)
downloaduGFX-bbdbd637f00348357fb7919adfe8a3f406f1451d.tar.gz
uGFX-bbdbd637f00348357fb7919adfe8a3f406f1451d.tar.bz2
uGFX-bbdbd637f00348357fb7919adfe8a3f406f1451d.zip
Update old demos for new fonts.
Diffstat (limited to 'demos/modules/gwin/console')
-rw-r--r--demos/modules/gwin/console/gfxconf.h8
-rw-r--r--demos/modules/gwin/console/main.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/demos/modules/gwin/console/gfxconf.h b/demos/modules/gwin/console/gfxconf.h
index 97a26438..90dbc7cb 100644
--- a/demos/modules/gwin/console/gfxconf.h
+++ b/demos/modules/gwin/console/gfxconf.h
@@ -31,9 +31,9 @@
#define _GFXCONF_H
/* The operating system to use - one of these must be defined */
-#define GFX_USE_OS_CHIBIOS TRUE
-#define GFX_USE_OS_WIN32 FALSE
-#define GFX_USE_OS_POSIX FALSE
+//#define GFX_USE_OS_CHIBIOS FALSE
+//#define GFX_USE_OS_WIN32 FALSE
+//#define GFX_USE_OS_POSIX FALSE
/* GFX sub-systems to turn on */
#define GFX_USE_GDISP TRUE
@@ -54,7 +54,7 @@
#define GDISP_NEED_MSGAPI FALSE
/* Builtin Fonts */
-#define GDISP_INCLUDE_FONT_SMALL TRUE
+#define GDISP_INCLUDE_FONT_SMALL FALSE
#define GDISP_INCLUDE_FONT_LARGER FALSE
#define GDISP_INCLUDE_FONT_UI1 FALSE
#define GDISP_INCLUDE_FONT_UI2 TRUE
diff --git a/demos/modules/gwin/console/main.c b/demos/modules/gwin/console/main.c
index 197a8ad6..2175ce04 100644
--- a/demos/modules/gwin/console/main.c
+++ b/demos/modules/gwin/console/main.c
@@ -40,7 +40,7 @@ int main(void) {
gfxInit();
/* Set some fonts */
- font1 = gdispOpenFont("Small");
+ font1 = gdispOpenFont("UI2");
font2 = gdispOpenFont("UI2 Double");
gwinSetDefaultFont(font1);