Rockbox Technical Forums

Support and General Use => Theming and Appearance Customization => Topic started by: DrewVosburg on January 20, 2011, 09:24:14 AM

Title: "Thin Basic" Theme
Post by: DrewVosburg on January 20, 2011, 09:24:14 AM
Theme for every device with a color screen (except the Sansa C200 and touch devices).

If you find any bugs, have suggestions, or any feedback, please put it here.
Title: Re: Thin Basic 1.5 for Sansa Fuze
Post by: Progweed on January 21, 2011, 06:22:54 AM
That's a really cool one. Probably the most configurable theme ever.

The only thing I would perhaps change is the next song info. You could make that more language agnostic by using %Sx(Next). Of course this is not really an issue, just something that struck me as not following your general rule of "make everything dependent on the users settings".
Title: Re: Thin Basic 1.5 for Sansa Fuze
Post by: DrewVosburg on January 21, 2011, 07:01:06 AM
You could make that more language agnostic by using %Sx(Next).

Trust me, I am painfully aware of this.  However, using the %Sx tag here breaks the wps.  I am not sure the word "Next" is in the language file.  The other words that were blowing up with %Sx were "Recording" and "Paused," both of which can be found right in a row in the "Bottom Info" section of the .sbs.

If anyone knows how to get these to cooperate, that would be very useful.
Title: Re: Thin Basic 1.5 for Sansa Fuze
Post by: Progweed on January 21, 2011, 07:43:23 AM
I think it has to be %Sx(Next:) At least that always worked for me.

It's useful to browse english.lang to find the exact translatable strings:

http://svn.rockbox.org/viewvc.cgi/trunk/apps/lang/english.lang
Title: Re: Thin Basic 1.5 Theme
Post by: DrewVosburg on January 21, 2011, 09:20:47 AM
Cool, it works.  Expect an update in the next week, i found a typo in the code as well.  i don't think it is visible in the theme, but it's there.
Title: Re: "Thin Basic" Theme
Post by: DrewVosburg on January 25, 2011, 01:39:29 PM
I have ported this theme to all color rockbox devices!  If you own one of the devices that is listed at the top, please test out the theme and tell me what you think.  The top status bar now changes with the foreground color, and the controls are all transparent, so they change with the backdrop.

I am half way through uploading all the ports.  I'm trying to go by most popular first, doing minor bug-checking as I take screenshots.  If you have a (non-touch) rockbox device with a color screen that isn't listed above, i will get it online some time in the next few days (schedule permitting).

UPDATE 1/26
I can't get the Sansa C200 port to upload due to a checkwps error that doesn't make sense, so I'm gonna leave it on my hard drive, and if someone wants it, they can PM me.
Title: Re: "Thin Basic" Theme
Post by: JdGordon on January 26, 2011, 08:21:17 AM
email the whole zip to rockbox@NOSPAMjdgordon.info (remove NOSPAM obviously) and i'll try to figure out whats the problem
Title: Re: "Thin Basic" Theme
Post by: RockBoxFan on January 26, 2011, 10:12:37 AM
VERY nice theme, thanks! (Nano 1g)
Title: Re: "Thin Basic" Theme
Post by: DrewVosburg on January 27, 2011, 12:41:29 AM
I'm having another port blow up on upload: Onda VX777, which is the first touch port of the theme.
Title: Re: "Thin Basic" Theme
Post by: JdGordon on January 27, 2011, 06:15:06 AM
the c200 theme hs run out of skin buffer! thats why it wont load... too many images probably. vx777 is prob the same.

I need to fix the error messages i tihnk
Title: Re: "Thin Basic" Theme
Post by: DrewVosburg on January 27, 2011, 08:10:52 AM
the c200 theme hs run out of skin buffer! thats why it wont load...
I would agree, but on the simulator it does load, everything displays, and it tells me i'm using 136/154kb of skin ram.

Basically, I need to know how to minimize skin ram intelligently, since the simulator is being deceptive.

too many images probably.
Too large a number of images, or too large in file size?
Title: Re: "Thin Basic" Theme
Post by: JdGordon on January 27, 2011, 05:04:02 PM
the total load size of the images is too large (probably). It shouldnt load  in one and not the other so maybe I'll have a look over the weekend
Title: Re: "Thin Basic" Theme
Post by: JdGordon on October 15, 2012, 11:04:24 PM
Drew: hey, big bump. this .sbs stack overflows the nano (i.,e crashes) and it looks like you've got some really messy code there which can be cleaned up.

it looks like you're drawing numbers from the clock and volume value. The easiest way to do this is using a font http://www.rockbox.org/wiki/CustomWPS#Fonts and setting the viewport with that font.
The next easiest way to do it is with the substring tag http://www.rockbox.org/wiki/CustomWPS#Substring whih would allow you to do something like: %xd(N, %ss(2, 1, %pv))
Title: Re: "Thin Basic" Theme
Post by: 4tonyredgrave on May 13, 2014, 01:03:21 AM
I've got an ipod classic 6g, and I totally love your theme, but the thing is every time I play or pause my music on the wps, the top bar disappears and the time and battery and stuff look glitchy. Is there any way you could fix that or help me fix that, because I really want to use your theme.
Title: Re: "Thin Basic" Theme
Post by: staniislas on August 05, 2016, 09:57:04 AM
Well, it may be too late but... It's my favorite theme on iRiver h320 and unfortunately it crashes my player each time I try to apply it since the last Rockbox release. Any plan to update it ?
Title: Re: "Thin Basic" Theme
Post by: lebellium on August 15, 2016, 07:15:18 AM
If you can live with graphic volume instead of numeric volume, I would suggest you to comment out in ThinBasic.sbs all lines between
Line 113 # ***** NUMERIC VOLUME *****
and
Line 135 #Graphic Volume

Then it would load properly on H320. I checked on device with the latest development build (don't use the too old 3.13 release)

But still, there are several other problems like the status bar background disappearing when changing the playback mode.

Ideally the whole code should be cleaned up and optimized as JdGordon already suggested some posts above. I don't really have motivation and time for it.