summaryrefslogtreecommitdiff
path: root/apps/gui/scrollbar.c (follow)
Commit message (Collapse)AuthorAge
* skin_engine: New param "noborder" for the bar tags.Thomas Martitz2014-01-12
| | | | | | | | | | By specifying this param the bar will not have a border/box. Instead the inner part that fills up is maximized on the bar area. Note that this only affects bars using foreground and background colors, not those constructed with images. Change-Id: Ib8dd49ecbaf9e16b96de840f5f365871b73d4fa4
* Add new lcd_bmp and lcd_bmp_part APIs.Thomas Martitz2011-11-08
| | | | | | | | This new APIs wrap around lcd_[mono|transparent]_bitmap/_part calls and handle all kinds bitmaps. The intended use is to draw bitmaps that come from read_bmp_fd/_file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30936 a1c6a512-1295-4272-9138-f99709370657
* New option for the bar tags: 'backdrop, <label>' will draw another image ↵Jonathan Gordon2011-01-24
| | | | | | | | | | | | under the progressbar (only works with image and slider bars) example: %V(22,253,198,14,-) %xl(a,PLAY_BAR_BACKDROP-240x320x16.bmp,0,0) %pb(0,0,198,14,PLAY_BAR-240x320x16.bmp, backdrop, a) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29127 a1c6a512-1295-4272-9138-f99709370657
* fix displaying of the slider when default is used for pb->y and pb->height.Teruaki Kawashima2010-10-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28220 a1c6a512-1295-4272-9138-f99709370657
* correct drawing of the bar type tags when nofill is set.Teruaki Kawashima2010-10-03
| | | | | | | draw the slider bitmap before drawing A-B repeat markers so that they are visible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28204 a1c6a512-1295-4272-9138-f99709370657
* A bunch of new features for the bar type tags (%pb, %pv, %bl, etc):Jonathan Gordon2010-08-15
| | | | | | | | | | | | | | | | | | | | * the bar orientation (horiz/vert) is now chosen based on the width and heigt values (or can be forced). * the fill direction can now be inverted (fill right to left, or top to bottom is considered inverted) * It can now draw a slider type bar instead of a fill type (or indeed a slider with a fill type) To configure the new bar, any (or all) of the following params can be used after the bmp filename (order makes no difference either): invert - cause the bar to fill in the inverted direction vertical - draw a vertical bar (not needed if the height > width) horizontal - draw a horizontal bar (this is obviously the default) nofill - dont draw the filling bar (this still draws the outline, obviously pointless without the slider param) slider - draw an image for the slider. The next param MUST be the label of the image to draw. No option to use a subimage here, so the whole image needs to be the image you want on the slider. example: %pb(0,0,-,-,-,nofill, slider, slider_image, invert) - draw a boring horizontal progressbar which doesnt fill and only draws the image "slider_image" which moves right to left. the slider type might need some tweaking. let us know how it goes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27821 a1c6a512-1295-4272-9138-f99709370657
* pass pointers around instead of coping whole structsJonathan Gordon2010-05-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26197 a1c6a512-1295-4272-9138-f99709370657
* scrollbar.c: Simplify code a bit.Teruaki Kawashima2010-02-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24694 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
* 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
* Slightly more compact boundary check.Jens Arnold2009-04-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20691 a1c6a512-1295-4272-9138-f99709370657
* Fix the scrollbar boundary checking to prevent the player from freezing on ↵Karl Kurbjun2009-04-11
| | | | | | screens that are too small to show the list with the font selected. Correct the M:Robe remote screen height. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20690 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
* Break out some duplicated code into a seperate functionNils Wallménius2007-11-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15802 a1c6a512-1295-4272-9138-f99709370657
* Address FS#6310 - shows an "infinite" slider when deleting/copying/moving files.Jonathan Gordon2007-08-05
| | | | | | | maybe add this to other parts of the code so it doesnt look like the ui has stalled git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14189 a1c6a512-1295-4272-9138-f99709370657
* Fix bug in large-value handling of gui_scrollbar_draw() that went unnoticed ↵Jens Arnold2006-11-25
| | | | | | for ages... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11587 a1c6a512-1295-4272-9138-f99709370657
* One little thing needed changing in gui_bitmap_scrollbar_draw.Michael Sevakis2006-10-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11211 a1c6a512-1295-4272-9138-f99709370657
* Added inner fill option to normal scrollbar and foreground only option. ↵Michael Sevakis2006-10-13
| | | | | | Added a left-pointing cursor for using pointer. Updated color picker and now sliders look very good on color, grayscale and mono screens when using bar selector. Some misc. changes for appearance. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11210 a1c6a512-1295-4272-9138-f99709370657
* add a bitmap progress bar option + add %P|filename.bmp| tag to the WPSBen Basha2006-02-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8648 a1c6a512-1295-4272-9138-f99709370657
* Multi screen support for playlist viewer, some fixes in other gui filesKevin Ferrare2005-11-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7901 a1c6a512-1295-4272-9138-f99709370657
* Corrected a bug on archos with buttonbar which was erased when filetree ↵Kevin Ferrare2005-10-30
| | | | | | refreshed (mistake introduced in 2005/10/29 commit; Changed some copyrights in the files (I hope this time will be the good one and the last one ! ) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7684 a1c6a512-1295-4272-9138-f99709370657
* Changed some fn names, also corrected a bug with fonts and made the filetree ↵Kevin Ferrare2005-10-28
| | | | | | work like the original one (stop on reaching list limits when pressing button) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7679 a1c6a512-1295-4272-9138-f99709370657
* Initial multi screen support by Kévin Ferrare (Patch #1318081)Linus Nielsen Feltzing2005-10-28
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7666 a1c6a512-1295-4272-9138-f99709370657