summaryrefslogtreecommitdiff
path: root/apps/gui
AgeCommit message (Collapse)Author
2008-01-08Accept and Fix FS#8427 - problem with empty screens in lists with pages ↵Jonathan Gordon
scrolling enabled git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16023 a1c6a512-1295-4272-9138-f99709370657
2007-12-17fix touchpad list codeJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15948 a1c6a512-1295-4272-9138-f99709370657
2007-12-17remove the duplicated gui_list struct and only duplicate the members which ↵Jonathan Gordon
are actually different on each screen. should translate to a smaller bin and easier code (users shouldnt notice any difference) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15947 a1c6a512-1295-4272-9138-f99709370657
2007-12-06Make the "current line" value in the gradient style code zero-based, and an ↵Nicolas Pennequin
attempt at more understandable names and better comments. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15886 a1c6a512-1295-4272-9138-f99709370657
2007-11-27revert my previous commit and use a conditional for the time format instead ↵Jonathan Gordon
which is probably better. %?cf<24 hour stuff|12 hour stuff> git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15830 a1c6a512-1295-4272-9138-f99709370657
2007-11-27add 2 new tags which display the hour in 12 or 24 hour format depending on ↵Jonathan Gordon
the config setting. %cf is for padded hour %cg is for just the number git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15826 a1c6a512-1295-4272-9138-f99709370657
2007-11-26Allow (almost) arbitrary backlight fade in and fade out times (on targets ↵Jens Arnold
with software PWM fading), and comvert the associated settings to table settings. * Settings system: Unify a bunch of formatters and getlang helpers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15817 a1c6a512-1295-4272-9138-f99709370657
2007-11-25Convert 2 more settings to table settings. * Fix duplicate value display if ↵Jens Arnold
the first value is selected in a table setting. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15805 a1c6a512-1295-4272-9138-f99709370657
2007-11-25Fix 64 bit warnings.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15804 a1c6a512-1295-4272-9138-f99709370657
2007-11-25New way of handling integer settings with variable steps: table settings (FS ↵Jens Arnold
#8186, with fixes by me). This allows to get rid of those synchronised tables in firmware/ and apps/, making things more flexible and less error prone. First application: backlight timeouts. * Make some more things 'const'. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15803 a1c6a512-1295-4272-9138-f99709370657
2007-11-25Break out some duplicated code into a seperate functionNils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15802 a1c6a512-1295-4272-9138-f99709370657
2007-11-24Fix warnings.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15789 a1c6a512-1295-4272-9138-f99709370657
2007-11-24Make the sound settings talk unit selection slightly less hackish, and make ↵Jens Arnold
it handle unitless settings (like the new bass/treble cutoff setting on iPod Video). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15788 a1c6a512-1295-4272-9138-f99709370657
2007-11-20Make id's created with the TALK_ID macro work in 64 bit simsNils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15723 a1c6a512-1295-4272-9138-f99709370657
2007-11-19Oops, wrong define. Fixes the warnings.Nicolas Pennequin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15699 a1c6a512-1295-4272-9138-f99709370657
2007-11-19Accept FS#7901 by Akio Idehara: Fix gradient for scrolling lines when more ↵Nicolas Pennequin
than one line is selected git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15698 a1c6a512-1295-4272-9138-f99709370657
2007-11-19FS#7738 - Scroll wheel acceleration for iPodLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15681 a1c6a512-1295-4272-9138-f99709370657
2007-11-18Improve clearing of pictures in conditional constructs. This fixes improper ↵Nicolas Pennequin
clearing of pictures used in several conditionals or in nested conditionals (FS#7856). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15663 a1c6a512-1295-4272-9138-f99709370657
2007-11-18Smarter conditional handling by storing the previous value. Updates are done ↵Nicolas Pennequin
only if the value has changed. This avoids unnecessary line or picture clearing, and should help fix some problems WPS creators were having. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15657 a1c6a512-1295-4272-9138-f99709370657
2007-11-14Hopefully fix the compile errors.Nicolas Pennequin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15625 a1c6a512-1295-4272-9138-f99709370657
2007-11-14Make the WPS parser stricter with invalid parameter lists. It will now ↵Nicolas Pennequin
reject them instead of ignoring them (this includes the second parameter to %m|x|, which is invalid and now causes a failure). Also change the debugging code in order to allow more precise error messages, including the faulty token's index and description. Finally, add a few missing token description and fine-tune the #ifdefs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15624 a1c6a512-1295-4272-9138-f99709370657
2007-11-14Allow setting a margin on a non-scrolling line by using %m|margin| instead ↵Nicolas Pennequin
of %s|margin|. This allows to easily place dynamic info next to album art. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15610 a1c6a512-1295-4272-9138-f99709370657
2007-11-13Check that the WPS uses album art before clearing its position on ↵Nicolas Pennequin
conditional. Without that check, having a conditional as very first token would cause undesired clearing. Thanks to PaulJam for spotting. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15609 a1c6a512-1295-4272-9138-f99709370657
2007-11-12FS#8135 - add an optional "left margin" parameter to the %s WPS tag - e.g. ↵Dave Chapman
%s|100|. This patch uses parts of the scroll-margins patch (FS#2954), but is much smaller, only offers a left-margin, and only affects the WPS code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15604 a1c6a512-1295-4272-9138-f99709370657
2007-11-12Add detection for a previously ignored error case: a conditional token is ↵Nicolas Pennequin
present but no conditional start token (e.g. "%?C%al|>"). This would cause an inifnite loop in the displaying code. Thanks to markun for making the mistake and reporting it ;) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15598 a1c6a512-1295-4272-9138-f99709370657
2007-11-12Various album art improvements:Nicolas Pennequin
* Make the album art display tag static instead of dynamic, making it be drawn less often, which is good. * Add the possibility of clearing the album art bitmap instead of drawing it, and use this abaility when the display tag is inside a conditional construct. * Add the album art display tag to wps_debug.c. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15592 a1c6a512-1295-4272-9138-f99709370657
2007-11-11Album art support. Based on FS#3045, but heavily modified to adapt to MoB ↵Nicolas Pennequin
and for cleanness. The cover pictures are loaded from external bitmaps. JPEG and embedded art are not supported. The pictures will only be drawn on the main display. There is no resizing but it is possible to specify the WPS bitmap size in the bitmap names (e.g. cover.100x100.bmp). The bitmaps are stored in the main buffer and read directly from there. Currently, duplicate bitmaps will simply be present several times in the buffer, but this will be improved. To enable for a target, #define HAVE_ALBUMART in its config file. For more information, see the wiki page: http://www.rockbox.org/wiki/AlbumArt. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15572 a1c6a512-1295-4272-9138-f99709370657
2007-11-07Straighten out voicing of yesno dialogs.Stéphane Doyon
Make it so gui_syncyesno_run() does not modify the text_messages passed as argument, simplify the code and even reduce size a bit. The key is to support voicing at the level of the text_message itself. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15505 a1c6a512-1295-4272-9138-f99709370657
2007-11-04fix talking simplelists which I broke yesterday. dont talk if the list is ↵Jonathan Gordon
being redrawn because get_action() timed out. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15459 a1c6a512-1295-4272-9138-f99709370657
2007-11-04revert my previous commit and do it in a much less hacky way (both of these ↵Jonathan Gordon
were for FS#8084) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15458 a1c6a512-1295-4272-9138-f99709370657
2007-11-04last minor fix for the colour screenJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15456 a1c6a512-1295-4272-9138-f99709370657
2007-11-04minor touchpad tweaking...Jonathan Gordon
lists - dont do ACTION_STD_OK if pressing an area under the last item colour chooser - change the seelcted colour straight away without having to swicth sliders first git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15455 a1c6a512-1295-4272-9138-f99709370657
2007-11-04touchpad interface for the colour selection screens.Jonathan Gordon
voice the unacceptable colour splash (nice and pointless :p ) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15454 a1c6a512-1295-4272-9138-f99709370657
2007-11-04redraw the siplelist more oftenJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15446 a1c6a512-1295-4272-9138-f99709370657
2007-11-02Build some more plugins for M:Robe most work, doom builds and runs if you ↵Karl Kurbjun
use a hack - need to fix the user timer so that it works properly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15403 a1c6a512-1295-4272-9138-f99709370657
2007-10-26Implement as genuine a set_irq_level function for the sim as possible. The ↵Michael Sevakis
yield added earlier is still nescessary since other threads won't run anyway while viewing the database screen on either sim or target. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15321 a1c6a512-1295-4272-9138-f99709370657
2007-10-26Don't lock up simulators when lists are used with TIMEOUT_NOBLOCK. Fixes ↵Steve Bavin
FS#8030. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15318 a1c6a512-1295-4272-9138-f99709370657
2007-10-24Try and save some bytes, seeing as we already assumed LANG_ constants for ↵Steve Bavin
month and weekday names are contiguous. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15289 a1c6a512-1295-4272-9138-f99709370657
2007-10-24Complete info screen voicing; now consistent with displayed screenSteve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15284 a1c6a512-1295-4272-9138-f99709370657
2007-10-23mrobe changes:Jonathan Gordon
stop it thinking the battery is always flat and shutting down add keymap for time/date screen pressing a list item will highlight it before accepting it (looks better than it just entering the item without the selection changing first) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15280 a1c6a512-1295-4272-9138-f99709370657
2007-10-23Small voice-related tweaks and fixes to simplelists.Stéphane Doyon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15276 a1c6a512-1295-4272-9138-f99709370657
2007-10-22First go at getting the touchpad working in the ui. lists only for now.Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15264 a1c6a512-1295-4272-9138-f99709370657
2007-10-21allow simplelists to set the timeout and the start selection.Jonathan Gordon
set a slightly saner default timeout talk the selected item when the list is first displayed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15247 a1c6a512-1295-4272-9138-f99709370657
2007-10-21Fixed debug menu crashing. Show last file processed by tagcache engine in ↵Miika Pekkarinen
debug menu. Enabled autoupdating of deleted files for flash storage devices. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15244 a1c6a512-1295-4272-9138-f99709370657
2007-10-21remove the seelection_size param from the info init call to hopefully ↵Jonathan Gordon
decrease the bin size a bit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15237 a1c6a512-1295-4272-9138-f99709370657
2007-10-21simplify the simpelist api slightly so not every struct member needs to be ↵Jonathan Gordon
init manually. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15236 a1c6a512-1295-4272-9138-f99709370657
2007-10-21Voice the "Cancelled" splash in option_screen().Stéphane Doyon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15235 a1c6a512-1295-4272-9138-f99709370657
2007-10-21From FS#7774: use list voice callback in option selection (option_screen(()).Stéphane Doyon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15233 a1c6a512-1295-4272-9138-f99709370657
2007-10-21Accept FS#7774: Voice callback for gui_synclist.Stéphane Doyon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15231 a1c6a512-1295-4272-9138-f99709370657
2007-10-20add a list API for simple lists which dont need lots of code to run.Jonathan Gordon
Example uses in debug_menu.c This API works best if most of the text is static, or not many actions need to acted on. (of course, any list could use this) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15221 a1c6a512-1295-4272-9138-f99709370657