From 6ce59a4d7d09bd41032210f8f9c5611ee25dcc9e Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Sun, 16 Dec 2012 21:56:43 +0100 Subject: [PATCH] notepad demo update --- demos/applications/notepad/gfxconf.h | 2 +- demos/applications/notepad/main.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/demos/applications/notepad/gfxconf.h b/demos/applications/notepad/gfxconf.h index 64334447..45413580 100644 --- a/demos/applications/notepad/gfxconf.h +++ b/demos/applications/notepad/gfxconf.h @@ -25,7 +25,7 @@ #define GDISP_NEED_ARC FALSE #define GDISP_NEED_SCROLL FALSE #define GDISP_NEED_PIXELREAD FALSE -#define GDISP_NEED_CONTROL FALSE +#define GDISP_NEED_CONTROL TRUE #define GDISP_NEED_MULTITHREAD TRUE #define GDISP_NEED_ASYNC FALSE #define GDISP_NEED_MSGAPI FALSE diff --git a/demos/applications/notepad/main.c b/demos/applications/notepad/main.c index 71978488..919aaafc 100644 --- a/demos/applications/notepad/main.c +++ b/demos/applications/notepad/main.c @@ -75,6 +75,7 @@ int main(void) { gdispInit(); ginputGetMouse(0); + gdispSetOrientation(GDISP_ROTATE_90); drawScreen();