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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Non-linear Progress bar
« previous next »
  • Print
Pages: [1] 2

Author Topic: Non-linear Progress bar  (Read 5329 times)

Offline druidfire217

  • Member
  • *
  • Posts: 10
Non-linear Progress bar
« on: December 27, 2006, 04:38:05 PM »
Hey All,
     I am a bit ambitious and going to try and make a WPS based on the Lord of the Rings.  Never tried one of these before, so it might take some time.  My idea was for the progress bar to be aligned in an arch, (Mines of Moria entrance) and have the degree of illumination around it signify how far it is.  It would start at the bottom left, go up and over the arch, and back down on the right.  Has anyone tried anything like this, or have any experience with something like this?  I checked out the WPS How-To wiki page, and it didnt seem to have anything.  Looking for any advice, pointers, how-to's, etc.  Thanks.
Logged

Offline delorean90

  • Member
  • *
  • Posts: 104
  • My iriver is dead
    • My Myspace
Re: Non-linear Progress bar
« Reply #1 on: December 27, 2006, 05:37:18 PM »
i do not know how to make a progress bar like you are explaining, but im 75% sure it can be done, i saw a wps that used a pulse to show progress, you could try looking around the wps gallery to see if it is possible
Logged
Proud owner of a sansa view 16gb, fingers crossed for a rockbox port :)

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: Non-linear Progress bar
« Reply #2 on: December 27, 2006, 05:39:51 PM »
As far as I know, the "progress" is just from left to right.

Might be a cool idea to have the progress bar be done like how a volume graphics are done. Over time, the image changes. Maybe something to ask in feature requests.  ;D
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline Hweb21

  • Member
  • *
  • Posts: 164
Re: Non-linear Progress bar
« Reply #3 on: December 27, 2006, 08:35:54 PM »
yes this can work, just have an image like this(Just made this and a wps to test this in just a few minutes)


test tag lines

%X|bground.bmp|
%P|pbar.bmp|
%wd

%?it <%it|%fn>

%pb|2|48|115
« Last Edit: December 27, 2006, 08:40:28 PM by HWEB21 »
Logged

Offline Yotto

  • Artist
  • Member
  • *
  • Posts: 826
  • Every Silver Lining has a Cloud
    • My Blog
Re: Non-linear Progress bar
« Reply #4 on: December 27, 2006, 09:53:47 PM »
Note, that trick will work (to great effect in some cases) but the progress bar is still just going left-right filling in.  You can't make it do a curley-q or anything like that, or get brighter over time.
Logged
Pulp Audio Weekly - Where we talk about News, Reviews, and pretty much anything else we feel like discussing.

Offline mightybrick

  • Member
  • *
  • Posts: 223
  • I Administer Radiation
Re: Non-linear Progress bar
« Reply #5 on: December 28, 2006, 12:51:56 AM »
Take a look at madsic's jack theme for an example.  You can open up the .wps file of that theme to see how he coded it.
Look here: http://www.rockbox.org/twiki/bin/view/Main/WpsIpodNano#Jack
Logged

Offline druidfire217

  • Member
  • *
  • Posts: 10
Re: Non-linear Progress bar
« Reply #6 on: December 28, 2006, 08:06:57 PM »
So, from what I understand, as long as it doesnt double back on itself, it is possible?  Would it be possible to change the speed that it runs at, in order to make sure that it doesnt shoot up the sides and then take forever (from a timing view) across the top?

I will look over the examples that you all have given.  Thanks for the responses.  This should be a long time in coming, as I dont have almost any experience with making pictures or WPS's.

Hweb21, can you please send me a more detailed explanation of what the code itself is doing?  I am still trying to figure out the different codes, and I dont have my cheat sheet in front of me.  If you want to email it, just send it to @gmail.com.  Thanks again.
Logged

Offline Hweb21

  • Member
  • *
  • Posts: 164
Re: Non-linear Progress bar
« Reply #7 on: December 28, 2006, 09:57:30 PM »
Here is a test wps just for it.

http://rapidshare.com/files/9347979/TTBAR.zip.html

you can test this on a x5 simulator downloadable here

http://rasher.dk/rockbox/simulator/

pbar image is the progressive bar
bground image is the background

Progressive bar goes from left to right and the pink area is like a see through area so all you see is the white for the progressive bar.

%pb|2|0|160 = the progressive bar starts at 0 and goes to 160 (thats why my pbar image is 160X128)
Logged

Offline druidfire217

  • Member
  • *
  • Posts: 10
Re: Non-linear Progress bar
« Reply #8 on: December 29, 2006, 07:36:31 PM »
Ok, thanks for the explanation.  Is the pink a standard "invisible" color, or does it need to be specified somehow?
Last question, what is the 2 for in %pb|2|0|160.  Thanks.
Logged

Offline DanManners

  • Artist
  • Member
  • *
  • Posts: 161
  • Eating Babies Since 1991!
    • Myspace (Add Me!!)
Re: Non-linear Progress bar
« Reply #9 on: December 29, 2006, 08:21:53 PM »
the 2 is the height of the progress bar. 0 says it starts at the very left of the screen, and the 160 says it goes to the other side of the screen in this case.
Logged

Offline Hweb21

  • Member
  • *
  • Posts: 164
Re: Non-linear Progress bar
« Reply #10 on: December 29, 2006, 09:30:49 PM »
Quote from: druidfire217 on December 29, 2006, 07:36:31 PM
Ok, thanks for the explanation.  Is the pink a standard "invisible" color, or does it need to be specified somehow?
Last question, what is the 2 for in %pb|2|0|160.  Thanks.

The pink is a standard invisible color,
The number 2 is not important when you have a picture for the progressive bar, i could have put 5 if i wanted to. ;)
Logged

Offline druidfire217

  • Member
  • *
  • Posts: 10
Re: Non-linear Progress bar
« Reply #11 on: January 04, 2007, 03:18:56 PM »
Thanks for all of the explanations.  Hopefully I will have the dedication to actually finish it one day.
Logged

Offline Flid

  • Member
  • *
  • Posts: 196
Re: Non-linear Progress bar
« Reply #12 on: January 05, 2007, 08:19:52 AM »
Just a quick comment to Druid... the "pink" is a very specific pink (R:255,G:0,B:255), otherwise it won't be "invisible".

Also... won't the full screen progressbar cause flickering with any text or other icon images overlayed?
Logged

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: Non-linear Progress bar
« Reply #13 on: January 05, 2007, 08:29:36 AM »
Also to add to Flids comment:

The colour (R:255,G:0,B:255) in hex is FF00FF.  ;)

I agree also with the flickering problem, especially if the text is scrolling.
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline druidfire217

  • Member
  • *
  • Posts: 10
Re: Non-linear Progress bar
« Reply #14 on: January 05, 2007, 09:22:20 PM »
I was planning on having the arch go up and over, and have the center be "invisible".  I was hoping to put text or Album Art under/in the center of the arch, but wont if that will cause major problems.  Thanks for the specific color code.  I was wondering about that.
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Non-linear Progress bar
 

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

Page created in 0.12 seconds with 14 queries.