summaryrefslogtreecommitdiff
path: root/apps/gui (follow)
Commit message (Collapse)AuthorAge
...
* Save some RAM by changing a char[] into a const char * in struct afmt_entry. ↵Bertrik Sikken2010-02-28
| | | | | | Make other fields const too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24970 a1c6a512-1295-4272-9138-f99709370657
* set viewport to default one just for safe.Teruaki Kawashima2010-02-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24969 a1c6a512-1295-4272-9138-f99709370657
* move a #ifdef so the full amount of user choosable skin fonts are avilable ↵Jonathan Gordon2010-02-28
| | | | | | on non remote targets (i.e 2-9 inclusive) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24958 a1c6a512-1295-4272-9138-f99709370657
* redo r24943. the font mappings are not needed once the skin is finished ↵Jonathan Gordon2010-02-28
| | | | | | | | | parsing so using the skin buffer there is a waste and overcomplicates things. Also that commit breaks plain %pb so make sure you dont use %pb inside a viewport with a font number > 1 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24957 a1c6a512-1295-4272-9138-f99709370657
* Fix System/Running Time to reset the running time whenever a charger or USB ↵Michael Giacomelli2010-02-27
| | | | | | 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
* Add playlist viewer screen to %cs.Thomas Martitz2010-02-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24953 a1c6a512-1295-4272-9138-f99709370657
* Fix dead parts of the wps when leaving it.Thomas Martitz2010-02-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24952 a1c6a512-1295-4272-9138-f99709370657
* Set missing svn propertiesNils Wallménius2010-02-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24947 a1c6a512-1295-4272-9138-f99709370657
* mark array as const and use ARRAYLEN macro for calculating length of the arrayNils Wallménius2010-02-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24946 a1c6a512-1295-4272-9138-f99709370657
* Store the list of fonts in a linked list instead of in a static array ↵Thomas Martitz2010-02-27
| | | | | | (together with the base filename) and load all fonts in a second step. This aids debugging missing fonts, skips fonts that are not used in viewports, and is preparation of a resizable (on boot) skin buffer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24943 a1c6a512-1295-4272-9138-f99709370657
* fix 64bit warningJonathan Gordon2010-02-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24923 a1c6a512-1295-4272-9138-f99709370657
* split the theme settings apply() sutff out of settings_apply(). this should ↵Jonathan Gordon2010-02-26
| | | | | | | | | fix splashes not being loc'ed, statusbar over the splash (fixed in sim, not on my mini2g though), and the supposed boot time slowdown. What this also does is remove a bunch of unnecessary settings_Apply()'s from the ipod accessory code, and causes all non-skin settings to get applied each time (this includes font and langs which we wernt doing to stop disk access) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24922 a1c6a512-1295-4272-9138-f99709370657
* Fix the list showing an empty line at the bottom if the sbs is handling the ↵Jonathan Gordon2010-02-26
| | | | | | title git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24919 a1c6a512-1295-4272-9138-f99709370657
* small change to how the quickscreen fixes its viewportsJonathan Gordon2010-02-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24918 a1c6a512-1295-4272-9138-f99709370657
* 2 new tags for the base skin.Jonathan Gordon2010-02-26
| | | | | | | | %Lt - the title text for the current list %Li - the icon number. Same order as the CustomIcons list, except the first icon is the "no icon" icon. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24917 a1c6a512-1295-4272-9138-f99709370657
* Quickscreen: add more check for case that qs item is not set.Teruaki Kawashima2010-02-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24901 a1c6a512-1295-4272-9138-f99709370657
* Change how touchscreen regions work slightly... "It modifies the behaviour ↵Jonathan Gordon2010-02-24
| | | | | | | | | | of touch buttons to be more similar to the way gui buttons operate in desktop applications. Upon a touch press event, the button at the touch position is armed. Upon a touch repeat or release, the button at the touch position is triggered only if it is armed. Upon release (and wps entry), all buttons are disarmed. E.g. when you touch press on an empty area, then while pressing drag your finger on a button, then release the button, the button is not triggered." Author: Jens Theeß Flyspray: FS#10982 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24876 a1c6a512-1295-4272-9138-f99709370657
* make the parser spit out filenames of images it cant loadJonathan Gordon2010-02-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24875 a1c6a512-1295-4272-9138-f99709370657
* some minor changes to checkwps, shouldn't change anythingJonathan Gordon2010-02-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24874 a1c6a512-1295-4272-9138-f99709370657
* Quickscreen: Hande case where not all quick settings are definesTomer Shalev2010-02-23
| | | | | | | | | | This happens in Archos Recorder, see quick_screen_f3(), which caused crash (FS#11037), due to top item not defined. The commit explicitly sets items[QUICKSCREEN_TOP] to NULL, and also draws an arrow only if the item is defined. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24871 a1c6a512-1295-4272-9138-f99709370657
* correct checking size in function get_image_filename.Teruaki Kawashima2010-02-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24844 a1c6a512-1295-4272-9138-f99709370657
* statusbar_position should also return enum statusbar_values if it's a macroFrank Gevaerts2010-02-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24833 a1c6a512-1295-4272-9138-f99709370657
* Fix the mechanism to fail to parse skins if images fail to load and fix ↵Thomas Martitz2010-02-21
| | | | | | having no backdrop at all (neither %X nor backdrop setting, DancePuffDuo was broken). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24814 a1c6a512-1295-4272-9138-f99709370657
* remote multifont fixes. it shoud be working again (blame AlexP! he made me ↵Jonathan Gordon2010-02-21
| | | | | | break it last week!) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24812 a1c6a512-1295-4272-9138-f99709370657
* remove unused fields from struct gui_synclist.Teruaki Kawashima2010-02-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24807 a1c6a512-1295-4272-9138-f99709370657
* make sure font fd's get closed when a new skin is loadedJonathan Gordon2010-02-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24803 a1c6a512-1295-4272-9138-f99709370657
* Playlist Viewer Changes to bring consistency:Thomas Martitz2010-02-20
| | | | | | | | - combine its two context menus to one and - make the ACTION_STD_MENU go to the main menu as it does in all other screens - call playlist_viewer() via root_menu to reduce call depth and to be consistent with other screens (and for the above changes to be more flexible w.r.t to the following screen) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24791 a1c6a512-1295-4272-9138-f99709370657
* WPS: Use helper local variable instead of its value (no functional change)Tomer Shalev2010-02-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24789 a1c6a512-1295-4272-9138-f99709370657
* and actually fix multifont on remote lcd targets alsoJonathan Gordon2010-02-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24780 a1c6a512-1295-4272-9138-f99709370657
* fix possible out-of-bounds error on remote lcd targets if they try loading a ↵Jonathan Gordon2010-02-19
| | | | | | font to id==2 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24779 a1c6a512-1295-4272-9138-f99709370657
* allow integer sound settings (bass, volume, etc) to be used with conditional ↵Jonathan Gordon2010-02-18
| | | | | | %St. "%?St|name|<min|min+1|...|max-1|max>" git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24745 a1c6a512-1295-4272-9138-f99709370657
* fix yellowJonathan Gordon2010-02-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24741 a1c6a512-1295-4272-9138-f99709370657
* basic alignment support (%a|l|c|r|L|R) in the playlist viewer. no sublines ↵Jonathan Gordon2010-02-18
| | | | | | so the whole line will either be left, right or centered. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24740 a1c6a512-1295-4272-9138-f99709370657
* change the %St tag so it only shows the filename of file settings, not the ↵Jonathan Gordon2010-02-17
| | | | | | full path (i.e cabbiev2 instead of /.rockbox/wps/cabbiev2.wps) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24717 a1c6a512-1295-4272-9138-f99709370657
* scrollbar.c: Simplify code a bit.Teruaki Kawashima2010-02-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24694 a1c6a512-1295-4272-9138-f99709370657
* * surround member only used by charcells with #ifdef HAVE_LCD_CHARCELLS in ↵Teruaki Kawashima2010-02-16
| | | | | | | | struct scrollinfo in scroll_engine.h. * remove function prototypes which are not actualy defined. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24693 a1c6a512-1295-4272-9138-f99709370657
* Reuse the backdrop buffers if 2 skins use the same backdrop (on the same ↵Jonathan Gordon2010-02-16
| | | | | | screen of course) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24690 a1c6a512-1295-4272-9138-f99709370657
* WPS volume touchregion: fix reverse Y coordinate in portrait modeMaurus Cuelenaere2010-02-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24649 a1c6a512-1295-4272-9138-f99709370657
* FS#10984 - multifont! 2 major additions:Jonathan Gordon2010-02-14
| | | | | | | | | | 1) seperate UI font for the remote and main displays 2) allow individual skins to load additional fonts for use in the skin (Uo to 7 extra in this first version) see CustomWPS for info on how to load a font in the skins. Code should always use FONT_UI+screen_number to get the correct user font git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24644 a1c6a512-1295-4272-9138-f99709370657
* Touchscreen: fix scrollbar handling when it's on the rightMaurus Cuelenaere2010-02-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24635 a1c6a512-1295-4272-9138-f99709370657
* color_picker: a bit of rework for color_picker.Teruaki Kawashima2010-02-11
| | | | | | | | * don't call display->getcharheight() so often, store the value to char_height and use it instead. * replay title_height by char_height, they should be the same. * fix spaces. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24595 a1c6a512-1295-4272-9138-f99709370657
* fix text scrolling handling in do_menu, set_time_screen and time_screen.Teruaki Kawashima2010-02-11
| | | | | | 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
* OK, this is hopefully the last sbs related fix. This one will fix the ↵Jonathan Gordon2010-02-10
| | | | | | backdrop going garbage, and add a missing else which kugel spotted git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24579 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#10983 - r24568 was just moronic. SorryJonathan Gordon2010-02-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24578 a1c6a512-1295-4272-9138-f99709370657
* Fix WPS backdrop drawing, as instructed by JdGordon.Alex Parker2010-02-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24571 a1c6a512-1295-4272-9138-f99709370657
* unconditioannly show the main/base skins backdrop when enabling the theme so ↵Jonathan Gordon2010-02-08
| | | | | | plugins show the correct backdrop in menus git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24568 a1c6a512-1295-4272-9138-f99709370657
* fix red. these long #if's need to be changed to a single #defineJonathan Gordon2010-02-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24566 a1c6a512-1295-4272-9138-f99709370657
* revert r24478 and make the backdrop behaviour the same as it used to be (so ↵Jonathan Gordon2010-02-08
| | | | | | when in the wps the sbs' backdrop will be fully disabled). Also changes the API back to having to manually set the current backdrop. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24565 a1c6a512-1295-4272-9138-f99709370657
* fix FS#10957 - the wps backdrop is always shown in the "create bookmark?" ↵Jonathan Gordon2010-02-08
| | | | | | ask screen (Actual fix is to always enable the theme in the yesno screen) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24560 a1c6a512-1295-4272-9138-f99709370657
* make all the RTC tokens in the skins be useable in conditionals (I dare ↵Jonathan Gordon2010-02-05
| | | | | | anyone to use %cY though :D ) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24526 a1c6a512-1295-4272-9138-f99709370657