redo the previous commit so its actually useful.
commita22f717f1b3adb36f2f1d26d25b2b99fc419ff98
authorjdgordon <jdgordon@a1c6a512-1295-4272-9138-f99709370657>
Thu, 25 Sep 2008 08:12:25 +0000 (25 08:12 +0000)
committerjdgordon <jdgordon@a1c6a512-1295-4272-9138-f99709370657>
Thu, 25 Sep 2008 08:12:25 +0000 (25 08:12 +0000)
tree8cc6e3e0aa3fb330c18f46159af8e1b2f14ace8d
parent3afec94bc9920d2ee20147f3c3edade847d7160c
redo the previous commit so its actually useful.
if the callback returns ACTION_STD_CANCEL when the user presses ACTION_STD_OK the simple list will exit and set the selection. Otherwise, when ACTION_STD_CANCEL happens the selection will be set to -1

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18641 a1c6a512-1295-4272-9138-f99709370657
apps/gui/list.c
apps/gui/list.h