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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
###################################################
#                                                 #
#  Theme           DFKT Minimum X5 v3 INV         #
#  Author          Martin Sägmüller (dfkt)        #
#  Target          Cowon iAudio X5 (160x128x24)   #
#                  Cowon Remote (128x96x2)        #
#  Version         3.01                           #
#  Last updated    2012 03 03                     #
#  License         CC-BY-SA 3.0                   #
#                                                 #
###################################################

###### Enable statusbar
%we

###### Preload fonts
%Fl(2,14-Nimbus-dfkt.fnt)
%Fl(3,08-Namil-dfkt.fnt)

###### Backdrop
%V(0,0,-,-,-) %VB
%x(back,backdrop.bmp,0,0)

###### Preload images
%xl(p,progressbar.bmp,0,0)
%xl(q,progressbar-bg.bmp,0,0)
%xl(r,progressbar-v.bmp,0,0)
%xl(s,progressbar-v-bg.bmp,0,0)
%xl(t,peakmeter-v.bmp,0,0)
%xl(u,peakmeter-v-bg.bmp,0,0)

###### Conditional: full screen album art while playing - track info while paused/FFWD/REW or volume change
%?C<
    %?or(%if(%mp,=,3), %if(%mp,=,4), %if(%mp,=,5), %mv(3))<
	    %Vd(b)|
		%Vd(a)>|
	%Vd(b)>

############################
###### Full screen album art
############################

%Vl(a,0,0,-,-,-)
%x(back-aa,backdrop-aa.bmp,0,0)

###### Album art
%Vl(a,0,8,160,120,-) %VB
%Cl(0,-3,160,128,c)
%Cd

# At least one peak meter and/or progress bar viewport has to span the whole screen width - otherwise album art isn't visible!

###### Peak meter
%Vl(a,0,9,160,119,-) %Vf(adae99)
%pL(0,0,6,119,t,backdrop,u,vertical)

%Vl(a,8,9,152,119,-) %Vf(adae99)
%pR(0,0,6,119,t,backdrop,u,vertical)

###### Progress bar
%Vl(a,146,9,14,119,-) %Vf(adae99)
%pb(0,0,14,119,r,backdrop,s,vertical)

%Vl(a,0,20,-,-,2) %Vf(ffffff)
%s%ac%?ia<%ia|%d(1)>
%s%ac%?id<%id|>

################
###### File info
################

###### Backdrop matte - so backdrop shows up at startup when first played track doesn't have album art
%Vl(b,0,0,-,-,-)
%x(matte,backdrop.bmp,0,0)

###### Track info
%Vl(b,0,20,-,-,2) %Vf(ffffff) %Vb(000000)
%s%ac%?ia<%ia|%d(1)>
%s%ac%?id<%id|>

%s%ac%?it<%it|%fn>

###### File info with sample rate check
%Vl(b,0,87,-,-,3) %Vf(adae99) %Vb(000000)
%alPlaylist: %pp/%pe%arYear: %?iy<%iy|N/A>
%alTrack: %?in<%in|N/A>%arGenre: %?ig<%ig|N/A>
# Don't display bitrate and CBR/VBR for chiptune formats. The codec order is found in /apps/metadata.h
%?or(%if(%fc,=,14), %if(%fc,=,15), %if(%fc,=,16), %if(%fc,=,18), %if(%fc,=,22), %if(%fc,=,23), %if(%fc,=,28), %if(%fc,=,29), %if(%fc,=,30), %if(%fc,=,31), %if(%fc,=,32), %if(%fc,=,33), %if(%fc,=,34), %if(%fc,=,35), %if(%fc,=,36), %if(%fc,=,37), %if(%fc,=,38), %if(%fc,=,39), %if(%fc,=,41), %if(%fc,=,49), %if(%fc,=,50), %if(%fc,=,51), %if(%fc,=,52), %if(%fc,=,53), %if(%fc,=,54))<|
%al%fbk %?fv<VBR|CBR> >%fc%ar%?if(%ff,!=,44100)<%t(0.2)%fk kHz;%t(0.2)!!!!!!!!!!!!!!|%fk kHz>

##########################
###### Progress bar / time
##########################

###### Progress bar
%Vl(b,0,112,-,6,-) %Vf(adae99) %Vb(000000)
%pb(0,0,-,6,p,backdrop,q)

###### Time info
%Vl(b,0,121,-,-,3) %Vf(adae99) %Vb(000000)
%al%pc%ac%pt%ar%pr