Björn Stenberg
2176fb38b6
Missed two spots.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30757 a1c6a512-1295-4272-9138-f99709370657
2011-10-15 19:47:59 +00:00
Björn Stenberg
0942e2a0f7
Changed the FOR_NB_SCREENS macro to always be a for loop that declares its own loop variable. This removes the need to declare this variable in the outer scope.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30756 a1c6a512-1295-4272-9138-f99709370657
2011-10-15 19:35:02 +00:00
Thomas Martitz
b779fcc3ed
Fix exit/return behavior in the id3 info screen.Fixes returning immediately on touchscreen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30727 a1c6a512-1295-4272-9138-f99709370657
2011-10-07 22:59:06 +00:00
Amaury Pouly
eb90d95693
imx233/fuze+: huge rework
...
- 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-07-23 11:45:22 +00:00
Andree Buschmann
d1766a1510
Rework parts of the replaygain code to be able to differentiate between 0.00 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-04-04 15:21:44 +00:00
Andree Buschmann
71ceac0b74
FS#11964. Rework replaygain handling to save metadata buffer and binsize. 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-24 19:10:59 +00:00
Andree Buschmann
460d54977a
FS#11939: Simplify talk_time_unit().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29347 a1c6a512-1295-4272-9138-f99709370657
2011-02-20 15:23:18 +00:00
Andree Buschmann
e3abdb1a52
Undo unwanted commit r29310.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29311 a1c6a512-1295-4272-9138-f99709370657
2011-02-15 20:10:50 +00:00
Andree Buschmann
237ca504e1
All AAC-HE files will double the frame sample count, not only AAC-HE files 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-15 20:00:28 +00:00
Andree Buschmann
46dbe3036c
Explicitly say 'minutes' when speaking the runtime, fixes FS#11934.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29299 a1c6a512-1295-4272-9138-f99709370657
2011-02-13 19:14:43 +00:00
Mustapha Senhaji
5e1e05f616
Add "file size" to the track information screen of WPS.
...
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-12-24 03:31:40 +00:00
Jonathan Gordon
92961503ff
fix red. no replaygain on hwcodec
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26410 a1c6a512-1295-4272-9138-f99709370657
2010-05-30 15:33:37 +00:00
Jonathan Gordon
1593b0557c
Accept FS#11313 by Chris Savery. Add composer to the track info screen and some general cleen up.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26409 a1c6a512-1295-4272-9138-f99709370657
2010-05-30 15:25:15 +00:00
Thomas Martitz
50a6ca39ad
Move c/h files implementing/defining standard library stuff into a new libc 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-06 21:04:40 +00:00
Jeffrey Goode
ccd113ab77
Remove unneeded include from screens.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25828 a1c6a512-1295-4272-9138-f99709370657
2010-05-05 14:38:28 +00:00
Michael Giacomelli
1fefb48e87
Fix System/Running Time to reset the running time whenever a charger or USB 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-27 22:47:49 +00:00
Jonathan Gordon
55b21c104f
NULL check so it doesnt display (null) on the comment line
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24744 a1c6a512-1295-4272-9138-f99709370657
2010-02-18 05:50:44 +00:00
Jonathan Gordon
c647e62c30
bandaid fix for FS#11033 where a really long comment crashes. Real fix is 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-18 05:43:51 +00:00
Teruaki Kawashima
93f9e7cbfb
fix text scrolling handling in do_menu, set_time_screen and time_screen.
...
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
2010-02-11 10:41:06 +00:00
Jonathan Gordon
9d1832cfba
fix FS#10870 - slightly change the viewportmanager theme undo-er to be able 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-21 05:19:12 +00:00
Jonathan Gordon
b2eb44ce0e
FS#10824 - viewport/statusbar API rework.
...
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-12-09 07:25:46 +00:00
Rob Purchase
aee58ef956
Fix hiding the status bar in the touchscreen calibration screen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23530 a1c6a512-1295-4272-9138-f99709370657
2009-11-04 23:57:37 +00:00
Rob Purchase
27f17877be
Ensure touchscreen calibration setting is saved after change or reset.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23529 a1c6a512-1295-4272-9138-f99709370657
2009-11-04 23:44:27 +00:00
Thomas Martitz
0bd45b3622
Remove square brackets from the ID3 Viewer related language strings and 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-31 12:40:20 +00:00
Tomer Shalev
83d24f89df
FS#10704 - Make a configuration option to disable USB HID
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23322 a1c6a512-1295-4272-9138-f99709370657
2009-10-23 13:29:19 +00:00
Tomer Shalev
6381fdc54d
Remove redundant ata_mmc.h include in screens.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23279 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 21:46:58 +00:00
Tomer Shalev
dc19343392
Fix red: Too aggressive exclusion of includes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23274 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 21:28:18 +00:00
Tomer Shalev
5d585f4b9b
Extract usb_screen logic out of screens.c into apps/gui/usb_screen.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23273 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 21:19:30 +00:00
Tomer Shalev
9ea3da8fda
FS#10692 - Viewpority USB screen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23269 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 20:06:51 +00:00
Tomer Shalev
3cc5345bc5
Use pointer instead of multiple access to array
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23249 a1c6a512-1295-4272-9138-f99709370657
2009-10-18 20:19:18 +00:00
Nils Wallménius
f34a841b0c
Revise r23225 a bit, removing the debug_printf function and implementing 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-17 18:02:48 +00:00
Tomer Shalev
4f3d7b5bcb
USB HID: Use different context for each mode; Use constant for each action;
...
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-17 05:39:54 +00:00
Nils Wallménius
e1439fa010
fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23135 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 18:47:33 +00:00
Nils Wallménius
efdbcc114c
Fix typo from r19579 that prevented this code from building, avoid copying lang strings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23134 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 18:11:37 +00:00
Tomer Shalev
71753a3290
Set time screen now supports RTL
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22987 a1c6a512-1295-4272-9138-f99709370657
2009-10-06 16:57:01 +00:00
Tomer Shalev
d996804600
Use pointer to screen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22981 a1c6a512-1295-4272-9138-f99709370657
2009-10-06 08:32:37 +00:00
Tomer Shalev
fafd18c0f2
Use pointer to viewport
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22980 a1c6a512-1295-4272-9138-f99709370657
2009-10-06 08:20:12 +00:00
Tomer Shalev
9d9fe03a35
Remove USB mode displaying in non lcd-bitmap targets, as there are no such target which use USB HID
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22921 a1c6a512-1295-4272-9138-f99709370657
2009-10-04 16:12:34 +00:00
Tomer Shalev
de45938554
Fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22916 a1c6a512-1295-4272-9138-f99709370657
2009-10-04 14:23:55 +00:00
Tomer Shalev
bcaa113179
Move definition of mode_name outside #ifdef
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22915 a1c6a512-1295-4272-9138-f99709370657
2009-10-04 14:16:32 +00:00
Tomer Shalev
753ca717b4
Remove 'USB Keypad Mode' from USB screen, and instead use 'Multimedia Mode',
...
'Presentation Mode', etc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22911 a1c6a512-1295-4272-9138-f99709370657
2009-10-04 05:57:11 +00:00
Tomer Shalev
7d22099f2b
Fix red of r22852
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22853 a1c6a512-1295-4272-9138-f99709370657
2009-09-30 10:32:21 +00:00
Tomer Shalev
8c5141b32e
Commit "FS#10468 - USB HID: Show keypad mode on screen"
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22852 a1c6a512-1295-4272-9138-f99709370657
2009-09-30 10:06:04 +00:00
Bertrik Sikken
69b40e704d
Clean up duplicate #includes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22845 a1c6a512-1295-4272-9138-f99709370657
2009-09-27 14:46:44 +00:00
Thomas Martitz
1a28d40335
Fix up statusbar handling in the usb screen a bit more, using the 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-29 17:41:00 +00:00
Thomas Martitz
1dec3e6772
Move a line up into the existing FOR_NB_SCREENS loop and add a comment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22535 a1c6a512-1295-4272-9138-f99709370657
2009-08-29 15:22:14 +00:00
Thomas Martitz
cc1be6b766
More fixes for the usb screen: Use send_event(GUI_EVENT_REFRESH, NULL) to 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-29 15:17:16 +00:00
Teruaki Kawashima
5226a89cce
Clear screen when leave usb screen so that usblogo doesn't remain on the screen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22531 a1c6a512-1295-4272-9138-f99709370657
2009-08-29 14:33:40 +00:00
Nils Wallménius
3200d04d75
Make the formatter functions used by the settings return a pointer to avoid 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-20 16:47:44 +00:00
Teruaki Kawashima
0a17284448
Fix type of variable statusbar in screens.c as global_settings.statusbar is integer.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22439 a1c6a512-1295-4272-9138-f99709370657
2009-08-20 15:04:47 +00:00