Want more features on Pastebin? Sign Up, it's FREE!

CabbieV2 RaaA [Full Touch] - Revised

By: saint_lascivious on Jan 30th, 2012  |  syntax: None  |  size: 5.17 KB  |  views: 65  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # THEME       : cabbiev2
  2. # TARGET(S)   : Rockbox as an Application 240x320 Portrait
  3. # AUTHOR      : Hayden Pearce
  4. # DATE        : © Hayden Pearce 31/01/12 Tuesday 31st - January - 2012
  5. #
  6. # DISABLE STATUSBAR
  7. #
  8. %wd
  9. #
  10. # BACKDROP
  11. #
  12. %X(cabbiev2-backdrop-240x320x24.bmp)
  13. #
  14. # PRELOAD FONTS
  15. #
  16. %Fl(2, 16-cabbiev2-[bold].fnt)
  17. %Fl(3, 16-cabbiev2-[regular].fnt)
  18. %Fl(4, 18-cabbiev2-[bold].fnt)
  19. %Fl(5, 18-cabbiev2-[regular].fnt)
  20. #
  21. # PRELOAD IMAGES
  22. #
  23. %xl(albumart_backdrop, cabbiev2-albumart-backdrop-240x320x24.bmp, 0, 0)
  24. %xl(fastforward, cabbiev2-fastforward-240x320x24.bmp, 6, 5, 2)
  25. %xl(playmode, cabbiev2-playmode-240x320x24.bmp, 6, 5, 5)
  26. %xl(popup, cabbiev2-popup-240x320x24.bmp, 0, 0)
  27. %xl(popup_volume, cabbiev2-volume-popup-240x320x24.bmp, 0, 0)
  28. %xl(progressbar_backdrop, cabbiev2-progressbar-backdrop-240x320x24.bmp, 0, 0)
  29. %xl(repeat, cabbiev2-repeat-240x320x24.bmp, 6, 5, 5)
  30. %xl(rewind, cabbiev2-rewind-240x320x24.bmp, 6, 5, 2)
  31. %xl(shuffle, cabbiev2-shuffle-240x320x24.bmp, 6, 5, 2)
  32. %xl(titlebar, cabbiev2-titlebar-240x320x24.bmp, 5, 5, 25)
  33. %xl(titlebar_locked, cabbiev2-unlock-notification-240x320x24.bmp, 0, 0)
  34. %xl(volume_backdrop, cabbiev2-volume-backdrop-240x320x24.bmp, 0, 0)
  35. %xl(volumebar_backdrop, cabbiev2-volumebar-backdrop-240x320x24.bmp, 0, 0)
  36. #
  37. # VIEWPORT CONDITIONS
  38. #
  39. %?C<%Vd(album_art)%?vg(variable)<%Vd(current_track-aa)%Vd(next_track-aa)|%Vd(popup)|%Vd(volume_popup)>|%Vd(current_track-no_aa)%?vg(variable)<%Vd(next_track-no_aa)|%Vd(popup)|%Vd(volume_popup)>>
  40. #
  41. # ALBUM ART
  42. #
  43. %Vl(album_art, 56, 34, 128, 128, -)
  44. %T(launch_popup-aa, 3, 3, 122, 122, none)
  45. %T(3, 3, 122, 122, hotkey, long_press)
  46. %Cl(3, 3, 122, 122, c, c)
  47. %xd(albumart_backdrop)
  48. %Cd
  49.  
  50.  
  51.  
  52.  
  53.  
  54. %?Tl(launch_popup-aa)<%?if(%vg(variable), >, 1)<%vs(variable, set, 1)|%vs(variable, set, 2)>>
  55. #
  56. # CURRENT TRACK INFO - ALBUM ART
  57. #
  58. %ax%Vl(current_track-aa, 10, 168, 220, 48, 2)
  59. %s%ac%?it<%it|%fn>
  60. %s%ac%?ia<%ia|%?d(2)<%d(2)|%(root%)>>
  61. %s%ac%?id<%id|%?d(1)<%d(1)|%(root%)>>
  62. #
  63. # CURRENT TRACK INFO - NO ALBUM ART
  64. #
  65. %ax%Vl(current_track-no_aa, 10, 44, 220, 108, 4)
  66. %T(launch_popup-no_aa, 0, 0, 220, 108, none)
  67. %T(0, 0, 220, 108, hotkey, long_press)
  68. %s%ac%?it<%it|%fn>
  69. %s%ac%?ia<%ia|%?d(2)<%d(2)|%(root%)>>
  70. %s%ac%?id<%id|%?d(1)<%d(1)|%(root%)>>
  71. %ac%?ig<%ig|%?iy<%iy|%?fv<%(VBR%) >%fbKb/s %fc>>
  72. %ac%?ig<%?iy<%iy|%?fv<%(VBR%) >%fbKb/s %fc>>
  73. %ac%?iy<%?fv<%(VBR%) >%fbKb/s %fc>
  74.  
  75.  
  76.  
  77.  
  78.  
  79. %?Tl(launch_popup-no_aa)<%?if(%vg(variable), >, 1)<%vs(variable, set, 1)|%vs(variable,set,2)>>
  80. #
  81. # FASTFORWARD/NEXT
  82. #
  83. %V(203, 288, 36, 32, -)
  84. %T(0, 0, 36, 32, next)
  85. %T(0, 0, 36, 32, ffwd, repeat_press)
  86. %?mp<%xd(fastforward, 2)|%xd(fastforward, 1)|%xd(fastforward, 1)|%xd(fastforward, 1)|%xd(fastforward, 1)||||>
  87. #
  88. # NEXT TRACK INFO - ALBUM ART
  89. #
  90. %ax%Vl(next_track-aa, 10, 216, 220, 32, 3)
  91. %T(0, 0, 220, 32, next, long_press)
  92. %s%ac%?Fn<%Sx(Next Track:)|%?ig<%ig>>
  93. %s%ac%?Fn<%t(10.0)%?It<%It|%Fn>;%t(10.0)%?Ia<%Ia|%?D(2)<%D(2)|%(root%)>> - %?Id<%Id|%?D(1)<%D(1)|%(root%)>>|%?iy<%iy>>
  94. #
  95. # NEXT TRACK INFO - NO ALBUM ART
  96. #
  97. %ax%Vl(next_track-no_aa, 10, 181, 220, 54, 5)
  98. %T(0, 0, 220, 54, next, long_press)
  99. %s%ac%?Fn<%Sx(Next Track:)>
  100. %s%ac%?Fn<%?It<%It|%Fn>>
  101. %s%ac%?Fn<%?Ia<%Ia|%?D(2)<%D(2)|%(root%)>>>
  102. %s%ac%?Fn<%?Id<%Id|%?D(1)<%D(1)|%(root%)>>>
  103. #
  104. # PLAYMODE
  105. #
  106. %V(166, 288, 36, 32, -)
  107. %T(0, 0, 36, 32, play)
  108. %T(0, 0, 36, 32, stop, long_press)
  109. %?mp<%xd(playmode, 1)|%xd(playmode, 3)|%xd(playmode, 2)|%xd(playmode ,4)|%xd(playmode, 5)||||>
  110. #
  111. # POPUP
  112. #
  113. %Vl(popup_main, 21, 166, 198, 80, -)
  114. %T(5, 5, 70, 70, browse)
  115. %T(75, 5, 57, 70, quickscreen)
  116. %T(132, 5, 60, 70, contextmenu)
  117. %xd(popup)
  118. #
  119. # PROGRESSBAR
  120. #
  121. %V(16, 248, 208, 24, -)
  122. %T(0, 0, 208, 24, progressbar)
  123. %pb(5, 5, 198, 14, cabbiev2-progressbar-240x320x24.bmp, backdrop, progressbar_backdrop)
  124. #
  125. # REPEAT
  126. #
  127. %V(48, 288, 30, 32, -)
  128. %T(0, 0, 30, 32, repmode)
  129. %T(0, 0, 30, 32, setting_set, repeat, off, long_press)
  130. %?mm<%xd(repeat, 1)|%xd(repeat, 2)|%xd(repeat, 3)|%xd(repeat, 4)|%xd(repeat, 5)>
  131. #
  132. # REWIND/PREVIOUS
  133. #
  134. %V(129, 288, 36, 32, -)
  135. %T(0, 0, 36, 32, prev)
  136. %T(0, 0, 36, 32, rwd, repeat_press)
  137. %?mp<%xd(rewind, 2)|%xd(rewind, 1)|%xd(rewind, 1)|%xd(rewind, 1)|%xd(rewind, 1)||||>
  138. #
  139. # SHUFFLE
  140. #
  141. %V(79, 288, 49, 32, -)
  142. %T(0, 0, 49, 32, shuffle)
  143. %T(0, 0, 49, 32, setting_set, shuffle, off, long_press)
  144. %?ps<%xd(shuffle, 1)|%xd(shuffle, 2)>
  145. #
  146. # TITLEBAR
  147. #
  148. %V(16, 3, 208, 26, -)
  149. %T(0, 0, 208, 26, menu)
  150. %T(0, 0 ,208, 26, lock, long_press)
  151. %?if(%mh, =, t)<%?Tl(2.0)<%xd(titlebar_locked)|%xd(titlebar, 1)>|%?mp<|%xd(titlebar, 5)|%xd(titlebar, 6)|%xd(titlebar, 7)|%xd(titlebar, 8)||||>>
  152. #
  153. # TIME ELAPSED/REMAINING
  154. #
  155. %V(20, 272, 200, 16, 3)
  156. %al%pc%ac%?mv(2.0)<%?Sr<dB%pv :%Sx(Volume)|%Sx(Volume): %pvdB>|%?Sr<%pe %Sx(of) %pp|%pp %Sx(of) %pe>>%ar-%pr
  157. #
  158. # VOLUME
  159. #
  160. %V(1, 288, 46, 32, -)
  161. %T(launch_volume_popup, 0, 0, 46, 32, none)
  162. %T(0, 0, 46, 32, mute, long_press)
  163. %pv(6, 5, 34, 23, cabbiev2-volume-240x320x24.bmp, backdrop, volume_backdrop)
  164.  
  165.  
  166.  
  167.  
  168.  
  169. %?Tl(launch_volume_popup, 4.0)<%vs(variable, set, 3)|%?mv<%vs(variable, set, 3)|%vs(variable, set, 1)>>
  170. #
  171. # VOLUME POPUP
  172. #
  173. %Vl(volume_popup, 21, 166, 198, 80, -)
  174. %T(5, 5, 188, 70, volume)
  175. %xd(volume_backdrop)
  176. %pv(10, 31, 178, 18, cabbiev2-volumebar-240x320x24.bmp, backdrop, volumebar_backdrop)
clone this paste RAW Paste Data