summaryrefslogtreecommitdiff
path: root/apps/gui (follow)
Commit message (Collapse)AuthorAge
...
* Improve and simplify touchscreen handling of the quickscreen in absolut mode ↵Thomas Martitz2009-09-05
| | | | | | - and implement handling for the top item. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22637 a1c6a512-1295-4272-9138-f99709370657
* Don't forget the touchscreen targets!Thomas Martitz2009-09-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22636 a1c6a512-1295-4272-9138-f99709370657
* Put the quickscreen viewports onto the stack (saving a tiny bit of ram), and ↵Thomas Martitz2009-09-05
| | | | | | simplify the preparing and drawing functions a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22634 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#9842 by stopping scrolling before leaving the yesno screen.Thomas Martitz2009-09-05
| | | | | | Seems there are more of this scrolling problems around. In this case it's a rather old bug actually. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22633 a1c6a512-1295-4272-9138-f99709370657
* Fix bug in viewports preparation (screen.lcdwidth() isn't really proper for ↵Thomas Martitz2009-09-05
| | | | | | this in times of custom ui vp), and stop all scrolling before exiting (fixes FS#10584). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22631 a1c6a512-1295-4272-9138-f99709370657
* Alright, it seems I got scroll_stop() wrong. Using the viewport that's set ↵Thomas Martitz2009-09-04
| | | | | | before doing all the puts_scroll* calls seems to work. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22622 a1c6a512-1295-4272-9138-f99709370657
* minor line handling fixes, be smarter (well dumber actually) about ↵Jonathan Gordon2009-09-04
| | | | | | increasing the size of the tokens array, that loop isnt the only place the data->num_tokens variable gets increased... also add one last WPS_NO_TOKEN token to the end to make sure we dont accidently overrun into the next skin on the last line of a skin. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22618 a1c6a512-1295-4272-9138-f99709370657
* Fix STRIDE macro for multiscreen and add stride support for picture lib.Karl Kurbjun2009-09-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22615 a1c6a512-1295-4272-9138-f99709370657
* stop a potential crash caused by r22438Jonathan Gordon2009-09-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22614 a1c6a512-1295-4272-9138-f99709370657
* Change r22610 a bit. The new parent viewport isn't really suitable.Thomas Martitz2009-09-04
| | | | | | | The new parent might be smaller than the previous one, causing the old list to not stop scrolling. Full-screen stop scrolling isn't correct either though, so we pick the currnet ui viewport to stop scrolling. This was actually a bug (attempted to fix in r22610) discovered in the custom statusbar patch, where the lists stopped the statusbar text from scrolling. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22613 a1c6a512-1295-4272-9138-f99709370657
* Don't stop scrolling for the whole display, but only in the actual list ↵Thomas Martitz2009-09-03
| | | | | | parent viewport. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22610 a1c6a512-1295-4272-9138-f99709370657
* rename wps_[sub]line to skin_[sub]lineJonathan Gordon2009-09-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22606 a1c6a512-1295-4272-9138-f99709370657
* fix player's redJonathan Gordon2009-09-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22603 a1c6a512-1295-4272-9138-f99709370657
* Almost the last of the skin ram wastage fixing... This one moved the ↵Jonathan Gordon2009-09-02
| | | | | | | | | line/subline handling into the alloced buffer and links them more sensibly with their viewports. now it works something like this: a skin is a list of viewports, each viewport has a list of lines, each line is a list of sublines, each subline has an *index* of its first and last tokens... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22602 a1c6a512-1295-4272-9138-f99709370657
* Added a missing line for spoken QUICKSCREEN_TOP item in Quick Screen.Alessio Lenzi2009-09-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22591 a1c6a512-1295-4272-9138-f99709370657
* Add stride defines to support vertical stridesKarl Kurbjun2009-08-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22546 a1c6a512-1295-4272-9138-f99709370657
* Respect UI viewport per screen in viewport_set_defaults() also.Thomas Martitz2009-08-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22539 a1c6a512-1295-4272-9138-f99709370657
* fix FS#10465 and return GO_TO_ROOT instead of SYS_USB_CONNECTED in gui_wps_show.Teruaki Kawashima2009-08-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22538 a1c6a512-1295-4272-9138-f99709370657
* Make UI viewport handling more multiscreen aware and bring a break; ↵Thomas Martitz2009-08-29
| | | | | | accidentally back lost in a previous commit (r22485). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22537 a1c6a512-1295-4272-9138-f99709370657
* Quickscreen: 4th itemThomas Martitz2009-08-29
| | | | | | | | | | | This adds a 4th top item to the quickscreen. It's as configurable as the existing three items. This patch goes along with optimisations for small screens for better displaying of all four items. 14px font is very usable on a 64px height display for example. Left and Top items go through the items in the opposite direction, so that you can mirror a setting and toggle through it in both directions. Default item is party mode, as it's target independant. Flyspray: FS#9706 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22532 a1c6a512-1295-4272-9138-f99709370657
* Do some #ifdef'ing to make the Player happy.Thomas Martitz2009-08-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22520 a1c6a512-1295-4272-9138-f99709370657
* Fix skin engine calling wps code to draw the statusbars (add a pointer to ↵Thomas Martitz2009-08-26
| | | | | | viewportmanager-suitable statusbar values, which are the same for all screens), and re-arrange statusbar related code slightly. No functional change. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22514 a1c6a512-1295-4272-9138-f99709370657
* Make sure that skin_buffer.c #includes its own skin_buffer.hBertrik Sikken2009-08-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22497 a1c6a512-1295-4272-9138-f99709370657
* Slightly change parts of the previous commit to reuse existing code, and ↵Thomas Martitz2009-08-24
| | | | | | enforce enum statusbar_values instead of just int, git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22485 a1c6a512-1295-4272-9138-f99709370657
* Fix redraw issues when the statusbar setting was changed with an UI ↵Thomas Martitz2009-08-23
| | | | | | viewport. Now the old statusbar area is cleared upon changing the setting. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22484 a1c6a512-1295-4272-9138-f99709370657
* hopefully get the widecabbie theme going again... temporary fix only thoughJonathan Gordon2009-08-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22474 a1c6a512-1295-4272-9138-f99709370657
* Touchscreen list handling: use icon width instead of scrollbar width for the ↵Maurus Cuelenaere2009-08-22
| | | | | | 'ignoring' zone + correct comment that shouldn't be true anymore (and never was AFAIK) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22469 a1c6a512-1295-4272-9138-f99709370657
* Touchscreen list handling: ignore presses close to the scrollbar when it's ↵Maurus Cuelenaere2009-08-22
| | | | | | on the right, this is similar as how it's handled when the scrollbar is on the left (icons) and improves user experience due to touchscreen dead zones. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22467 a1c6a512-1295-4272-9138-f99709370657
* Touchscreen list handling: fix issue where scrolling with the scrollbar ↵Maurus Cuelenaere2009-08-22
| | | | | | could bring up the context menu for an item git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22465 a1c6a512-1295-4272-9138-f99709370657
* Fix/hack checkwps + add Onda VX747/VX777 targetsMaurus Cuelenaere2009-08-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22451 a1c6a512-1295-4272-9138-f99709370657
* Make the formatter functions used by the settings return a pointer to avoid ↵Nils Wallménius2009-08-20
| | | | | | usless copying of lang strings, this brought with it a long chain of const correctness and a few random cleanups git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22440 a1c6a512-1295-4272-9138-f99709370657
* Move handling of "rockbox_default.[r]wps" into wps.c, out of the skin engine ↵Thomas Martitz2009-08-20
| | | | | | (which should be as generic as possible). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22438 a1c6a512-1295-4272-9138-f99709370657
* update the display after getting a bit too close to the touchscreen instead ↵Jonathan Gordon2009-08-20
| | | | | | of just asking it nicely to change volume! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22436 a1c6a512-1295-4272-9138-f99709370657
* Slight cleanup in lcd.h: kill fixme and remove useless include, add some ↵Nils Wallménius2009-08-19
| | | | | | includes elsewhere and add a stub for sims instead of ifdef git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22431 a1c6a512-1295-4272-9138-f99709370657
* Delete the trivial commentAlexander Levin2009-08-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22426 a1c6a512-1295-4272-9138-f99709370657
* Combine the settings for scrollbar on/off and its position into one with ↵Alexander Levin2009-08-19
| | | | | | three possible values git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22425 a1c6a512-1295-4272-9138-f99709370657
* hopefully fix the yellowJonathan Gordon2009-08-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22421 a1c6a512-1295-4272-9138-f99709370657
* get the skin debug output working again, add a line to say how much of the ↵Jonathan Gordon2009-08-19
| | | | | | buffer is being used to aid themers... let me know if this gets close to full on any targets git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22420 a1c6a512-1295-4272-9138-f99709370657
* move the statically allocated tokens array into the skin buffer. this is ↵Jonathan Gordon2009-08-19
| | | | | | done with a little bit of magic with the buffer... explanation in the comments but breifly, tokens + images are stored at the front of the buffer, everything else (constant sizes) are stored at the back, the 2 ends meet when the buffer is full. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22418 a1c6a512-1295-4272-9138-f99709370657
* conditional viewports are allowed to share labels.. so make sure they are ↵Jonathan Gordon2009-08-19
| | | | | | all toggled with %xd<label> git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22417 a1c6a512-1295-4272-9138-f99709370657
* Scrollbar position: only update it when exiting the menu + FS#10539 by ↵Maurus Cuelenaere2009-08-18
| | | | | | Alexander Levin (change the order of Left/Right) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22414 a1c6a512-1295-4272-9138-f99709370657
* store the image label instead of a number so debug output is actually useful ↵Jonathan Gordon2009-08-18
| | | | | | when %xd is used witout a coresponding %xl git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22404 a1c6a512-1295-4272-9138-f99709370657
* move viewports into the skin buffer, no more viewport limit on the skinJonathan Gordon2009-08-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22403 a1c6a512-1295-4272-9138-f99709370657
* M:Robe 500: Increase the max icon size.Karl Kurbjun2009-08-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22393 a1c6a512-1295-4272-9138-f99709370657
* Add setting to position the scrollbar on the left or rightMaurus Cuelenaere2009-08-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22390 a1c6a512-1295-4272-9138-f99709370657
* FS#10534: Make scrollbar width variable through a setting (useful for ↵Maurus Cuelenaere2009-08-17
| | | | | | touchscreen targets) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22387 a1c6a512-1295-4272-9138-f99709370657
* Skin engine: add "pitch" action to touch regionsMaurus Cuelenaere2009-08-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22375 a1c6a512-1295-4272-9138-f99709370657
* fix the %xd<id> tag parser to complain if you try to display an image it ↵Jonathan Gordon2009-08-17
| | | | | | hasnt loaded yet git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22373 a1c6a512-1295-4272-9138-f99709370657
* Remove obsolete IMG_BUFSIZE #define.Thomas Martitz2009-08-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22368 a1c6a512-1295-4272-9138-f99709370657
* Fix ret for buttonbar targets.Thomas Martitz2009-08-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22366 a1c6a512-1295-4272-9138-f99709370657