aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/widgets/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/modules/gwin/widgets/main.c')
-rw-r--r--demos/modules/gwin/widgets/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/demos/modules/gwin/widgets/main.c b/demos/modules/gwin/widgets/main.c
index a9840174..aef312de 100644
--- a/demos/modules/gwin/widgets/main.c
+++ b/demos/modules/gwin/widgets/main.c
@@ -256,10 +256,9 @@ static void createWidgets(void) {
gwinListSetScroll(ghList4, scrollSmooth);
// Image
- wi.g.x = ScrWidth-210; wi.g.y = 2*TAB_HEIGHT + 10; wi.g.width = 200; wi.g.height = 200;
+ 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, "chibios.bmp");
- gwinImageCache(ghImage1);
+ gwinImageOpenFile(ghImage1, "romfs_img_ugfx.bmp");
// Progressbar
wi.g.show = FALSE; wi.customDraw = 0;