Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # "BoxAmp" by TarviS / MG_Man
- # From-scratch clone of Winamp Classic (Nothing copied or pasted from original data)
- #
- #----------MAIN MENU----------
- #Define fonts for stuff...even though the .SBS doesn't use them yet??
- %Fl(2,12-Fixed-SemiCond.fnt)
- #Define the UI viewport so it fits with the background image
- %Vi(-,5,13,209,157,1)%Vf(00E200)%Vb(000000)
- #Define the images to use
- %xl(B,ba-battery.bmp,5,4,14)
- %xl(D,ba-shufflebutton.bmp,141,151,2)
- %xl(E,ba-repeatbutton.bmp,185,151,5)
- %xl(F,ba-minimode.bmp,22,3,9)
- %xl(H,ba-lock.bmp,32,2,2)
- %xl(K,ba-hdd.bmp,174,3,3)
- #Make life easy, just make 1 viewport for all the icons - but don't go into the clock area, that's a different VP
- %V(0,0,188,13,0)
- #Battery Display
- %?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)>>
- %?ps<%xd(Db)|%xd(Da)>
- #Status Indicator (Play, Pause, etc.)
- %?mp<%xd(Fc)|%xd(Fa)|%xd(Fb)|%xd(Fd)|%xd(Fe)|%xd(Ff)|%xd(Fg)|%xd(Fh)|%xd(Fi)>
- #Hold switch
- %?mh<%xd(Hb)|%xd(Ha)>
- #HDD Activity
- %?lh<%xd(Kb)|%xd(Ka)>
- #The clock. It tells you what time it is.
- #Needs it's own viewport, as it is text
- #Also respect their 24/12 hour clock setting
- %V(187,3,30,8,0)%Vf(00E200)%Vb(000000)
- %?cf<%cH:%cM|%cI:%cM>
- #----------FM RADIO----------
- #Have the volume popup at the bottom when you change it - otherwise no real good-looking place for it
- #%Vd(f)
- #%Vl(f,81,-5,57,--,0)%Vf(00E200)%Vb(000000)
- #%?mv(2)<%pv|-|0|0|57|5||_>
- #Note the underscore must be used to refresh the drawing of the viewport, or else it shows the
- #volume bar forever as the backdrop does not often re-draw. It is also drawn off-screen so the
- #user would not know about it.
- #----------PLAYLIST VIEWER---------- #May not need to set, we'll see...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement