diff options
Diffstat (limited to 'demos/modules/gwin/widgets/main.c')
-rw-r--r-- | demos/modules/gwin/widgets/main.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/demos/modules/gwin/widgets/main.c b/demos/modules/gwin/widgets/main.c index ae40b612..17f87d46 100644 --- a/demos/modules/gwin/widgets/main.c +++ b/demos/modules/gwin/widgets/main.c @@ -258,7 +258,7 @@ static void createWidgets(void) { // Image wi.g.x = 20; wi.g.y = 2*TAB_HEIGHT+20; wi.g.width = 200; wi.g.height = 100; ghImage1 = gwinImageCreate(0, &wi.g); - gwinImageOpenFile(ghImage1, "romfs_img_ugfx.bmp"); + gwinImageOpenFile(ghImage1, "romfs_img_ugfx.gif"); // Progressbar wi.g.show = FALSE; wi.customDraw = 0; @@ -381,16 +381,16 @@ int main(void) { // Initialize the display gfxInit(); - // Set the widget defaults - gwinSetDefaultFont(gdispOpenFont("*")); - gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE); - gdispClear(White); - // Connect the mouse #if GINPUT_NEED_MOUSE gwinAttachMouse(0); #endif + // Set the widget defaults + gwinSetDefaultFont(gdispOpenFont("*")); + gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE); + gdispClear(White); + // Create the gwin windows/widgets createWidgets(); |