summaryrefslogtreecommitdiff
path: root/apps/gui
AgeCommit message (Collapse)Author
2009-10-06Fix position calculation of title icon.Teruaki Kawashima
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22983 a1c6a512-1295-4272-9138-f99709370657
2009-10-06Use macro to test viewport's RTL flagTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22978 a1c6a512-1295-4272-9138-f99709370657
2009-10-05Fine tuning of gui elements positioning in RTL modeTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22976 a1c6a512-1295-4272-9138-f99709370657
2009-10-05- Use const when possibleTomer Shalev
- Use pointer to avoid repeated access to array - Move setting xpos up a bit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22975 a1c6a512-1295-4272-9138-f99709370657
2009-10-05Remove redundant code in list.cTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22974 a1c6a512-1295-4272-9138-f99709370657
2009-10-05Fix red: Protect viewport RTL flag manipulation with #ifdef HAVE_LCD_BITMAPTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22973 a1c6a512-1295-4272-9138-f99709370657
2009-10-05Add rtl flagging to viewport_set_defaults(), and ensure thatTomer Shalev
viewportmanager_theme_changed() is called during font loading git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22971 a1c6a512-1295-4272-9138-f99709370657
2009-10-05Implement RTL as a viewport's bit-fieldTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22968 a1c6a512-1295-4272-9138-f99709370657
2009-10-05Fix red - typeTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22966 a1c6a512-1295-4272-9138-f99709370657
2009-10-05- Use pointers instead of repeating access to array elementTomer Shalev
- Set const when possible git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22965 a1c6a512-1295-4272-9138-f99709370657
2009-10-05Revert renaming of the scrollbar global setting by r22945, following ↵Tomer Shalev
discussion in IRC git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22963 a1c6a512-1295-4272-9138-f99709370657
2009-10-05Fix yellowTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22956 a1c6a512-1295-4272-9138-f99709370657
2009-10-05Have scollbar in the right side while in RTL modeTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22955 a1c6a512-1295-4272-9138-f99709370657
2009-10-05Fix red - forgot one #ifdefTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22948 a1c6a512-1295-4272-9138-f99709370657
2009-10-05Fix some of the redsTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22946 a1c6a512-1295-4272-9138-f99709370657
2009-10-05RTL support in menusTomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22945 a1c6a512-1295-4272-9138-f99709370657
2009-10-05Fix FS#10617 (fix spotted by Teruaki Kawashima), something about the %C not ↵Jonathan Gordon
working if %?C is the first tokens in the skin git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22944 a1c6a512-1295-4272-9138-f99709370657
2009-10-05redraw the AA much less frequently to save bettery life and also let skins ↵Jonathan Gordon
draw over the AA... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22932 a1c6a512-1295-4272-9138-f99709370657
2009-10-03FS#10636: Quickscreen incorrect operation when menu has negative stepJeffrey Goode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22887 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-09-26new skin tag: %Sx|<english>| will display the current languages translation ↵Jonathan Gordon
of the "<english>" string. the <english> is the Source: bit in the .lang files. (must be exactly as it is there...) checkwps cannot verify that the string is correct so make sure to use the sim to verify the string is acurate. Also "fix" checkwps so %St|<setting>| can be accepted for the theme site git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22837 a1c6a512-1295-4272-9138-f99709370657
2009-09-25Rename struct skin_albumart members to be consistent with similar members of ↵Thomas Martitz
other structs. the albumart_ prefix is redundant. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22836 a1c6a512-1295-4272-9138-f99709370657
2009-09-25Redo 22825 but this time with caring about alignment.Thomas Martitz
Change coordinate members in struct skin_albumart to ints. That alone gives a tiny binsize decrease. Change the struct layout (some reordering) to enable more efficient alignment which reclaims 4 of the 8 bytes. Since there's usually only 1 aa struct this should be a net gain. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22835 a1c6a512-1295-4272-9138-f99709370657
2009-09-25r22826 is causing data aborts when the wps is loaded in the parse_list ↵Karl Kurbjun
function - suspected reason is an improperly aligned pointer depending on how the buffer gets setup when translating a "d". git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22827 a1c6a512-1295-4272-9138-f99709370657
2009-09-25Remove some some code in favor of a single parse_list() call.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22826 a1c6a512-1295-4272-9138-f99709370657
2009-09-22Show the name of the setting in the WPS debug outputAlexander Levin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22781 a1c6a512-1295-4272-9138-f99709370657
2009-09-22add the %St setting to the debug output for checkwps/parser.... needs mroe ↵Jonathan Gordon
work to make it more useful git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22780 a1c6a512-1295-4272-9138-f99709370657
2009-09-21Fix splash on charcell (was wasting 2 precious chars per line since r20870). ↵Jens Arnold
This fixes the volume splash in wps, as it doesn't wrap anymore, but it's not a proper fix. The real problem is that the 2nd line of the default WPS updates immediately. The ultimate fix would be to get rid of the special charcell handling and use a VP in the WPS. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22775 a1c6a512-1295-4272-9138-f99709370657
2009-09-18Actually fix AA display... previous commit was borkedJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22728 a1c6a512-1295-4272-9138-f99709370657
2009-09-18FS#10602 - show the viewport label instead of an int in the debug outputJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22727 a1c6a512-1295-4272-9138-f99709370657
2009-09-18fix FS#10599 and do r22721 a slightly better way. the %C tag is internally ↵Jonathan Gordon
converted to a different token for display and conditional check. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22726 a1c6a512-1295-4272-9138-f99709370657
2009-09-17Fix a bug where the conditional use of %C (i.e. %?C) caused the album art to ↵Thomas Martitz
draw (noticed in FS#10596). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22721 a1c6a512-1295-4272-9138-f99709370657
2009-09-17Fix delay when seeking using the touchscreen by adding a pause/unpause.Rob Purchase
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22720 a1c6a512-1295-4272-9138-f99709370657
2009-09-13Get rid of some of the code duplication from checkwps, it still duplicates a ↵Thomas Martitz
lot though. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22695 a1c6a512-1295-4272-9138-f99709370657
2009-09-13Remove some trailing whitespaces in in the skin engine files.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22694 a1c6a512-1295-4272-9138-f99709370657
2009-09-13Fix/band aid the freeze when %V is the first thing (i.e. in line 1) in a ↵Thomas Martitz
.wps (see FS#10596). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22693 a1c6a512-1295-4272-9138-f99709370657
2009-09-11Increase skin buffer on charcell displays so it's actually big enough to ↵Frank Gevaerts
load a wps file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22681 a1c6a512-1295-4272-9138-f99709370657
2009-09-11Initialize token before using.Teruaki Kawashima
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22678 a1c6a512-1295-4272-9138-f99709370657
2009-09-11Hopefully make the wps debug info more understandable... display tokens the ↵Jonathan Gordon
same way they are displayed... i.e viewports->lines->sublines->tokens git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22672 a1c6a512-1295-4272-9138-f99709370657
2009-09-09fix the first subline not displaying properlyJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22668 a1c6a512-1295-4272-9138-f99709370657
2009-09-08Fix/commit FS#10595. A (sub)line could be part of the previous viewport due ↵Thomas Martitz
to a off-by-one bug in the indexing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22662 a1c6a512-1295-4272-9138-f99709370657
2009-09-07Fix viewport_set_defaults giving the wrong dimensions if the ui vp is ↵Thomas Martitz
overridden (as done in plugins atm), and notify other code if the ui vp was overridden. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22657 a1c6a512-1295-4272-9138-f99709370657
2009-09-07Set list_need_reinit to false somewhere too.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22652 a1c6a512-1295-4272-9138-f99709370657
2009-09-07Fix buttonbar handling/theme changed handling in lists.Thomas Martitz
The lists need to copy to a local parent if a list passes NULL as parent in the init. This was before the commit of custom ui vp, but I removed it since I (wrongly) thought using the ui vp as parent would be fine. Let the viewportmanager fire a event in case when a theme-related setting changed and simply the handling in the lists code. However the buttonbar handling didn't work before anyway, since list code didn't know if the buttonbar was active (it asked a variable which was always false....). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22651 a1c6a512-1295-4272-9138-f99709370657
2009-09-07stupid yellow.... I'm going to bedJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22648 a1c6a512-1295-4272-9138-f99709370657
2009-09-07add a bit more debug info for skins... show the subimage id in the display ↵Jonathan Gordon
image token's debug line git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22647 a1c6a512-1295-4272-9138-f99709370657
2009-09-07rework AA load/display handling in the skins to get them working in ↵Jonathan Gordon
viewports again git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22646 a1c6a512-1295-4272-9138-f99709370657
2009-09-06fix red :)Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22643 a1c6a512-1295-4272-9138-f99709370657
2009-09-06Make the e200 compile the vled for the sim... other targets are probably ↵Jonathan Gordon
doing the same thing so find out which.. commit will be immediatly followed to fixd red git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22642 a1c6a512-1295-4272-9138-f99709370657
2009-09-05Factor out/generalise the function that checks whether a point is within a ↵Thomas Martitz
viewport to, and use it in the wps' touchregion code. This corrects the check that was done there. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22638 a1c6a512-1295-4272-9138-f99709370657