aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/widgets/main.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-02-07 14:08:39 +1000
committerinmarket <andrewh@inmarket.com.au>2014-02-07 14:08:39 +1000
commit010e0f0d626b0f03cec9e8dd876762acb38fafc3 (patch)
treeaa9ae83251d2afe98c15e70b02e3b7fe05e93c3b /demos/modules/gwin/widgets/main.c
parentbd4827922708efc85c878ebd17ca6a8c88bc75b5 (diff)
downloaduGFX-010e0f0d626b0f03cec9e8dd876762acb38fafc3.tar.gz
uGFX-010e0f0d626b0f03cec9e8dd876762acb38fafc3.tar.bz2
uGFX-010e0f0d626b0f03cec9e8dd876762acb38fafc3.zip
Update demo's with images in them
Diffstat (limited to 'demos/modules/gwin/widgets/main.c')
-rw-r--r--demos/modules/gwin/widgets/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/demos/modules/gwin/widgets/main.c b/demos/modules/gwin/widgets/main.c
index af2926d7..80c39dd9 100644
--- a/demos/modules/gwin/widgets/main.c
+++ b/demos/modules/gwin/widgets/main.c
@@ -184,8 +184,7 @@ static void createWidgets(void) {
wi.g.x = 0+2*(LIST_WIDTH+1); wi.text = "L3"; ghList3 = gwinListCreate(0, &wi, TRUE);
gwinListAddItem(ghList3, "Item 0", FALSE); gwinListAddItem(ghList3, "Item 1", FALSE);
gwinListAddItem(ghList3, "Item 2", FALSE); gwinListAddItem(ghList3, "Item 3", FALSE);
- gdispImageSetMemoryReader(&imgYesNo, image_yesno);
- gdispImageOpen(&imgYesNo);
+ gdispImageOpenMemory(&imgYesNo, image_yesno);
gwinListItemSetImage(ghList3, 1, &imgYesNo);
gwinListItemSetImage(ghList3, 3, &imgYesNo);