diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-02-07 14:08:39 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-02-07 14:08:39 +1000 |
commit | 010e0f0d626b0f03cec9e8dd876762acb38fafc3 (patch) | |
tree | aa9ae83251d2afe98c15e70b02e3b7fe05e93c3b /demos/modules/gwin/widgets/main.c | |
parent | bd4827922708efc85c878ebd17ca6a8c88bc75b5 (diff) | |
download | uGFX-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.c | 3 |
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); |