From c08c3b57a44e79e3901d60600add486851b75008 Mon Sep 17 00:00:00 2001 From: inmarket Date: Thu, 24 Oct 2013 16:52:17 +1000 Subject: [PATCH] Add initial orientation to the widgets demo. --- demos/modules/gwin/widgets/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/demos/modules/gwin/widgets/main.c b/demos/modules/gwin/widgets/main.c index 31b65a65..0dec7275 100644 --- a/demos/modules/gwin/widgets/main.c +++ b/demos/modules/gwin/widgets/main.c @@ -262,6 +262,10 @@ int main(void) { // Initialize the display gfxInit(); + #if GDISP_NEED_CONTROL + gdispSetOrientation(GDISP_ROTATE_90); + #endif + // Set the widget defaults gwinSetDefaultFont(gdispOpenFont("*")); gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE);