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
| | |-+  Cleardark Video
« previous next »
  • Print
Pages: 1 [2]

Author Topic: Cleardark Video  (Read 10869 times)

Offline Febs

  • Member
  • *
  • Posts: 2701
Re: Cleardark Video
« Reply #15 on: August 31, 2006, 08:54:49 AM »
Can you post your battery icons.  I suspect your problem is the same as the problem you had with the volume icons, but please put one or two of the battery icon .bmps.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way
Please do not send me support questions via PM.

Offline BigMac

  • Member
  • *
  • Posts: 174
Re: Cleardark Video
« Reply #16 on: August 31, 2006, 09:18:47 PM »
here


Logged

Offline Blackflag_Rms13

  • Member
  • *
  • Posts: 9
Re: Cleardark Video
« Reply #17 on: August 31, 2006, 09:43:31 PM »
I know with volume you can only have like 7(IIRC) levels and if you use more it doesn't work. The same for battery perhaps? Like maybe only 4/5 levels?...
Logged
http://www.zero-17.net

Offline Yotto

  • Artist
  • Member
  • *
  • Posts: 826
  • Every Silver Lining has a Cloud
    • My Blog
Re: Cleardark Video
« Reply #18 on: August 31, 2006, 10:34:37 PM »
Quote from: Blackflag_Rms13 on August 31, 2006, 09:43:31 PM
I know with volume you can only have like 7(IIRC) levels and if you use more it doesn't work. The same for battery perhaps? Like maybe only 4/5 levels?...

Actually, Volume is 11, as in "But ours goes up to..." (Actually, it's 0-10 but I love that quote).  Battery is 5 (0-4).

Looking though the Wiki just now, I noticed that the text doesn't actually say that, which is odd.  Either it changed very recently or I just haven't looked at it... Ever.

My battery on my currenty WPS is:
Code: [Select]
%?bp<%xdm|%?bl<%xdn|%xdo|%xdp|%xdq|%xdr>>
Which means:

"Check if it's charging.  If so, display the charging graphic of "m", otherwise, show graphics "n" "o" "p" "q" or "r" which are the 5 normal battery icon grapics"

BigMac, all I can suggest to you is try putting it on its own line.  It doesn't "have" to be, but maybe there is some weird interaction.  Make your WPS code look something more like:

Code: [Select]
%ac%bt - %cH:Mc
%?mp<|%xdk|%xdl|%xdm|%xdn>
%?mh<%xdw|>
%?bl<%xdo|%xdp|%xdq|%xdr|%xds>

And put all your image precaching at the top, but all your image displaying at the bottom.  It makes the WPS far easier to read than having stuff all over the place.
Logged
Pulp Audio Weekly - Where we talk about News, Reviews, and pretty much anything else we feel like discussing.

Offline BigMac

  • Member
  • *
  • Posts: 174
Re: Cleardark Video
« Reply #19 on: September 01, 2006, 02:32:39 PM »
so i delete all my coding and replace it with the two segments you gave me?
Keep ROCKing on!
Logged

Offline Yotto

  • Artist
  • Member
  • *
  • Posts: 826
  • Every Silver Lining has a Cloud
    • My Blog
Re: Cleardark Video
« Reply #20 on: September 01, 2006, 03:30:30 PM »
No.

The one thing I won't do is write all your code for you.  You won't learn anything that way.  I'm giving you suggestions that will (hopefully) fix your problems and teach you things about WPS creation.
Logged
Pulp Audio Weekly - Where we talk about News, Reviews, and pretty much anything else we feel like discussing.

Offline BigMac

  • Member
  • *
  • Posts: 174
Re: Cleardark Video
« Reply #21 on: September 01, 2006, 05:04:14 PM »
that's what i was thinking. but i don't get were you want me to add this stuff.
Logged

Offline pixelma

  • Rockbox Expert
  • Member
  • *
  • Posts: 645
Re: Cleardark Video
« Reply #22 on: September 04, 2006, 04:58:07 AM »
Quote
Actually, Volume is 11, as in "But ours goes up to..." (Actually, it's 0-10 but I love that quote).  Battery is 5 (0-4).

Looking though the Wiki just now, I noticed that the text doesn't actually say that, which is odd.  Either it changed very recently or I just haven't looked at it... Ever.
Yes, it was changed about one week ago as stated in this commit message:

Code: [Select]
26 Aug 13:25 - Magnus Holmgren - apps/gui/gwps-common.c 1.61 -
Make volume and battery level enums dynamic, inspired by patch 4802. Almost backwards compatible;
for the battery level, the first enum is used when the level is unknown, while the remaining enums are used as before.

The commiter himself edited the CustomWPS wiki page the same day - I suggest reading it thouroughly. Now you can have as many enums as you like for the battery level and volume icons - but be aware of the "-1" option for battery level - I guess that's the problem and also (almost?) all WPSs currently in CVS are wrong on that one ATM...
« Last Edit: September 04, 2006, 05:06:00 AM by pixelma »
Logged

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

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

Page created in 0.101 seconds with 14 queries.