summaryrefslogtreecommitdiff
path: root/apps/gui
AgeCommit message (Collapse)Author
2010-03-03some small debug info fixes, add %Li and %lt and make uppercase subimage ↵Jonathan Gordon
labels display correctly git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24996 a1c6a512-1295-4272-9138-f99709370657
2010-03-03remove a nonsense outdate warning. there is no token limit anymoreJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24995 a1c6a512-1295-4272-9138-f99709370657
2010-03-03undo that last undo, make the font loader more forgiving to user errorsJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24994 a1c6a512-1295-4272-9138-f99709370657
2010-03-02revert r24989 ad r24990 which are cuasing segfaults... they were working ↵Jonathan Gordon
fine for me though :( (stupid font stuff is cursed!) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24993 a1c6a512-1295-4272-9138-f99709370657
2010-03-02fix %pb when the height isnt given and it is in a viewport with a user font ↵Jonathan Gordon
(so the height is calculated on the font height at display time) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24991 a1c6a512-1295-4272-9138-f99709370657
2010-03-02fix redJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24990 a1c6a512-1295-4272-9138-f99709370657
2010-03-02* Make the user font count more saneJonathan Gordon
* font 2-9 in the skins will always be user fonts in the skins * init the skinfonts array so it doesnt think id 'x' is used already * make the parser work with FONT_UI untill the very end, even on remote fonts git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24989 a1c6a512-1295-4272-9138-f99709370657
2010-03-01Revert r24958. It didn't fix anything (in fact, the problem described didn't ↵Thomas Martitz
exist). Increase MAXFONTS by 1 to allow for remote screen targets to load fonts 2-9. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24983 a1c6a512-1295-4272-9138-f99709370657
2010-02-28Save some RAM by changing a char[] into a const char * in struct afmt_entry. ↵Bertrik Sikken
Make other fields const too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24970 a1c6a512-1295-4272-9138-f99709370657
2010-02-28set viewport to default one just for safe.Teruaki Kawashima
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24969 a1c6a512-1295-4272-9138-f99709370657
2010-02-28move a #ifdef so the full amount of user choosable skin fonts are avilable ↵Jonathan Gordon
on non remote targets (i.e 2-9 inclusive) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24958 a1c6a512-1295-4272-9138-f99709370657
2010-02-28redo r24943. the font mappings are not needed once the skin is finished ↵Jonathan Gordon
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
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-27Add playlist viewer screen to %cs.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24953 a1c6a512-1295-4272-9138-f99709370657
2010-02-27Fix dead parts of the wps when leaving it.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24952 a1c6a512-1295-4272-9138-f99709370657
2010-02-27Set missing svn propertiesNils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24947 a1c6a512-1295-4272-9138-f99709370657
2010-02-27mark array as const and use ARRAYLEN macro for calculating length of the arrayNils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24946 a1c6a512-1295-4272-9138-f99709370657
2010-02-27Store the list of fonts in a linked list instead of in a static array ↵Thomas Martitz
(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
2010-02-26fix 64bit warningJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24923 a1c6a512-1295-4272-9138-f99709370657
2010-02-26split the theme settings apply() sutff out of settings_apply(). this should ↵Jonathan Gordon
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
2010-02-26Fix the list showing an empty line at the bottom if the sbs is handling the ↵Jonathan Gordon
title git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24919 a1c6a512-1295-4272-9138-f99709370657
2010-02-26small change to how the quickscreen fixes its viewportsJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24918 a1c6a512-1295-4272-9138-f99709370657
2010-02-262 new tags for the base skin.Jonathan Gordon
%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
2010-02-25Quickscreen: add more check for case that qs item is not set.Teruaki Kawashima
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24901 a1c6a512-1295-4272-9138-f99709370657
2010-02-24Change how touchscreen regions work slightly... "It modifies the behaviour ↵Jonathan Gordon
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
2010-02-24make the parser spit out filenames of images it cant loadJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24875 a1c6a512-1295-4272-9138-f99709370657
2010-02-24some minor changes to checkwps, shouldn't change anythingJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24874 a1c6a512-1295-4272-9138-f99709370657
2010-02-23Quickscreen: Hande case where not all quick settings are definesTomer Shalev
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
2010-02-22correct checking size in function get_image_filename.Teruaki Kawashima
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24844 a1c6a512-1295-4272-9138-f99709370657
2010-02-21statusbar_position should also return enum statusbar_values if it's a macroFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24833 a1c6a512-1295-4272-9138-f99709370657
2010-02-21Fix the mechanism to fail to parse skins if images fail to load and fix ↵Thomas Martitz
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
2010-02-21remote multifont fixes. it shoud be working again (blame AlexP! he made me ↵Jonathan Gordon
break it last week!) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24812 a1c6a512-1295-4272-9138-f99709370657
2010-02-21remove unused fields from struct gui_synclist.Teruaki Kawashima
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24807 a1c6a512-1295-4272-9138-f99709370657
2010-02-21make sure font fd's get closed when a new skin is loadedJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24803 a1c6a512-1295-4272-9138-f99709370657
2010-02-20Playlist Viewer Changes to bring consistency:Thomas Martitz
- 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
2010-02-20WPS: Use helper local variable instead of its value (no functional change)Tomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24789 a1c6a512-1295-4272-9138-f99709370657
2010-02-19and actually fix multifont on remote lcd targets alsoJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24780 a1c6a512-1295-4272-9138-f99709370657
2010-02-19fix possible out-of-bounds error on remote lcd targets if they try loading a ↵Jonathan Gordon
font to id==2 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24779 a1c6a512-1295-4272-9138-f99709370657
2010-02-18allow integer sound settings (bass, volume, etc) to be used with conditional ↵Jonathan Gordon
%St. "%?St|name|<min|min+1|...|max-1|max>" git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24745 a1c6a512-1295-4272-9138-f99709370657
2010-02-18fix yellowJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24741 a1c6a512-1295-4272-9138-f99709370657
2010-02-18basic alignment support (%a|l|c|r|L|R) in the playlist viewer. no sublines ↵Jonathan Gordon
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
2010-02-17change the %St tag so it only shows the filename of file settings, not the ↵Jonathan Gordon
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
2010-02-16scrollbar.c: Simplify code a bit.Teruaki Kawashima
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24694 a1c6a512-1295-4272-9138-f99709370657
2010-02-16* surround member only used by charcells with #ifdef HAVE_LCD_CHARCELLS in ↵Teruaki Kawashima
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
2010-02-16Reuse the backdrop buffers if 2 skins use the same backdrop (on the same ↵Jonathan Gordon
screen of course) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24690 a1c6a512-1295-4272-9138-f99709370657
2010-02-14WPS volume touchregion: fix reverse Y coordinate in portrait modeMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24649 a1c6a512-1295-4272-9138-f99709370657
2010-02-14FS#10984 - multifont! 2 major additions:Jonathan Gordon
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
2010-02-13Touchscreen: fix scrollbar handling when it's on the rightMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24635 a1c6a512-1295-4272-9138-f99709370657
2010-02-11color_picker: a bit of rework for color_picker.Teruaki Kawashima
* 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
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