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
| | |-+  Different Statusbar on the Main Menu and on the Radio Screen?
« previous next »
  • Print
Pages: [1]

Author Topic: Different Statusbar on the Main Menu and on the Radio Screen?  (Read 2207 times)

Offline cereal_killer

  • Member
  • *
  • Posts: 409
Different Statusbar on the Main Menu and on the Radio Screen?
« on: September 10, 2016, 03:24:54 PM »
I use the cabbiev2 theme and an the DFKT Minimum theme as radio screen on my X5L, but the statusbar on the radioscreen is the one from the menus and not from the DFKT theme. I tried to edit the *.sbs files and the theme files, but I wasn't successful.Can I have a differnet statusbar on the radio screen and on the menus?
Logged

Offline cereal_killer

  • Member
  • *
  • Posts: 409
Re: Different Statusbar on the Main Menu and on the Radio Screen?
« Reply #1 on: September 14, 2016, 03:19:12 PM »
Any advice someone how to have a different theme as radio screen and use the associated statusbar?
Logged

Offline lebellium

  • Member
  • *
  • Posts: 71
  • DAPs collector
    • My 100+ players collection
Re: Different Statusbar on the Main Menu and on the Radio Screen?
« Reply #2 on: September 14, 2016, 05:04:55 PM »
If you want to mix up themes (for example cabbiev2 as SBS and WPS and DFKT Minimum theme as FMS), you'll have to take the Status bar from the DFKT's SBS file and import it into the FMS file with potentially some adaptations needed.
Logged
I swim in mp3 players!

Offline cereal_killer

  • Member
  • *
  • Posts: 409
Re: Different Statusbar on the Main Menu and on the Radio Screen?
« Reply #3 on: September 18, 2016, 03:15:04 PM »
Thank you for your answer. I managed to have some elements, like volume, time and battery displayed in the statusbar. To import the code I had to disable the statusbar with %wd and preload images. But some elements break the statusbar. For example why does this code break the statusbar?

Code: [Select]
###### Preload images
%xl(p,playbackmode.bmp,0,0,9)

###### Playback mode
%V(29,0,7,7,-) %Vf(adae99) %Vb(000000)
# Playback status: Stop, Play, Pause, Fast Forward, Rewind, Recording, Recording paused, FM Radio playing, FM Radio muted
%?mp<
    %xd(p,1)|
%xd(p,2)|
%xd(p,3)|
%xd(p,4)|
%xd(p,5)|
%xd(p,6)|
%t(0.2)%xd(p,7);%t(0.2)%xd(p,6)|
%xd(p,8)|
%xd(p,9)>


Adding these lines to the FMS makes the default radio screen appear. What do I have to change here and why to show the playback mode right?
Logged

Offline lebellium

  • Member
  • *
  • Posts: 71
  • DAPs collector
    • My 100+ players collection
Re: Different Statusbar on the Main Menu and on the Radio Screen?
« Reply #4 on: September 19, 2016, 01:53:18 PM »
In the FMS there already is:
%xl(p,progressbar.bmp,0,0)

If you add:
%xl(p,playbackmode.bmp,0,0,9),

you get the same identifier "p" for 2 different bitmaps.

You just have to rename one of them and of course all relatives.

For example:
Code: [Select]
%xl(s,playbackmode.bmp,0,0,9)

# Playback mode
%V(29,0,7,7,-)
%Vf(adae99)
%Vb(000000)
# Playback status: Stop, Play, Pause, Fast Forward, Rewind, Recording, Recording paused, FM Radio playing, FM Radio muted
%?mp<
%xd(s,1)|
%xd(s,2)|
%xd(s,3)|
%xd(s,4)|
%xd(s,5)|
%xd(s,6)|
%t(0.2)%xd(s,7);%t(0.2)%xd(s,6)|
%xd(s,8)|
%xd(s,9)>
Logged
I swim in mp3 players!

Offline cereal_killer

  • Member
  • *
  • Posts: 409
Re: Different Statusbar on the Main Menu and on the Radio Screen?
« Reply #5 on: September 21, 2016, 03:50:37 PM »
Thanks lebellium. I understand the WPS syntax a little better now :) Everything works fine.
« Last Edit: September 22, 2016, 08:12:20 AM by cereal_killer »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Different Statusbar on the Main Menu and on the Radio Screen?
 

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

Page created in 0.153 seconds with 22 queries.