Advertisement
Guest User

Untitled

a guest
Nov 18th, 2016
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.54 KB | None | 0 0
  1. ###################################################
  2. # #
  3. # Theme DFKT Minimum v3 NoAA X5 #
  4. # Author Martin Sägmüller (dfkt) #
  5. # Target Cowon iAudio X5 (160x128x24) #
  6. # Cowon Remote (128x96x2) #
  7. # Version 3.04 #
  8. # Last updated 2014 03 31 #
  9. # License CC-BY-SA 3.0 #
  10. # #
  11. ###################################################
  12.  
  13. # Disable default statusbar
  14. %wd
  15.  
  16. # Preload fonts
  17. %Fl(3,08-Namil-dfkt.fnt)
  18.  
  19. # Backdrop
  20. %V(0,0,-,-,-) %VB
  21. %x(back,backdrop.bmp,0,0)
  22.  
  23. # Preload images
  24. %xl(p,playbackmode.bmp,0,0,9)
  25. %xl(g,replaygain.bmp,0,0,3)
  26. %xl(r,repeatmode.bmp,0,0,5)
  27. %xl(h,holdswitch.bmp,0,0,2)
  28. %xl(v,virtualled.bmp,0,0,2)
  29. %xl(b,battery.bmp,0,0,7)
  30.  
  31. # UI viewport
  32. %Vi(-,0,8,-,-,-)
  33.  
  34. ##############
  35. # Status bar #
  36. ##############
  37.  
  38. # Volume level with overdrive check
  39. %?if(%pv,>,0)<
  40. %Vd(b)|
  41. %Vd(a)>
  42.  
  43. %Vl(a,0,0,26,7,3)
  44. %Vf(adae99)
  45. %Vb(000000)
  46. %ar%pvdB
  47.  
  48. %Vl(b,0,0,26,7,3)
  49. %Vf(ff8800)
  50. %Vb(000000)
  51. %ar%pvdB
  52.  
  53. # Playback mode
  54. %V(29,0,7,7,-)
  55. %Vf(adae99)
  56. %Vb(000000)
  57. # Playback status: Stop, Play, Pause, Fast Forward, Rewind, Recording, Recording paused, FM Radio playing, FM Radio muted
  58. %?mp<
  59. %xd(p,1)|
  60. %xd(p,2)|
  61. %xd(p,3)|
  62. %xd(p,4)|
  63. %xd(p,5)|
  64. %xd(p,6)|
  65. %t(0.2)%xd(p,7);%t(0.2)%xd(p,6)|
  66. %xd(p,8)|
  67. %xd(p,9)>
  68.  
  69. # Replaygain status with codec check
  70. %V(39,0,7,7,-)
  71. %Vf(adae99)
  72. %Vb(000000)
  73. # 1.) Codec check - only show Replaygain status for codecs that actually support it. The codec order is found in /apps/metadata.h
  74. # 2.) Only show Replaygain status while playback or paused, not in radio or recording mode
  75. # 3.) Replaygain status: Off, Track, Album, Track Shuffle, Album Shuffle, No tag
  76. %?or(%if(%fc,=,1), %if(%fc,=,2), %if(%fc,=,3), %if(%fc,=,6), %if(%fc,=,7), %if(%fc,=,8), %if(%fc,=,10), %if(%fc,=,11), %if(%fc,=,12), %if(%fc,=,45), %if(%fc,=,47), %if(%fc,=,48))<
  77. %?or(%if(%mp,=,2), %if(%mp,=,3))<
  78. %?rg<
  79. %xd(g,1)|
  80. %xd(g,2)|
  81. %xd(g,2)|
  82. %xd(g,2)|
  83. %xd(g,2)|
  84. %t(0.2)%xd(g,3);%t(0.2)%xd(g,2)>|
  85. %xd(g,1)>|
  86. %xd(g,1)>
  87.  
  88. # Repeat/shuffle mode
  89. %V(50,0,7,7,-)
  90. %Vf(adae99)
  91. %Vb(000000)
  92. # 1.) Only show repeat/shuffle mode for audio playback, not radio or recording
  93. # 2.) If shuffle is enabled, override repeat mode states
  94. %?if(%mp,<,6)<
  95. %?ps<
  96. %xd(r,4)|
  97. %?mm<
  98. %xd(r,1)|
  99. %xd(r,2)|
  100. %xd(r,3)|
  101. %xd(r,4)|
  102. %xd(r,5)>>|
  103. %xd(r,1)>
  104.  
  105. # Memory access
  106. %V(61,0,7,7,-)
  107. %Vf(adae99)
  108. %Vb(000000)
  109. %?lh<
  110. %xd(v,1)|
  111. %xd(v,2)>
  112.  
  113. # Hold switch
  114. # %mh = main lock, %mr = remote lock
  115. %V(72,0,7,7,-)
  116. %Vf(adae99)
  117. %Vb(000000)
  118. %?mh<
  119. %xd(h,1)|
  120. %xd(h,2)>
  121.  
  122. # Date / time
  123. %V(80,0,62,7,3)
  124. %Vf(adae99)
  125. %Vb(000000)
  126. # Show date while paused, otherwise show time
  127. %?or(%if(%mp,=,3),%if(%mp,=,9))<
  128. %ar%?cu<
  129. MO|
  130. TU|
  131. WE|
  132. TH|
  133. FR|
  134. SA|
  135. SU> %cd.%cm.%cY|
  136. %ar%cH:%cM>
  137.  
  138. # Battery status
  139. %V(146,0,14,7,-)
  140. %Vf(adae99)
  141. %Vb(000000)
  142. # 1.) Charger connected?
  143. # 2.) Battery charging? Show charging animation or fully charged
  144. # 3.) Battery level?
  145. %?bp<
  146. %?bc<
  147. %?bl<|
  148. %t(0.1)%xd(b,3);%t(0.1)%xd(b,4);%t(0.1)%xd(b,5);%t(0.1)%xd(b,6);%t(0.1)%xd(b,7)|
  149. %t(0.1)%xd(b,4);%t(0.1)%xd(b,5);%t(0.1)%xd(b,6);%t(0.1)%xd(b,7)|
  150. %t(0.1)%xd(b,5);%t(0.1)%xd(b,6);%t(0.1)%xd(b,7)|
  151. %t(0.1)%xd(b,6);%t(0.1)%xd(b,7)>|
  152. %xd(b,7)>|
  153. %?bl<|
  154. %t(0.5)%xd(b,1);%t(0.5)%xd(b,2)|
  155. %xd(b,3)|
  156. %xd(b,4)|
  157. %xd(b,5)|
  158. %xd(b,6)|
  159. %xd(b,7)|
  160. %xd(b,7)>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement