Oops, didn't think of that.pcklee123 posted on Oct 24 2006 at 01:30 AM said:I am trying this out. So when I press start,L,R , I call menu()Alvin posted on Oct 23 2006 at 03:37 PM said:
which has has mt_add_items etc .. an ends with mt_start_menu(listthing ......); return 0;
I get the menu and can select the options etc but cant seem to quit out of this menu
http://digital-haze.net/files/libmenuthing...ng-0.0.2.tar.gz
Updated, removed a few bits of output that were left from debugging and made START make mt_start_menu() return. If you don't like start, give me a shout or recompile it yourself.
If you use this, I'll make it easier to use and have labels and such too.
It's not very good for ROM listing at the moment, everything else should be fine though. You could cheat with ROM listing anyway, but it doesn't scroll, it just goes off the surface (and does whatever SDL does when it draws out of a surface's boundaries).
Glad someone found use for this
Edit: Just remembered, it doesn't return when it selects, however it doesn't thread the function either, so it should be fine, unless that's what you meant.
Last edited by a moderator: