This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#11925 - Add a proper "current screen" system
Attached to Project:
Rockbox
Opened by Jonathan Gordon (jdgordon) - Friday, 11 February 2011, 01:10 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Wednesday, 01 June 2011, 16:42 GMT+2
Opened by Jonathan Gordon (jdgordon) - Friday, 11 February 2011, 01:10 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Wednesday, 01 June 2011, 16:42 GMT+2
|
DetailsThis patch makes adds a very simple system so themers can know exactly which screen it is in (to mangle the sbs as required).
This first patch is untested and only adds the browsers and quickscreen. others can be added if this is wanted/works. All that is needed to do to add a new screen is add the screen to the enum at the bottom of misc.h, then when entering the screen call push_current_screen() and when exiting call pop_current_screen(). |
This task depends upon
Closed by Jonathan Gordon (jdgordon)
Wednesday, 01 June 2011, 16:42 GMT+2
Reason for closing: Accepted
Additional comments about closing: r29944
Wednesday, 01 June 2011, 16:42 GMT+2
Reason for closing: Accepted
Additional comments about closing: r29944
Add tester .sbs and this one compiles :)
update to add a bunch more screens... want to commit soon... need a better enum prefix than SCREEN_
fix the ordering so %cs tag doesnt change the order