section = movieplayer

window = main

; base = bitmap,x,y
; x/y: 0=left/top -1=center -2=right/bottom
base = main, -1, -2

; button=bitmap,x,y,sx,sy,msg
; 1. bitmap: pressed  | x,y: position in window
; 2. bitmap: released | msg: name of system message
; 3. bitmap: disabled | sx,sy: size of button
; rows: 0 24 48   cols: 288 312 336 360 384 408
button = load,        288,  0, 24, 24, evLoadPlay
button = playlist,    312,  0, 24, 24, evPlaylist
button = load_sub,    336,  0, 24, 24, evLoadSubtitle
button = fullscreen,  360,  0, 24, 24, evFullScreen
button = iconify,     384,  0, 24, 24, evIconify
button = exit,        408,  0, 24, 24, evExit

button = stop,        288, 24, 24, 24, evStop
button = play,        312, 24, 24, 24, evPlaySwitchToPause
button = pause,       312, 24, 24, 24, evPauseSwitchToPlay
button = backward,    336, 24, 24, 24, evBackward10sec
button = forward,     360, 24, 24, 24, evForward10sec
button = previous,    384, 24, 24, 24, evPrev
button = next,        408, 24, 24, 24, evNext

button = NULL,          0, 48, 72, 24, evAbout
button = mute,        288, 48, 24, 24, evMute
button = equalizer,   312, 48, 24, 24, evEqualizer
button = preferences, 336, 48, 24, 24, evPreferences

; potmeter=phasebitmaps,phases,default value,x,y,sx,sy,msg

; hpotmeter standard:
hpotmeter = NULL, 0, 0, slider_time_phases,    283,  0,   3,  3, 282, 18, evSetMoviePosition
hpotmeter = NULL, 0, 0, slider_balance_phases,  67, 50,  75, 51,  66, 18, evSetBalance
hpotmeter = NULL, 0, 0, slider_volume_phases,  139, 50, 147, 51, 138, 18, evSetVolume

; hpotmeter patched:
;hpotmeter = NULL, 0, 0, slider_time,    1,  0,   3,  3, 282, 18, evSetMoviePosition
;hpotmeter = NULL, 0, 0, slider_balance, 1, 50,  75, 51,  66, 18, evSetBalance
;hpotmeter = NULL, 0, 0, slider_volume,  1, 50, 147, 51, 138, 18, evSetVolume

; font = fontname
font = font

; dynamic label
; dlabel = x,y,sx,align,fontname,string ...
;  align: 0=left 1=center 2=right
;  str: $1  = elapsed time (hh:mm:ss)
;       $6  = movie length (hh:mm:ss)
;       $V  = volume (xxx.x)
;       $B  = balance (xxx.x)
;       $a  = audio type ( nosound=n mono=m stereo=t )
;       $t  = track number
;       $o  = filename
;       $T  = stream type ( file=f vcd=v dvd=d url=u )
;       $p  = draw play symbol if playing
;       $s  = draw stop symbol if not playing
;       $e  = draw pause symbol if paused
dlabel =   3,  6, 282, 1, font, " $1 / $6 "
dlabel =   3, 30, 282, 1, font, " $o "
dlabel =  75, 54,  66, 1, font, "bal"
dlabel = 147, 54, 138, 1, font, "vol"

end


window = video
; base = bitmap,x,y,sx,sy
; x/y: 0=left/top -1=center -2=right/bottom
base = sub, -1, -1,

end


window = menu

; base = bitmap
base = menu

; selected = bitmap
selected = menu_selected

; menu = x,y,width,height,msg
menu = 0,   0, 144, 24, evAbout
menu = 0,  24, 144, 24, evLoadPlay
menu = 0,  48, 144, 24, evPlaylist
menu = 0,  72, 144, 24, evPlayDVD
menu = 0,  96, 144, 24, evPlayVCD
menu = 0, 120, 144, 24, evLoadSubtitle
menu = 0, 144, 144, 24, evDropSubtitle
menu = 0, 168, 144, 24, evNone;evIncAudioBufDelay
menu = 0, 192, 144, 24, evNone;evDecAudioBufDelay
menu = 0, 216, 144, 24, evEqualizer
menu = 0, 240, 144, 24, evSkinBrowser
menu = 0, 264, 144, 24, evPreferences
menu = 0, 288, 144, 24, evNormalSize
menu = 0, 312, 144, 24, evDoubleSize
menu = 0, 336, 144, 24, evFullScreen
menu = 0, 360, 144, 24, evExit

end
