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

Author Topic: Customisable Statusbar  (Read 8924 times)

Offline kugel.

  • Developer
  • Member
  • *
  • Posts: 271
Re: Customisable Statusbar
« Reply #15 on: November 03, 2009, 07:01:02 AM »
It's perhaps doable, but difficult (code-wise). The WPS as a screen is part of the control flow, while the statusbar (neither the classic nor the new custom one) is not.
Logged
 

Offline Biont

  • Member
  • *
  • Posts: 49
Re: Customisable Statusbar
« Reply #16 on: November 03, 2009, 07:35:54 AM »
That's bad. It would really make navigating a lot more intuitive.

Sadly, all I can offer is to make awesome themes out of it once it's implemented. I can't code at all. (and I don't think I'll learn it soon enough to be of value here :'( )
Logged

Offline Ste-

  • Member
  • *
  • Posts: 76
Re: Customisable Statusbar
« Reply #17 on: November 03, 2009, 02:02:22 PM »
Below is the statusbar I made for the Sansa e200 v1/v2
I also made one for the h300 but it's more like the ipod classic menu and shows what can be done.


Code: [Select]
%X|wpsbackdrop-176x220x16.bmp|
%Vi|0|0|170|170|-|-|-|
%xl|A|lock-176x220x16.bmp|51|0|2|
%xl|B|battery-176x220x16.bmp|73|2|10|
%xl|C|volume-176x220x16.bmp|97|2|10|
%xl|D|shuffle-176x220x16.bmp|119|3|
%xl|E|repeat-176x220x16.bmp|144|0|4|
%xl|F|playmode-176x220x16.bmp|159|0|5|
%V|5|182|166|8|-|-|-|
%pb|pb-176x220x16.bmp|0|0|166|8|
%V|0|192|176|10|1|-|-|
%al    %pc%ac%pp of %pe%ar%pr   
%V|0|204|176|14|1|-|-|
%al   %ck:%cM
%?bp<%?bc<%xdBa|%xdBb>|%?bl<|%xdBc|%xdBd|%xdBe|%xdBf|%xdBg|%xdBh|%xdBi|%xdBj>>
%?pv<%xdCa|%xdCb|%xdCc|%xdCd|%xdCe|%xdCf|%xdCg|%xdCh|%xdCi|%xdCj>
%?ps<%xdD>
%?mm<|%xdEa|%xdEb|%xdEc|%xdEd>
%?mp<%xdFa|%xdFb|%xdFc|%xdFd|%xdFe>
%?mh<%xdAa|%xdAb>

* dump 091103-163209.png (15.82 kB, 176x220 - viewed 258 times.)

* H300.png (24.33 kB, 220x176 - viewed 575 times.)
Logged
Current Rocbox Devices: iAudio X5 240GB, Toshiba Gigabeat S240, iPod Classic 160GB, iPod Mini 2nd Gen 64GB, iRiver H360, Toshiba Gigabeat F40, iPod Video 30GB, Sansa e280v2, Sansa Fuzev2 8GB, Sansa Clip+ 8GB, Sansa Clip Zip 8GB, Sansa Fuze+ 4GB

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Customisable Statusbar
« Reply #18 on: November 03, 2009, 07:04:08 PM »
nice... icons look funny though... I was wondering how long it would take for someone to do that sort of theme.
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline WbL

  • Member
  • *
  • Posts: 3
Re: Customisable Statusbar
« Reply #19 on: November 04, 2009, 03:27:17 PM »
The current svn snapshot causes that it is not possible to use fonts with custom statusbar. It doesn't matter which font I use, it display a very small one. If I disable custom status bar, the font is that one I've chosen before.

I think r23507 caused this. I compiled now r23506 to avoid this and it works...
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Customisable Statusbar
« Reply #20 on: November 04, 2009, 03:38:08 PM »
interesting... paste your .sbs file please?
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline WbL

  • Member
  • *
  • Posts: 3
Re: Customisable Statusbar
« Reply #21 on: November 04, 2009, 04:46:37 PM »
Code: [Select]
%Vi|45|0|228|200|0|-|-|



%V|7|4|38|10|0|-|-|

%al%cH:%cM



%V|276|4|44|30|0|-|-|

Battery

%ac%bt

%ac(%bl%%)



# volume info

%V|0|180|44|30|0|-|-|

%ac%pv

%ac%pp/%pe



# mp3 info

%V|274|180|46|30|0|-|-|

%ac%fc%fv

%ac%fbkb/s





%V|0|200|320|40|0|-|-|





# Song info viewport

%V|8|206|304|10|0|-|-|                     

&s%al%ia %ar%id



# Playlist/song position (above progress bar)

%V|8|216|40|10|0|CCCCCC|-|

&s%al%pc

%V|48|216|224|10|0|CCCCCC|-|

%ac%it

%V|272|216|40|10|0|CCCCCC|-|

%ar%pt



# Progress bar

%V|8|225|304|10|-|-|-|

%pb|prog-320x240x16.bmp|0|0|-|-|

Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Customisable Statusbar
« Reply #22 on: November 04, 2009, 04:59:09 PM »
you are setting the font to 0 in all those viewports which is the sysfont, change ti to 1
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline WbL

  • Member
  • *
  • Posts: 3
Re: Customisable Statusbar
« Reply #23 on: November 04, 2009, 05:16:15 PM »
Ok, then the behavior changed. Thanks a lot I will try this as soon as possible.

// edit:
thanks a lot, it works by setting the font in VI to 1. :)
« Last Edit: November 04, 2009, 05:31:28 PM by WbL »
Logged

Offline kugel.

  • Developer
  • Member
  • *
  • Posts: 271
Re: Customisable Statusbar
« Reply #24 on: November 04, 2009, 05:45:18 PM »
Quote from: WbL on November 04, 2009, 05:16:15 PM
Ok, then the behavior changed. Thanks a lot I will try this as soon as possible.

// edit:
thanks a lot, it works by setting the font in VI to 1. :)


Err, you edited your post massively...anyway, it nowhere reads that 0 should be used for sbs. you can use the user font just as well for the whole sbs.

In fact, you shouldn't even be using 1, but "-" instead (although that's really the same as 1 here). But it's not the same for the colors. So instead of filling the colors of %Vi with values, use "-" to use the global colors from the settings - as you mostly did already.

CustomWPS says that %Vi is used for the lists if there's no UI vp set. That doesn't only apply for x, y, width and height, but also for font and color fields.
« Last Edit: November 04, 2009, 05:52:04 PM by kugel. »
Logged
 

Offline AsusFreak

  • Member
  • *
  • Posts: 64
Re: Customisable Statusbar
« Reply #25 on: November 13, 2009, 06:03:53 AM »
Hi kugel,

may you please delete my aaSimpleV2 Theme (H10 5GB)?
With aaSimpleV3 it's redundant. Thanks.

By the way: overlapping works really fine again ;-)
Logged

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

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

Page created in 0.101 seconds with 14 queries.