Add initial orientation to the widgets demo.
This commit is contained in:
parent
6ad2ecf818
commit
7ba622b797
@ -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…
Reference in New Issue
Block a user