Add initial orientation to the widgets demo.
This commit is contained in:
parent
d7b9fc55f5
commit
c08c3b57a4
1 changed files with 4 additions and 0 deletions
|
@ -262,6 +262,10 @@ int main(void) {
|
||||||
// Initialize the display
|
// Initialize the display
|
||||||
gfxInit();
|
gfxInit();
|
||||||
|
|
||||||
|
#if GDISP_NEED_CONTROL
|
||||||
|
gdispSetOrientation(GDISP_ROTATE_90);
|
||||||
|
#endif
|
||||||
|
|
||||||
// Set the widget defaults
|
// Set the widget defaults
|
||||||
gwinSetDefaultFont(gdispOpenFont("*"));
|
gwinSetDefaultFont(gdispOpenFont("*"));
|
||||||
gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE);
|
gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE);
|
||||||
|
|
Loading…
Add table
Reference in a new issue