Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  customizing the progress bar
« previous next »
  • Print
Pages: [1]

Author Topic: customizing the progress bar  (Read 1347 times)

Offline aebstract

  • Member
  • *
  • Posts: 1
customizing the progress bar
« on: March 19, 2009, 09:40:42 AM »
Okay your basic code for a progress bar, will just use a bitmap and I assume show a % of it as the song plays. Is there any way to have say another image on top of that that displays and kinda slides along the bar at that percentage? So let's say my bitmap looks like this:

|----------|

and I have an image 'o' that I want to slide with the loader. So 20%:

|--o        |

70%

|-------o  |

etc.
Hope this makes sense. Thanks!



EDIT:
Okay, so I've done a little searching, and the only thing I am able to find so far is bar sliding. I am assuming you basically take like a circle bmp and it will slide alone the bar path? Could I possibly use a wide bmp and position it off the screen so that when it slides, it appears to be changing the image that it slides over. I may have a go at this and see how it turns out.
« Last Edit: March 19, 2009, 08:51:46 PM by aebstract »
Logged

Offline tdtooke

  • Member
  • *
  • Posts: 151
Re: customizing the progress bar
« Reply #1 on: March 24, 2009, 02:57:35 PM »
You could use the %px tag and some conditionals to display an image over your bar to kinda mimick a slider as time goes.  There was a patch that was specifically for exactly what you want to do, but it's been rejected.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  customizing the progress bar
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.061 seconds with 15 queries.