This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#5795 - change the settings display and add groundwork for title in list widget
Attached to Project:
Rockbox
Opened by Jonathan Gordon (jdgordon) - Friday, 11 August 2006, 05:05 GMT+2
Opened by Jonathan Gordon (jdgordon) - Friday, 11 August 2006, 05:05 GMT+2
|
DetailsThis patch changes the settings display screen to use the list widget so you can see more than just the selected choice on the screen at once.
this change is only for the set_bool() and set_option() settings. I couldnt get the set_int() working correctly (and im not sure how well it would work in that screen anyway) This also adds a title to the list (I have not added the title to the rest of the code, so dont worry about losing screen space in the menu/browser just yet...) It compiles cleanly on h300 and player targets, but I havnt tested it on the player because SDL doesnt work atm, but it should work... |
This task depends upon
Couple of more minor nits
1. The list label isn't centered at the top of the screen. I think you'll need to calculate the actual string width instead of just relying on the display->char_width value.
2. Some settings don't have titles. Check Sound Settings -> Crossfeed -> High-Frequency Attenuation. Notice the lack of title.
pressing left will work once Linus commits the action stuff, i was too lazy to do the buttons properly.
and re the 2nd comments..
1) checking against the length is faster, which is why i did it this way, except on the char cell display->width is in cells not pixels(iirc) so that has to be changed
2. shows fine here, (h300)
- dont try to center the title on char cell display
- the int settings now use the list also
- apps/gui/select.[ch] is no longer needed, (i dont know how to tell patch to remove them)
this one is ready to go..