diff options
author | inmarket <andrewh@inmarket.com.au> | 2013-08-01 18:12:58 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-08-01 18:12:58 +1000 |
commit | ac2baed7e5d733ca93efb25e8795687ffa6e394c (patch) | |
tree | 6dd33cd41987d60f4b588e2229ba664c5e438654 | |
parent | 2e91479bd576160b475cc63d1f43cc119d90e187 (diff) | |
download | uGFX-ac2baed7e5d733ca93efb25e8795687ffa6e394c.tar.gz uGFX-ac2baed7e5d733ca93efb25e8795687ffa6e394c.tar.bz2 uGFX-ac2baed7e5d733ca93efb25e8795687ffa6e394c.zip |
Update widget demo so list 3 is multi-select
-rw-r--r-- | demos/modules/gwin/widgets/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/modules/gwin/widgets/main.c b/demos/modules/gwin/widgets/main.c index 5f780193..2daffee3 100644 --- a/demos/modules/gwin/widgets/main.c +++ b/demos/modules/gwin/widgets/main.c @@ -181,7 +181,7 @@ static void createWidgets(void) { gwinListAddItem(ghList2, "Item 8", FALSE); gwinListAddItem(ghList2, "Item 9", FALSE); gwinListAddItem(ghList2, "Item 10", FALSE); gwinListAddItem(ghList2, "Item 11", FALSE); gwinListAddItem(ghList2, "Item 12", FALSE); gwinListAddItem(ghList2, "Item 13", FALSE); - wi.g.x = 0+2*(LIST_WIDTH+1); wi.text = "L3"; ghList3 = gwinListCreate(NULL, &wi, FALSE); + wi.g.x = 0+2*(LIST_WIDTH+1); wi.text = "L3"; ghList3 = gwinListCreate(NULL, &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); |