summaryrefslogtreecommitdiff
path: root/apps/gui (follow)
Commit message (Collapse)AuthorAge
* Make id's created with the TALK_ID macro work in 64 bit simsNils Wallménius2007-11-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15723 a1c6a512-1295-4272-9138-f99709370657
* Oops, wrong define. Fixes the warnings.Nicolas Pennequin2007-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15699 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#7901 by Akio Idehara: Fix gradient for scrolling lines when more ↵Nicolas Pennequin2007-11-19
| | | | | | than one line is selected git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15698 a1c6a512-1295-4272-9138-f99709370657
* FS#7738 - Scroll wheel acceleration for iPodLinus Nielsen Feltzing2007-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15681 a1c6a512-1295-4272-9138-f99709370657
* Improve clearing of pictures in conditional constructs. This fixes improper ↵Nicolas Pennequin2007-11-18
| | | | | | 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
* Smarter conditional handling by storing the previous value. Updates are done ↵Nicolas Pennequin2007-11-18
| | | | | | 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
* Hopefully fix the compile errors.Nicolas Pennequin2007-11-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15625 a1c6a512-1295-4272-9138-f99709370657
* Make the WPS parser stricter with invalid parameter lists. It will now ↵Nicolas Pennequin2007-11-14
| | | | | | 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
* Allow setting a margin on a non-scrolling line by using %m|margin| instead ↵Nicolas Pennequin2007-11-14
| | | | | | 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
* Check that the WPS uses album art before clearing its position on ↵Nicolas Pennequin2007-11-13
| | | | | | 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
* FS#8135 - add an optional "left margin" parameter to the %s WPS tag - e.g. ↵Dave Chapman2007-11-12
| | | | | | %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
* Add detection for a previously ignored error case: a conditional token is ↵Nicolas Pennequin2007-11-12
| | | | | | 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
* Various album art improvements:Nicolas Pennequin2007-11-12
| | | | | | | | * 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
* Album art support. Based on FS#3045, but heavily modified to adapt to MoB ↵Nicolas Pennequin2007-11-11
| | | | | | | | | | | | 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
* Straighten out voicing of yesno dialogs.Stéphane Doyon2007-11-07
| | | | | | | | | 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
* fix talking simplelists which I broke yesterday. dont talk if the list is ↵Jonathan Gordon2007-11-04
| | | | | | being redrawn because get_action() timed out. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15459 a1c6a512-1295-4272-9138-f99709370657
* revert my previous commit and do it in a much less hacky way (both of these ↵Jonathan Gordon2007-11-04
| | | | | | were for FS#8084) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15458 a1c6a512-1295-4272-9138-f99709370657
* last minor fix for the colour screenJonathan Gordon2007-11-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15456 a1c6a512-1295-4272-9138-f99709370657
* minor touchpad tweaking...Jonathan Gordon2007-11-04
| | | | | | | | 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
* touchpad interface for the colour selection screens.Jonathan Gordon2007-11-04
| | | | | | | voice the unacceptable colour splash (nice and pointless :p ) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15454 a1c6a512-1295-4272-9138-f99709370657
* redraw the siplelist more oftenJonathan Gordon2007-11-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15446 a1c6a512-1295-4272-9138-f99709370657
* Build some more plugins for M:Robe most work, doom builds and runs if you ↵Karl Kurbjun2007-11-02
| | | | | | 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
* Implement as genuine a set_irq_level function for the sim as possible. The ↵Michael Sevakis2007-10-26
| | | | | | 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
* Don't lock up simulators when lists are used with TIMEOUT_NOBLOCK. Fixes ↵Steve Bavin2007-10-26
| | | | | | FS#8030. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15318 a1c6a512-1295-4272-9138-f99709370657
* Try and save some bytes, seeing as we already assumed LANG_ constants for ↵Steve Bavin2007-10-24
| | | | | | month and weekday names are contiguous. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15289 a1c6a512-1295-4272-9138-f99709370657
* Complete info screen voicing; now consistent with displayed screenSteve Bavin2007-10-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15284 a1c6a512-1295-4272-9138-f99709370657
* mrobe changes:Jonathan Gordon2007-10-23
| | | | | | | | | 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
* Small voice-related tweaks and fixes to simplelists.Stéphane Doyon2007-10-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15276 a1c6a512-1295-4272-9138-f99709370657
* First go at getting the touchpad working in the ui. lists only for now.Jonathan Gordon2007-10-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15264 a1c6a512-1295-4272-9138-f99709370657
* allow simplelists to set the timeout and the start selection.Jonathan Gordon2007-10-21
| | | | | | | | 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
* Fixed debug menu crashing. Show last file processed by tagcache engine in ↵Miika Pekkarinen2007-10-21
| | | | | | 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
* remove the seelection_size param from the info init call to hopefully ↵Jonathan Gordon2007-10-21
| | | | | | decrease the bin size a bit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15237 a1c6a512-1295-4272-9138-f99709370657
* simplify the simpelist api slightly so not every struct member needs to be ↵Jonathan Gordon2007-10-21
| | | | | | init manually. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15236 a1c6a512-1295-4272-9138-f99709370657
* Voice the "Cancelled" splash in option_screen().Stéphane Doyon2007-10-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15235 a1c6a512-1295-4272-9138-f99709370657
* From FS#7774: use list voice callback in option selection (option_screen(()).Stéphane Doyon2007-10-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15233 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#7774: Voice callback for gui_synclist.Stéphane Doyon2007-10-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15231 a1c6a512-1295-4272-9138-f99709370657
* add a list API for simple lists which dont need lots of code to run.Jonathan Gordon2007-10-20
| | | | | | | | | | 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
* FS#7994 - Rename talk.c API, make talk_disable() affect all talking (not ↵Steve Bavin2007-10-19
| | | | | | just menus), hopefully save some space. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15206 a1c6a512-1295-4272-9138-f99709370657
* Remove the "invert scroll" code since it's not used anywhere anymore (and it ↵Antoine Cellerier2007-10-15
| | | | | | was broken on color targets with gradients anyway). Closes FS #7875. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15125 a1c6a512-1295-4272-9138-f99709370657
* fix the wrong value being selected initiallyJonathan Gordon2007-10-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15121 a1c6a512-1295-4272-9138-f99709370657
* Integer setting changes to make all those settings consistant on the target.Jonathan Gordon2007-10-15
| | | | | | | | | wheel targets, clockwise is increase value archos player, + is increase button targets, up is increase git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15120 a1c6a512-1295-4272-9138-f99709370657
* Fix int settings being backwards on the playerJonathan Gordon2007-10-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15116 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#7952 - flip list settings didnt work properlyJonathan Gordon2007-10-15
| | | | | | | Accept FS#7956 - flip some sound settings on wheel targets so clockwise increases git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15113 a1c6a512-1295-4272-9138-f99709370657
* Fix buggy gradient display when a coloured file is selected in the browser. ↵Nicolas Pennequin2007-09-28
| | | | | | Thanks to smably for the report. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14891 a1c6a512-1295-4272-9138-f99709370657
* Make the gradient look better when more than one line is selected (running ↵Nicolas Pennequin2007-09-28
| | | | | | | | | time, ID3 info, cuesheet viewer...). I haven't found a solution for scrolling yet, so that won't look too good. The recording screen code needs a bit of adapting too, but I don't have a target to test on, so leave it for now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14884 a1c6a512-1295-4272-9138-f99709370657
* FS#7808 by Tom Ross, Ken Fazzone and me, with help from Antoine Cellerier.Nicolas Pennequin2007-09-27
| | | | | | | | | Add two new line selector types: solid colour and gradient. Solid colour only uses the primary colour setting. The secondary colour setting is used for the gradient. Text colour for the selected item is also changeable. These new settings are a bit controversial so they may be removed later. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14868 a1c6a512-1295-4272-9138-f99709370657
* Get rid of macros and do these calculations only once insteadNils Wallménius2007-09-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14770 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#7766 - crash at track transition if A-B repeat is enabled but no B ↵Steve Bavin2007-09-20
| | | | | | marker is set git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14769 a1c6a512-1295-4272-9138-f99709370657
* minor update to gui_synclist_do_button() which will hopefully simplify ↵Jonathan Gordon2007-09-17
| | | | | | | | | things later. Now returns true if the action was handled in that function instead of returning the handled action. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14733 a1c6a512-1295-4272-9138-f99709370657
* Disable wrapping of the bass and treble settings and do the same for volume ↵Nils Wallménius2007-09-15
| | | | | | in a cleaner way, closes FS#7783 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14712 a1c6a512-1295-4272-9138-f99709370657