Advertisement
Guest User

Untitled

a guest
Jul 14th, 2010
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.77 KB | None | 0 0
  1. #
  2. # "BoxAmp" by TarviS / MG_Man
  3. # From-scratch clone of Winamp Classic (Nothing copied or pasted from original data)
  4. #
  5.  
  6. #----------MAIN MENU----------
  7.  
  8. #Define fonts for stuff...even though the .SBS doesn't use them yet??
  9. %Fl(2,12-Fixed-SemiCond.fnt)
  10.  
  11. #Define the UI viewport so it fits with the background image
  12. %Vi(-,5,13,209,157,1)%Vf(00E200)%Vb(000000)
  13.  
  14. #Define the images to use
  15. %xl(B,ba-battery.bmp,5,4,14)
  16. %xl(D,ba-shufflebutton.bmp,141,151,2)
  17. %xl(E,ba-repeatbutton.bmp,185,151,5)
  18. %xl(F,ba-minimode.bmp,22,3,9)
  19. %xl(H,ba-lock.bmp,32,2,2)
  20. %xl(K,ba-hdd.bmp,174,3,3)
  21.  
  22. #Make life easy, just make 1 viewport for all the icons - but don't go into the clock area, that's a different VP
  23. %V(0,0,188,13,0)
  24.  
  25. #Battery Display
  26. %?bp<%?bc<%xd(Ba)|%xd(Bb)>|%?bl<|%xd(Bc)|%xd(Bd)|%xd(Be)|%xd(Bf)|%xd(Bg)|%xd(Bh)|%xd(Bi)|%xd(Bj)|%xd(Bk)|%xd(Bl)|%xd(Bm)|%xd(Bn)>>
  27. %?ps<%xd(Db)|%xd(Da)>
  28.  
  29. #Status Indicator (Play, Pause, etc.)
  30. %?mp<%xd(Fc)|%xd(Fa)|%xd(Fb)|%xd(Fd)|%xd(Fe)|%xd(Ff)|%xd(Fg)|%xd(Fh)|%xd(Fi)>
  31.  
  32. #Hold switch
  33. %?mh<%xd(Hb)|%xd(Ha)>
  34.  
  35. #HDD Activity
  36. %?lh<%xd(Kb)|%xd(Ka)>
  37.  
  38. #The clock. It tells you what time it is.
  39. #Needs it's own viewport, as it is text
  40. #Also respect their 24/12 hour clock setting
  41. %V(187,3,30,8,0)%Vf(00E200)%Vb(000000)
  42. %?cf<%cH:%cM|%cI:%cM>
  43.  
  44. #----------FM RADIO----------
  45.  
  46. #Have the volume popup at the bottom when you change it - otherwise no real good-looking place for it
  47.  
  48. #%Vd(f)
  49. #%Vl(f,81,-5,57,--,0)%Vf(00E200)%Vb(000000)
  50. #%?mv(2)<%pv|-|0|0|57|5||_>
  51. #Note the underscore must be used to refresh the drawing of the viewport, or else it shows the
  52. #volume bar forever as the backdrop does not often re-draw. It is also drawn off-screen so the
  53. #user would not know about it.
  54.  
  55. #----------PLAYLIST VIEWER---------- #May not need to set, we'll see...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement