This repository has been archived by the owner on Apr 13, 2022. It is now read-only.
/
Unq-dev.sbs
78 lines (61 loc) · 1.94 KB
/
Unq-dev.sbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# This file is meant to be parsed by a sed script to remove spaces, empty lines and comments.
# Hide Status Bar:
%wd
# --- LOADING RESOURCES ---
#%xl(h, header.bmp)
%xl(v, volBar.bmp)
%xl(s1, songBar.bmp)
%xl(sA, songBarBg.bmp)
%xl(s2, songBar-p.bmp)
%xl(sB, songBarBg-p.bmp)
%xl(s3, songBar-f.bmp)
%xl(s4, songBar-r.bmp)
%xl(B, battBar.bmp, 9)
# Fonts:
%Fl(2, 36-Ubuntu-Bold.fnt)
%Fl(3, 16-Jackash.fnt)
# CFG loads this as sys font
#%Fl(4, 18-Ubuntu-Light.fnt)
# --- THE REST ---
#%X(Unq.bmp)
# Header
%?Lt<%Vd(T)|%Vd(R)>
%Vl(T,1,1,142,16,3) %Vf(FFFFFF)
%s%ac%Lt
%Vl(R,1,1,142,16,3) %Vf(FFFFFF)
%s%acRockbox
# Menu
#%Vi(-,1,17,142,126,1) %Vf(9e6833)
%Vi(-,1,17,142,126,1) %Vf(c4823f)
# Artist tags or date
%?fn < %Vd(V1) | %Vd(V0) >
# Date ( font 2 )
%Vl(V0,0,144,220,32,2) %Vf(d2d2d2)
%s%ac%ca_SPACE_%ce%,_SPACE_%cb
# Title (font 2):
%Vl(V1,0,144,150,32,2) %Vf(d2d2d2)
# Show artist of next song in the last 13 seconds of the track
%?pE(10)< %s%ar%>%>_SPACE_%?Ia<%Ia|%?Fn<%Fn|End>> | %s%ar%?it<%it|%fn> >
# Artist (font 3):
%Vl(V1,150,144,70,16,3) %Vf(d2d2d2)
%s%al%?ia < %ia | %?ic < %ic | %?iA < %iA | ??? > > >
# Album (font 3):
%Vl(V1,150,160,70,16,3) %Vf(d2d2d2)
%s%al%?id<%id|%?d(1)<%(%d(1)%)|%(root%)>>
# Battery:
%V(144,0,14,16,-)
%?bp<|%?bl<|%xd(Ba)|%xd(Bb)|%xd(Bc)|%xd(Bd)|%xd(Be)|%xd(Bf)|%xd(Bg)|%xd(Bh)|%xd(Bi)>>
# Volume
%V(144,16,14,128,-) %Vf(663399)
%pv(0,0,-,-,v,vertical)
# Time
%V(158,0,62,16,1) %Vf(d2d2d2)
%al%?cf<%cH|%cI>:%ac%cM:%ar%cS
#%?cf<24 hour stuff|12 hour stuff>
# Date
%V(158,16,62,17,1) %Vf(d2d2d2)
%s%ac%cy/%cd/%cd
# Song progress and controls
%V(158,33,62,111,-) %Vf(000000)
%?mp<%pb(0,0,-,-,-,vertical,backdrop,-)|%pb(0,0,-,-,s1,vertical,backdrop,sA)|%pb(0,0,-,-,s2,vertical,backdrop,sB)|%pb(0,0,-,-,s3,vertical)|%pb(0,0,-,-,s4,vertical)||%pb(0,0,-,-,-,vertical,backdrop,sB)||>
#%?mp<Stop|Play|Pause|Ffwd|Rew|Rec|Rec pause|FM|FM pause>