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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Themes for Sandisk Sansa E200v2» x6 Theme
« previous next »
  • Print
Pages: [1]

Author Topic: Themes for Sandisk Sansa E200v2» x6 Theme  (Read 2960 times)

Offline RockyIV

  • Member
  • *
  • Posts: 3
Themes for Sandisk Sansa E200v2» x6 Theme
« on: February 14, 2011, 11:09:59 AM »
My favourite theme (at the moment at least), but could someone give me a hint how I could change the am/pm time format - on the Pause Screen - to 24h?
People from non-English speaking countries don't use am/pm, it looks rather obsolete.

Or maybe the creater of the theme would like to change it himself?

Thanks for any ideas & hints.
Logged

Offline nick_p

  • Member
  • *
  • Posts: 115
Re: Themes for Sandisk Sansa E200v2» x6 Theme
« Reply #1 on: February 15, 2011, 12:10:03 AM »
These are the tags for the clock elements;

http://www.rockbox.org/wiki/CustomWPS#Real_Time_Clock

The file you need to edit will be .rockbox/wps/{theme name}.wps
Logged

Offline RockyIV

  • Member
  • *
  • Posts: 3
Re: Themes for Sandisk Sansa E200v2» x6 Theme
« Reply #2 on: February 15, 2011, 04:45:25 PM »
Thanks a lot. That was easy, I only had to change %cl (small L)  to %ck and delete %cp (to get rid of am/pm).

Here's the modified file x6.wps:

-------------------------------------------
# WPS Theme Name: x6
# Contact: http://forums.rockbox.org/index.php?action=pm;sa=send;u=14551
# Version: 1.0
# Created: Aug 12, 2010
# Platform: Sandisk Sansa E200
# Developed/Tested on sim ver. r27760-100809
# Licence: CC-BY-SA 3.0
#
%wd
#
%xl(a,dot.bmp,0,0)
%xl(B,batt.bmp,0,0,6)
%xl(C,play2.bmp,0,0,5)
#
%Fl(2,12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#
%Vl(a,0,192,-,1,2)%Vf(888888)
%xd(a)
%Vl(b,0,106,-,32,0)%Vf(906000)%Vb(000000)
SYSTEM INFO
Volume :
Sleep  :
Battery:
#
%Vl(b,72,102,-,8,0)%Vf(FFCC33)%Vb(000000)
%ar%?bc<CHARGING|%?bp<CONNECTED>>
#
%Vl(b,48,114,-,24,0)%Vf(FFCC33)%Vb(000000)
%pvdB
%?bs<ON%ar-%bs|OFF>
%bl%%%ar%bt left
#
%Vl(a,0,212,16,8,0)%Vf(906000)
%?bp<%xd(Ba)|%?bl<%xd(Bb)|%xd(Bc)|%xd(Bd)|%xd(Be)|%xd(Bf)>>
# play icon
%Vl(a,166,212,10,8,0)%Vf(906000)
%?mh<%xd(Ce)|%?mp<|%xd(Ca)|%xd(Cb)|%xd(Cc)|%xd(Cd)>>
-----------------------------------------
« Last Edit: February 15, 2011, 04:47:54 PM by RockyIV »
Logged

Offline sockbox

  • Member
  • *
  • Posts: 111
Re: Themes for Sandisk Sansa E200v2» x6 Theme
« Reply #3 on: February 26, 2011, 12:38:14 AM »
Thanks. I created that theme.

I should really update it so that the time display is user configurable.

%?St(time format)<%cH|%cl>:%cM
Logged

Offline lilwire

  • Member
  • *
  • Posts: 5
Re: Themes for Sandisk Sansa E200v2» x6 Theme
« Reply #4 on: March 01, 2011, 07:38:50 PM »
Or just use the 12/24 hour format tag %?cf  ;)
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Themes for Sandisk Sansa E200v2» x6 Theme
 

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

Page created in 0.081 seconds with 15 queries.