summaryrefslogtreecommitdiff
path: root/apps/screens.c
AgeCommit message (Collapse)Author
2011-07-23imx233/fuze+: huge reworkAmaury Pouly
- enable MMU -rework lcd frame buffer - add rtc/adc/power stubs (or not) - fix a few MMC related defines (hopefully) - implement cache handling for DMA - more SD work - add keymap (based on clip) - add virtual buttons - update linker scripts - big step toward apps actually compiling git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30200 a1c6a512-1295-4272-9138-f99709370657
2011-04-04Rework parts of the replaygain code to be able to differentiate between 0.00 ↵Andree Buschmann
dB set intentionally and having no replaygain information at all. Bump codec api. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29679 a1c6a512-1295-4272-9138-f99709370657
2011-02-24FS#11964. Rework replaygain handling to save metadata buffer and binsize. ↵Andree Buschmann
Remove string representation of replaygain and use a dedicated ftoa implementation for WPS/screen info. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29388 a1c6a512-1295-4272-9138-f99709370657
2011-02-20FS#11939: Simplify talk_time_unit().Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29347 a1c6a512-1295-4272-9138-f99709370657
2011-02-15Undo unwanted commit r29310.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29311 a1c6a512-1295-4272-9138-f99709370657
2011-02-15All AAC-HE files will double the frame sample count, not only AAC-HE files ↵Andree Buschmann
with SBR upsampling. This change fixes issues with some m4a files reported in the forums. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29310 a1c6a512-1295-4272-9138-f99709370657
2011-02-13Explicitly say 'minutes' when speaking the runtime, fixes FS#11934.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29299 a1c6a512-1295-4272-9138-f99709370657
2010-12-24Add "file size" to the track information screen of WPS.Mustapha Senhaji
Reuse "LANG_FILE_SIZE" from recording settings, with now a unified "LANG_FILESIZE" string. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28886 a1c6a512-1295-4272-9138-f99709370657
2010-05-30fix red. no replaygain on hwcodecJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26410 a1c6a512-1295-4272-9138-f99709370657
2010-05-30Accept FS#11313 by Chris Savery. Add composer to the track info screen and ↵Jonathan Gordon
some general cleen up. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26409 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Move c/h files implementing/defining standard library stuff into a new libc ↵Thomas Martitz
directory, also standard'ify some parts of the code base (almost entirely #include fixes). This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
2010-05-05Remove unneeded include from screens.cJeffrey Goode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25828 a1c6a512-1295-4272-9138-f99709370657
2010-02-27Fix System/Running Time to reset the running time whenever a charger or USB ↵Michael Giacomelli
cable is inserted, not just when the cable is inserted in the running time screen. Should now make the running time actually be the amount of time rockbox has run since the battery was last charged, which is as far as I can tell the original idea behind the runtime menu. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24954 a1c6a512-1295-4272-9138-f99709370657
2010-02-18NULL check so it doesnt display (null) on the comment lineJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24744 a1c6a512-1295-4272-9138-f99709370657
2010-02-18bandaid fix for FS#11033 where a really long comment crashes. Real fix is ↵Jonathan Gordon
figuring out why the scroll engine doesnt handle this properly (I give up though) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24743 a1c6a512-1295-4272-9138-f99709370657
2010-02-11fix text scrolling handling in do_menu, set_time_screen and time_screen.Teruaki Kawashima
Don't scroll text in time_screen(). the lines will be redrawn before scrolling statrs, so they don't scroll anyway. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24591 a1c6a512-1295-4272-9138-f99709370657
2009-12-21fix FS#10870 - slightly change the viewportmanager theme undo-er to be able ↵Jonathan Gordon
to force an update even if the theme isnt being toggled from off to on which caused WPS artifacts when leaving the WPS if the theme was enabled git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24087 a1c6a512-1295-4272-9138-f99709370657
2009-12-09FS#10824 - viewport/statusbar API rework.Jonathan Gordon
Hopefully the only user visible changes are: - fm and recording screens go by the statusbar setting (sbs or inbuilt) - plugins go back to using the theme as they should for menus and lists - splash screens might get cut a bit... entirely theme and splash dependant.. if there is a problematic one we can look at it later. - hopefully nothing more than very minor screen flickerings... let me know exactly where they are so they can be fixed New GUI screen rules: * Screens assume that the theme (sbs+ui viewport+ maybe background image) are always enabled. They may be disabled on a per display basis, but MUST be re-enabled on exit * Screens must not be coded in a way that requires a statusbar of any type.. the inbuilt bar will be removed shortly. ALWAYS RESPECT THE USERS SETTINGS unless the screen requires the full display to fit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23904 a1c6a512-1295-4272-9138-f99709370657
2009-11-04Fix hiding the status bar in the touchscreen calibration screen.Rob Purchase
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23530 a1c6a512-1295-4272-9138-f99709370657
2009-11-04Ensure touchscreen calibration setting is saved after change or reset.Rob Purchase
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23529 a1c6a512-1295-4272-9138-f99709370657
2009-10-31Remove square brackets from the ID3 Viewer related language strings and ↵Thomas Martitz
generate them at runtime. This makes these lang strings actually usable for WPSes using the %Sx tag. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23434 a1c6a512-1295-4272-9138-f99709370657
2009-10-23FS#10704 - Make a configuration option to disable USB HID Tomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23322 a1c6a512-1295-4272-9138-f99709370657
2009-10-19Remove redundant ata_mmc.h include in screens.cTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23279 a1c6a512-1295-4272-9138-f99709370657
2009-10-19Fix red: Too aggressive exclusion of includesTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23274 a1c6a512-1295-4272-9138-f99709370657
2009-10-19Extract usb_screen logic out of screens.c into apps/gui/usb_screen.cTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23273 a1c6a512-1295-4272-9138-f99709370657
2009-10-19FS#10692 - Viewpority USB screen Tomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23269 a1c6a512-1295-4272-9138-f99709370657
2009-10-18Use pointer instead of multiple access to arrayTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23249 a1c6a512-1295-4272-9138-f99709370657
2009-10-17Revise r23225 a bit, removing the debug_printf function and implementing ↵Nils Wallménius
more generic lcd_(remote)_putsf function(s) instead and use those in more places git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23233 a1c6a512-1295-4272-9138-f99709370657
2009-10-17USB HID: Use different context for each mode; Use constant for each action;Tomer Shalev
Rework keymaps This commit makes the code neater and more readable. It makes it easier to modify keymap assignments and new keypad modes. Some platforms had their keypad mappings reworked. The manual is updated to reflect all these changes. H10 remote control mapping dropped. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23219 a1c6a512-1295-4272-9138-f99709370657
2009-10-12fix yellowNils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23135 a1c6a512-1295-4272-9138-f99709370657
2009-10-12Fix typo from r19579 that prevented this code from building, avoid copying ↵Nils Wallménius
lang strings git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23134 a1c6a512-1295-4272-9138-f99709370657
2009-10-06Set time screen now supports RTLTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22987 a1c6a512-1295-4272-9138-f99709370657
2009-10-06Use pointer to screenTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22981 a1c6a512-1295-4272-9138-f99709370657
2009-10-06Use pointer to viewportTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22980 a1c6a512-1295-4272-9138-f99709370657
2009-10-04Remove USB mode displaying in non lcd-bitmap targets, as there are no such ↵Tomer Shalev
target which use USB HID git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22921 a1c6a512-1295-4272-9138-f99709370657
2009-10-04Fix yellowTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22916 a1c6a512-1295-4272-9138-f99709370657
2009-10-04Move definition of mode_name outside #ifdefTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22915 a1c6a512-1295-4272-9138-f99709370657
2009-10-04Remove 'USB Keypad Mode' from USB screen, and instead use 'Multimedia Mode',Tomer Shalev
'Presentation Mode', etc. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22911 a1c6a512-1295-4272-9138-f99709370657
2009-09-30Fix red of r22852Tomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22853 a1c6a512-1295-4272-9138-f99709370657
2009-09-30Commit "FS#10468 - USB HID: Show keypad mode on screen"Tomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22852 a1c6a512-1295-4272-9138-f99709370657
2009-09-27Clean up duplicate #includesBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22845 a1c6a512-1295-4272-9138-f99709370657
2009-08-29Fix up statusbar handling in the usb screen a bit more, using the ↵Thomas Martitz
GUI_EVENT_ACTIONUPDATE event instead of direct draw (with the custom statusbar patch in my mind), actually fix statusbar updates for the simulator version of the usb screen. Increase timeouts a bit too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22540 a1c6a512-1295-4272-9138-f99709370657
2009-08-29Move a line up into the existing FOR_NB_SCREENS loop and add a comment.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22535 a1c6a512-1295-4272-9138-f99709370657
2009-08-29More fixes for the usb screen: Use send_event(GUI_EVENT_REFRESH, NULL) to ↵Thomas Martitz
get rid of dead parts if the custom ui viewport is used as intended (it also redraws the statusbars additionally to clear&update). Redo the the statusbar handling to use the viewportmanager to properly force the remote statusbar on also. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22534 a1c6a512-1295-4272-9138-f99709370657
2009-08-29Clear screen when leave usb screen so that usblogo doesn't remain on the screen.Teruaki Kawashima
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22531 a1c6a512-1295-4272-9138-f99709370657
2009-08-20Make the formatter functions used by the settings return a pointer to avoid ↵Nils Wallménius
usless copying of lang strings, this brought with it a long chain of const correctness and a few random cleanups git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22440 a1c6a512-1295-4272-9138-f99709370657
2009-08-20Fix type of variable statusbar in screens.c as global_settings.statusbar is ↵Teruaki Kawashima
integer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22439 a1c6a512-1295-4272-9138-f99709370657
2009-08-16Save a bit of binsize by using a more suitable datatype and making the array ↵Jens Arnold
static. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22349 a1c6a512-1295-4272-9138-f99709370657
2009-08-11Consolidate day of week calculationFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22258 a1c6a512-1295-4272-9138-f99709370657
2009-08-06Add backdrop functions to the multiscreen api and add a enum backdrop_type ↵Thomas Martitz
parameter for different backdrops (main, wps), symplifying calls and removing dozens of #ifdefs (stubs added for non-backdrop displays that can't do backdrops). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22176 a1c6a512-1295-4272-9138-f99709370657