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:

Welcome to the Rockbox Technical Forums!

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

Author Topic: brushed metal theme  (Read 8372 times)

Offline ZincAlloy

  • Member
  • *
  • Posts: 488
Re: Work in progress: brushed metal
« Reply #15 on: March 25, 2008, 11:35:56 AM »
what's wrong with the current build? Seems like it's not possible to display images (other than the backdrop) under a viewport anymore. this worked with the simulator and was very useful...

here's my code

Quote
# brushed metal
# (C) 2008, Johannes Voggenthaler (Zinc Alloy)
%wd
%X|bmwpsbd.bmp|0|0|
%P|pb.bmp|
%xl|A|pause.bmp|190|5|
%xl|B|hd.bmp|11|159|
%xl|C|coverspacer.bmp|18|34|
%Cl|22|38|s75|s75|
%pb|10|18|203|120|
%?mp<||%xdA||>
%?C<%C>
%?C<%xdC|>
%?lh<%xdB|>
%V|129|9|20|20|1|000000|ffffff|
%bl
%V|171|9|20|20|1|000000|ffffff|
%pv
%V|15|40|186|80|1|000000|ffffff|
%?C<%s%m|91|%al%?it<%it|%fn>|%s%ac%?it<%it|%fn>>
%?C<%s%m|91|%al%?ia<%ia|%?d2<%d2|(root)>>|%s%ac%?ia<%ia|%?d2<%d2|(root)>>>
%?C<%s%m|91|%al%?id<%id|%?d1<%d1|(root)>>|%s%ac%?id<%id|%?d1<%d1|(root)>>>
%?C<%s%m|91|%al%iy|%s%ac%iy>

%?C<%s%m|91|%alNext:%?It<%It|%Fn>|%s%acNext:%?It<%It|%Fn>>
%V|0|135|219|20|1|000000|ffffff|
%al      %pc%ac%pp of %pe%ar%pr    
%V|30|159|35|15|1|000000|ffffff|
%?ps
%V|70|159|70|15|1|000000|ffffff|
%?mm<|Repeat All|Repeat One|Repeat Shuffle|Repeat A-B>
%V|145|159|35|15|1|000000|ffffff|
%?mh

* dump 080325-163035.jpg (12.55 kB, 220x176 - viewed 281 times.)
« Last Edit: March 25, 2008, 11:39:31 AM by ZincAlloy »
Logged

Offline bzavala

  • Member
  • *
  • Posts: 102
Re: Work in progress: brushed metal
« Reply #16 on: March 25, 2008, 12:53:22 PM »
I am also having problems with the latest code and viewports WPS.

I was having a problem with displaying volume/battery level images and someone suggest to put those before the viewport lines. That worked for me.

For some reason, if I use %?C<%C>  the albumart is not displayed, so only try %C

My problem right now is that I have text (viewports) to the left of the album art, and I am getting blank lines on top of the album art. I haven't had a chance to play with it to see if that is what's causing it.

Ben
Logged

Offline PaulJam

  • Member
  • *
  • Posts: 170
Re: Work in progress: brushed metal
« Reply #17 on: March 25, 2008, 12:56:37 PM »
Hi, you can still display images inside viewports by placing the %xd tags in the viewport. The coordinates from the %xl tag are relative to the viewport.
But in your WPS the coverspacer.bmp or albumart is only half under the viweport, so you have to increase the size of the viewport a little bit.
Logged

Offline bzavala

  • Member
  • *
  • Posts: 102
Re: Work in progress: brushed metal
« Reply #18 on: March 25, 2008, 01:01:58 PM »
just noticed something: is the | needed for this line:

%?C<%C>

to be

%?C<%C|>

this one seemed to work, correct?

%?C<%xdC|>
Logged

Offline ZincAlloy

  • Member
  • *
  • Posts: 488
Re: Work in progress: brushed metal
« Reply #19 on: March 25, 2008, 04:46:43 PM »
well, it seemed to work on the simulator..

Quote from: PaulJam on March 25, 2008, 12:56:37 PM
Hi, you can still display images inside viewports by placing the %xd tags in the viewport. The coordinates from the %xl tag are relative to the viewport.
But in your WPS the coverspacer.bmp or albumart is only half under the viweport, so you have to increase the size of the viewport a little bit.

but the cover art and text positioning need to be independent from each other. I thought that was the actual point of viewports
« Last Edit: March 25, 2008, 04:54:21 PM by ZincAlloy »
Logged

Offline terrence1019

  • Member
  • *
  • Posts: 128
Re: Work in progress: brushed metal
« Reply #20 on: March 26, 2008, 01:20:12 AM »
Two things:

1) When there's no album art, can you use a pic of a carved out rockbox symbol?

2) Instead of a "Energizer" type battery icon, can you use a fancier icon, like a   a few blocks
Logged

Offline ZincAlloy

  • Member
  • *
  • Posts: 488
Re: Work in progress: brushed metal
« Reply #21 on: March 26, 2008, 07:26:01 AM »
1) No. With no album art present the text will get centered
2) I like the battery icon...

Quote from: bzavala on March 25, 2008, 01:01:58 PM
just noticed something: is the | needed for this line:

%?C<%C>

to be

%?C<%C|>

just looked it up on the wiki. the "else" part is optional, so both versions are right

edit:
just had a chat with linuxstb. my theme worked on the simulator because of a bug that is fixed now. I'll have to wait for viewport conditionals to make it work.
« Last Edit: March 26, 2008, 02:49:11 PM by ZincAlloy »
Logged

Offline ZincAlloy

  • Member
  • *
  • Posts: 488
Re: Work in progress: brushed metal
« Reply #22 on: April 06, 2008, 02:44:39 PM »
ok, found a simple workaround.
The theme can now be found in the h300 wps gallery.

Enjoy!
Logged

Offline ZincAlloy

  • Member
  • *
  • Posts: 488
Re: Work in progress: brushed metal
« Reply #23 on: June 25, 2008, 06:39:11 AM »
updated to work with current builds
Logged

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

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

Page created in 0.13 seconds with 21 queries.