Theme Engine: Fix progress bar slider (FS#12823)
commitee758c5a97f8755e5f2ae2583ce757201450c106
authorAlex Mayer <magictrick4906@aim.com>
Wed, 23 Jan 2013 01:44:18 +0000 (22 20:44 -0500)
committerJonathan Gordon <rockbox@jdgordon.info>
Tue, 19 Feb 2013 06:27:54 +0000 (19 07:27 +0100)
tree2fa923bddf4ab2026127951a92fd622e1a5ebbf8
parentbc0524251796b882705f37f1f270145530ef63fa
Theme Engine: Fix progress bar slider (FS#12823)

Fix the need to resize progress bar when using a slider.
Slider stays in bounds. Progress bar is not resized.
Works well with square sliders that should not overlap
edge of progress bar. also works with rounded sliders.

You can also make progress bar the full width of screen
while using a slider. Before if you would make the
progress bar the full width of the screen and add a slider
the progress bar would look like it was padded on both ends.

This fixes FS#12823

Change-Id: I60345efc5cd0f46286f2591ed032f0d9320d1c3e
Reviewed-on: http://gerrit.rockbox.org/402
Reviewed-by: Hayden Pearce <saint.lascivious@gmail.com>
Tested-by: Hayden Pearce <saint.lascivious@gmail.com>
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
apps/gui/skin_engine/skin_display.c [changed mode: 0644->0755]