Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 2nd, 2011  |  syntax: None  |  size: 3.12 KB  |  views: 110  |  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. # cabbie 2.0
  2. # (C) 2007, Johannes Voggenthaler (Zinc Alloy)
  3. # (C) 2010, Thomas Martitz ported to 480x800 touchscreens
  4. # derived from "cabbie" (C) Yohann Misquitta
  5.  
  6. # TODO:
  7. #  * images for battery, hold button
  8. %wd
  9. %X(wpsbackdrop-480x800x16.bmp)
  10.  
  11. #%xl(A,lock-240x320x16.bmp,11,0,2)
  12. #%xl(B,battery-240x320x16.bmp,46,0,10)
  13. %xl(C,volume-480x800x16.bmp,145,125,10)
  14. %xl(D,shuffle-480x800x16.bmp,240,133)
  15. %xl(E,repeat-480x800x16.bmp,343,121,4)
  16. %xl(Epop,repmode-480x800x16.bmp,0,0)
  17. %xl(F,playmode-480x800x16.bmp,403,119,5)
  18. %xl(G,popup-480x800x16.bmp,0,0)
  19. %xl(H,rew-480x800x16.bmp,0,5)
  20. %xl(I,ff-480x800x16.bmp,70,5)
  21.  
  22. %Cl(0,0,275,275,c,c)
  23.  
  24. %T(popup_area, 30,400,420,165, none)
  25.  
  26. %?C<%Vd(c)%?Tl(popup_area, 2.0)<%Vd(t)|%Vd(d)>|%Vd(a)%?Tl(popup_area, 2.0)<%Vd(t)|%Vd(b)>>
  27.  
  28. # track & next track info - no AA
  29. %Vl(a,0,102,-,180,-)
  30. # tap on current title info for playlist (ie. where albumart would normally be)
  31. %T(0,0,275,275,playlist)
  32.  
  33. %s%ac%?it<%it|%fn>
  34. %s%ac%?ia<%ia|%?d(2)<%d(2)|%(root%)>>
  35. %s%ac%?id<%id|%?d(1)<%d(1)|%(root%)>>
  36. %ac%?iy<%iy|>
  37. %Vl(b,0,400,-,180,-)
  38. %ac%?ig<%ig|>
  39. %ac%?fv<%(vbr%) |>%fb kbit/s %fc
  40. %s%ac%?Ia<%Ia|%?D(2)<%D(2)|%(root%)>>
  41. %ac%Sx(Next Track:)
  42. %ac%s%?It<%It|%Fn>
  43. #
  44. # album art viewport
  45. #
  46. %Vl(c,102,75,275,275,-)
  47. # tap on the cover art for playlist
  48. %T(0,0,275,275,playlist)
  49. %Cd
  50.  
  51. # current track info - AA
  52. %Vl(d,0,370,-,-,-)
  53. %s%ac%?it<%it|%fn>
  54. %s%ac%?ia<%ia|%?d(2)<%d(2)|%(root%)>>
  55. %s%ac%?id<%id|%?d(1)<%d(1)|%(root%)>>
  56.  
  57. # next track info - AA
  58. %Vl(d,0,550,-,-,-)
  59. %?C<%s%ac%Sx(Next:) %?Ia<%Ia|%?D(2)<%D(2)|%(root%)>> - %?It<%It|%Fn>|%s%ac%?Id<%Id|%?D(1)<%D(1)|%(root%)>>>
  60.  
  61. # playtime
  62. %V(20,660,440,36,-)
  63. %pc%ac%?Sr<%pe %Sx(of) %pp|%pp %Sx(of) %pe>%ar%pr
  64.  
  65. # progressbar and bottom icons
  66. %V(0,600,-,-,-)
  67. %pb(25,11,430,-,pb-480x800x16.bmp)
  68. %T(25,0,430,50,progressbar)
  69.  
  70. #%?mh<%xd(Aa)|%xd(Ab)>
  71. #%?bp<%?bc<%xd(Ba)|%xd(Bb)>|%?bl<|%xd(Bc)|%xd(Bd)|%xd(Be)|%xd(Bf)|%xd(Bg)|%xd(Bh)|%xd(Bi)|%xd(Bj)>>
  72. # volume
  73. %?pv<%xd(Ca)|%xd(Cb)|%xd(Cc)|%xd(Cd)|%xd(Ce)|%xd(Cf)|%xd(Cg)|%xd(Ch)|%xd(Ci)|%xd(Cj)>
  74. %T(145,125,88,60,volume)
  75. #
  76. # shuffle
  77. %?ps<%xd(D)>
  78. %T(237,130,100,50,shuffle)
  79. #
  80. # repeat
  81. %xd(E, %mm, -1)
  82. %T(repbutton, 340,121,50,70, none)
  83. %?Tl(repbutton, 15)<%Vd(reppopup)>
  84. #
  85. # playmode
  86. %?Tp<%?mp<%xd(F, 1)|%xd(F, 3)|%xd(F, 2)|%xd(F, 4)|%xd(F, 5)||||>|%xd(F, %mp)>
  87. %T(400,119,70,75,play)
  88. %T(400,119,70,75,&stop)
  89.  
  90. #
  91. # popup osd menu
  92. #
  93. %Vl(t,30,400,420,165,-)
  94. %xd(G)
  95. %T(10,10,160,140,browse)
  96. %T(170,10,144,119,quickscreen)
  97. %T(288,10,123,146,contextmenu)
  98.  
  99. #
  100. # repeat mode popup
  101. #
  102. %Vl(reppopup,30,400,420,165,-)
  103. %xd(Epop)
  104. %T(repoff, 50, 50, 50, 75, setting_set, repeat, off)
  105. %T(repall, 120, 50, 50, 75, setting_set, repeat, all)
  106. %T(repone, 190, 50, 50, 75, setting_set, repeat, one)
  107. %T(repshuf, 260, 50, 50, 75, setting_set, repeat, shuffle)
  108. %T(repab, 330, 50, 50, 75, setting_set, repeat, ab)
  109. %?Tl(repoff, 5)<%Vd(reppopup)>
  110. %?Tl(repall, 5)<%Vd(reppopup)>
  111. %?Tl(repone, 5)<%Vd(reppopup)>
  112. %?Tl(repshuf, 5)<%Vd(reppopup)>
  113. %?Tl(repab, 5)<%Vd(reppopup)>
  114. #
  115. # ff/rewind button
  116. #
  117. %V(0,720,150,75,-)
  118. %xd(H)%xd(I)
  119. %T(0,0,70,75,&rwd)
  120. %T(0,0,70,75,prev)
  121. %T(70,0,70,75,&ffwd)
  122. %T(70,0,70,75,next)
clone this paste RAW Paste Data