| Home | Forums | Register | FAQ | Search | Today's Posts | Mark Forums Read |
|
Welcome to the misticriver forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| Tags: clean dark, clock, wps |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Clock for WPS Clean Dark mf-lf
I want to add a clock at right side of the plaly list position in the wps "Clean Dark mf-lf (Multi-Font, Large Fonts) No Album Art" with the biggest font.
after: ![]() Before: ![]() I don't know how to add them, somebody can help me? THANKS!!!! Last edited by djdiegolirussi : March 20th, 2007 at 10:27 AM. Reason: add pictures |
|
|||
|
I could be wrong, but I don't believe that there is a tag for the time. The only place it appears is in the status bar, which is disabled in this .wps.
If someone makes a patch to include the time as a tag, it could be done easily enough. Sorry for the bad news, m a r |
|
|||
|
Sorry rogue_ronin, you are wrong, there are tags for the time. You can find them here.
No patching needed! I just don't know how to make the clock appear the size djdiegolirussi wants it in. EDIT: %c H:M:Sc, you mean?
__________________
Those are my principles, and if you don't like them... well, I have others. (Groucho Marx) |
|
|||
|
So, if you didn't know, when you put the hold switch on, you get the time and date displayed in Clean mf-lf. Not what you wanted, though.
And, while you can't see it in your pic, the playlist name gets displayed in the middle, next to the track count, and runs through the space you want to use So in this version, I've disabled the display of the playlist name (which would sit right on the clock) and the time/date display when the hold switch is activated has also been disabled. Now it displays track count and time, no changes with the hold switch at all. Code:
# ==============================================================================
# A ROCKbox theme for iRiver H300
# Made by Peter Akers. akersp@ozemail.com.au
# Requires at least ROCKbox H300 with Multifont Patch, Scroll Margins, Album Art
# ==============================================================================
# Released to the Public Domain
# Distribute and modify as you see fit.
#
#status bar off
%wd
#
#Background
%X|bg.bmp|
#
%P|statusbar.bmp|
#
%xl|d|stop.bmp|0|0|
%xl|e|play.bmp|0|0|
%xl|f|pause.bmp|0|0|
%xl|F|pause_inverse.bmp|0|0|
%xl|g|forward.bmp|0|0|
%xl|h|backward.bmp|0|0|
#
%xl|i|volume0.bmp|23|0|
%xl|j|volume1.bmp|23|0|
%xl|k|volume2.bmp|23|0|
%xl|l|volume3.bmp|23|0|
%xl|m|volume4.bmp|23|0|
%xl|n|volume5.bmp|23|0|
%xl|V|volume6.bmp|23|0|
%xl|W|volume7.bmp|23|0|
%xl|X|volume8.bmp|23|0|
%xl|Y|volume9.bmp|23|0|
%xl|Z|volume10.bmp|23|0|
#
%xl|o|bat0.bmp|196|0|
%xl|G|bat0_inverse.bmp|196|0|
%xl|p|bat1.bmp|196|0|
%xl|q|bat2.bmp|196|0|
%xl|r|bat3.bmp|196|0|
%xl|s|bat4.bmp|196|0|
%xl|t|batP.bmp|196|0|
%xl|L|batP_full.bmp|196|0|
#
%xl|u|holdP.bmp|156|0|
%xl|v|holdR.bmp|156|0|
%xl|w|holdB.bmp|156|0|
%xl|x|holdN.bmp|156|0|
#
%xl|P|repeat-on1.bmp|91|0|
%xl|Q|repeat-on2.bmp|91|0|
%xl|a|repeat-on3.bmp|91|0|
%xl|b|repeat-on4.bmp|91|0|
%xl|R|repeat-off.bmp|91|0|
#
%xl|I|disk_off.bmp|165|0|
%xl|J|disk_on1.bmp|165|0|
%xl|K|disk_on2.bmp|165|0|
%xl|M|disk_on3.bmp|165|0|
%xl|N|disk_on4.bmp|165|0|
#
%xl|y|eq_on.bmp|71|0|
#
%xl|O|crossfade_on.bmp|138|0|
%xl|z|crossfade_off.bmp|138|0|
%xl|S|crossfade_skip.bmp|138|0|
#
#Album
%e|10|24|205|3|e5f2de|%s%?id<%id|>
%e|10|26|205|4|e5f2de|%s%?id<|(No Album) '\%d1'>
#
#Artist
%e|10|43|205|3|FFFFFF|%s%?ia<%ia|>
%e|10|45|205|4|FFFFFF|%s%?ia<|(No Artist) '\%d2'>
#
#Track
%e|10|62|205|1|FFFFFF|%s%?it<%it|'%fm'>
#
#Track Position
%t0.6%e|4|102|40|4|FFFFFF|%?mp< |%al%pc| |%al%pc|%al%pc>;%t0.6%e|4|102|40|4|FFFFFF|%al%pc
#
#Track Length
%e|90|102|40|4|FFFFFF|%ac%pt
#
#Time Left
%t0.6%e|176|102|40|4|FFFFFF|%?mp< |%ar%pr| |%ar%pr|%ar%pr>;%t0.6%e|176|102|40|4|FFFFFF|%ar%pr
#
#track/of
#switch comment tags on next two lines to re-enable hiding
#track count when hold switch is on
#%e|4|138|56|4|c0c0c0|%?mh< |%pp of %pe>
%e|4|138|56|4|c0c0c0|%pp of %pe
#
#Clock
%e|124|134|100|1|FFFFFF|%c k:M:Sc
#
#Playlist
#remove comment line to restore playlist name display
#%e|60|136|155|3|c0c0c0|%?mh< |%?pn<%pn|>>
#
#Progress Bar
%pb|6|4|211|92|
#
#Next Artist / Next Song
%t3%e|14|162|205|4|c0c0c0|%s%?Ia<%Ia|%?It<%It|%Fm>>;%t10%e|14|162|205|4|c0c0c0|%s%?It<%It|%Fm>
#
#Volume icon
%?pv<%xdi|%xdj|%xdk|%xdl|%xdm|%xdn|%xdV|%xdW|%xdX|%xdY|%xdZ>
#volume text
%e|25|1|13|5|c0c0c0|%ar%pv
#
#hold
# both plyr rem none
%?mh<%?mr<%xdw|%xdu>|%?mr<%xdv|%xdx>>
#
#repeat
# off all one shuf a-b
%t0.4%e|104|5|10|5|FFFFFF|%?mm<%xdR|%xdPall|%xdP1|%xdPsh|%xdPab>;%t0.4%e|104|5|10|5|FFFFFF|%?mm<%xdR|%xdQall|%xdQ1|%xdQsh|%xdQab>;%t0.4%e|104|5|10|5|FFFFFF|%?mm<%xdR|%xdaall|%xda1|%xdash|%xdaab>;%t0.4%e|104|5|10|5|FFFFFF|%?mm<%xdR|%xdball|%xdb1|%xdbsh|%xdbab>;%t7%e|104|5|10|5|FFFFFF|%?mm<%xdR|%xdPall|%xdP1|%xdPsh|%xdPab>
%e|104|5|10|5|3f3f3f|%?mm<all||||>
#
#shuffle
%t0.9%e|118|6|5|5|ffff80|%?ps<1 |>;%t0.9%e|118|6|5|5|FFFFFF|%?ps<3 |>;%t0.9%e|118|6|5|5|FFFFFF|%?ps<2 |>;%t5%e|118|6|5|5|FFFFFF|%?ps<1 |>
%t0.9%e|123|1|5|5|FFFFFF|%?ps<3 |>;%t0.9%e|123|1|5|5|FFFFFF|%?ps<2 |>;%t0.9%e|123|1|5|5|ffff80|%?ps<1 |>;%t5%e|123|1|5|5|FFFFFF|%?ps<3 |>
%t0.9%e|129|4|5|5|FFFFFF|%?ps<2 |>;%t0.9%e|129|4|5|5|ffff80|%?ps<1 |>;%t0.9%e|129|4|5|5|FFFFFF|%?ps<3 |>;%t5%e|129|4|5|5|FFFFFF|%?ps<2 |>
%e|118|6|5|5|3f3f3f|%?ps<|1 >
%e|123|1|5|5|3f3f3f|%?ps<|3 >
%e|129|4|5|5|3f3f3f|%?ps<|2 >
#
#equaliser
%?eq<%xdy|>
#
# crossfade
# off shf skip shf&sk all
%?xf<|%?ps<%xdO|>|%xdS|%xdS|%xdO>
#
# Codec | File Bitrate | Frequency
%e|4|117|211|5|808080|%ac%?fc<mp1|mp2|mp3|aiff|wav|ogg|flac|mpc|a52|wv|alac|aac|shn|sid|adx|unk> . %fb kbps%?fv< vbr> . %ff hz
#
# time
#remove comment line below to restore time/date on hold switch
#%e|4|136|211|3|ffff80|%ac%?mh<%ca b ec %cl:M Pc|>
#
#Play
%t0.6 %?mp<%xdd|%xde|%xdf|%xdg|%xdh>;%t0.6 %?mp<%xdd|%xde|%xdF|%xdg|%xdh>
#
# Power icon
# con[ chg( 0 F) lev{ 0i 0i 1 1 2 2 3 3 4 4}] con[ chg( 1 P) lev{ 0 0 1 1 2 2 3 3 4 4}]
%t0.5 %?bp<%?bc<%xdo|%xdL>|%?bl<%xdG|%xdG|%xdp|%xdp|%xdq|%xdq|%xdr|%xdr|%xds|%xds>>;%t0.5 %?bp<%?bc<%xdp|%xdt>|%?bl<%xdo|%xdo|%xdp|%xdp|%xdq|%xdq|%xdr|%xdr|%xds|%xds>>;%t0.5 %?bp<%?bc<%xdq|%xdL>|%?bl<%xdG|%xdG|%xdp|%xdp|%xdq|%xdq|%xdr|%xdr|%xds|%xds>>;%t0.5 %?bp<%?bc<%xdr|%xdt>|%?bl<%xdo|%xdo|%xdp|%xdp|%xdq|%xdq|%xdr|%xdr|%xds|%xds>>;%t0.5 %?bp<%?bc<%xds|%xdL>|%?bl<%xdG|%xdG|%xdp|%xdp|%xdq|%xdq|%xdr|%xdr|%xds|%xds>>;%t0.5 %?bp<%?bc<%xdt|%xdt>|%?bl<%xdo|%xdo|%xdp|%xdp|%xdq|%xdq|%xdr|%xdr|%xds|%xds>>
# Power text
%t0.5 %e|177|4|18|5|e4002b|%ac%?bl<%bl|%bl||||||>;%t0.5 %e|177|4|18|5|e4002b|%ac%?bl<|||||||>
%e|177|4|18|5|c0c0c0|%ac%?bl<||%bl|%bl|%bl|%bl|%bl|%bl>
#
#Hard Disk Activity
%t0.1 %?lh<%xdJ|%xdI>;%t0.1 %?lh<%xdK|%xdI>;%t0.1 %?lh<%xdM|%xdI>;%t0.1 %?lh<%xdN|%xdI>
#
m a r EDIT: to remove extra lines and to move the clock over a few pixels Last edited by rogue_ronin : March 20th, 2007 at 04:39 PM. |
|
|||
|
There an issue: the next track name dont display, and some white points appear on the top of the screen. It may be the text of the next track showing offside the top of screen?
I'm using this build: rockbox-multi-20070319.zip by Norbusan & Ashen |
|
|||
|
I'm using the same build, but it looks fine on my H340. Have you run the theme, or just the wps? It might be that the fonts are different.
Try choosing the Clean Dark mf-lf theme from the Browse Themes menu. I only made the changes I described. Next track hasn't been touched at all. Did you save the above text as a file, then copy it to the wps folder, replacing the old version (make a backup!)? If you tried merging or cutting and pasting, there might have been a little error in the result. Make sure that no extra blank lines have crept in, as sometimes happens when cutting and pasting. Do a fresh, clean replacement of Clean Dark mf-lf.wps, then run the theme (not just the wps) and see if any improvement results. The adjustment I made is simple, it shouldn't break anything at all. I just suppressed two things and added the clock at the position you wanted. m a r ps: when I was re-theming a lot, mounting and unmounting the H340, one time my config file got corrupted. You might have to reset your settings and restart. (Try saving your current settings first, then reapply them as a test.) Last edited by rogue_ronin : March 24th, 2007 at 04:17 AM. |
|
|||
|
Sorry... the next track now appear.... i'dont know what happened...
But the white point issue still there. I've looking the pattern of this points and look like a double white line behind the icons at the top of the screen. I dont know how to make a capture.... Thanks for ask so quickly! (and sorry about my english) |
|
|||
|
Have you checked the .wps file for typos/errors? Did you use the Browse Theme menu item?
Look here for how to get a screendump. We need some more clues. m a r |