section = movieplayer

 window = main

  ;base=bitmap,x,y
  ; x:            | y:
  ;  -  0: left   |  -  0: top
  ;  - -1: center |  - -1: center
  ;  - -2: right  |  - -2: bottom
  base = main, -2, -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



  button = NULL,    45, 100, 30, 20, evExit
  button = NULL,    44,   4, 30, 12, evLoadPlay
  button = NULL,     6,  49, 20, 10, evEqualizer
  button = NULL,     6,  60, 20, 10, evPreferences
  button = NULL,   100,  49, 20, 10, evMute
  button = NULL,   100,  60, 20, 10, evFullScreen

  button = play,    21,  18, 30, 20, evPlaySwitchToPause
  button = play,    21,  18, 30, 20, evPauseSwitchToPlay
  button = stop,    59,  15, 24, 25, evStop

  button = rev,     23,  72, 40, 20, evBackward10sec
  button = forward, 58,  72, 40, 20, evForward10sec


  ; potmeter=phasebitmaps,phases,default value,x,y,sx,sy,msg
  potmeter = volume,  20, 0, 26, 50, 70, 5, evSetVolume
  potmeter = progres, 20, 0, 26, 65, 70, 5, evSetMoviePosition

  ; font=fontname,fontid
  font =  symbols, symbols2
  font =     font, font-pl
  font = symbolsg, symbols2
  ; dynamic label
  ; dlabel=x,y,sx,align,fontid,string ...
  ;  align: 0: right 1: center 2: left
  ;  str: $1  = hh:mm:ss
  ;       $2  = mmmm:ss
  ;       $3  = hh
  ;       $4  = mm
  ;       $5  = ss
  ;       $6  = movie length, hh:mm:ss
  ;       $7  = movie length, mmmm:ss
  ;       $v  = volume, xxx.xx%
  ;       $V  = volume, xxx.x
  ;       $b  = balance, xxx.xx%
  ;       $B  = balance, xxx.x
  ;       $$  = draw $
  ;       $a  = audio type ( nosound: char n, mono: char m, stereo: char t, etc )
  ;       $t  = track number
  ;       $o  = filename
  ;       $f  = filename with lower case
  ;       $F  = filename with upper case
  ;
  ;       $T  = stream type ( file: f, video cd: v, dvd: d, url: u ), if
  ;              font contain needed symbol.
  ;       $l  = draw play symbol, if mplayer is playing movie and font
  ;              contain playing symbol. ( char l )
  ;       $s  = draw stop symbol, if mplayer not playing movie and font
  ;              contain stop symbol. ( char s )
  ;       $e  = draw pause symbol, if playing is paused and font contain
  ;              pause symbol ( char e )


  dlabel = 25, 56,  56, 0, symbols, "$e"
  dlabel = 25, 56,  56, 0, symbols, "$s"

  dlabel = 35, 55,  56, 0,    font, "$1"
  dlabel = 80, 55,  22, 0, symbols, "$a"


  ; static label
  ; slabel=x,y,fontid,string ...
  ; slabel =  10, 10, symbols, "12345 - 67890"
  ; slabel = 120, 10,    font, "Eyes on Me"

 end

 window = sub

  ;base=bitmap,x,y,sx,sy
  ; x:            | y:
  ;  -  0: left   |  -  0: top
  ;  - -1: center |  - -1: center
  ;  - -2: right  |  - -2: bottom
  base = subblue,-1,-1
  ; background=r,g,b
  ; window background color, default is black
  ; only subwindow, and decimal numbers
  background = 128,128,255

 end

 window = menu

  ; base=bitmap
  base = menu

  ; selected=bitmap
  selected = menus

  ; menu = x,y,width,height,msg
  menu = 3,   6, 122, 14, evAbout
  menu = 3,  28, 122, 14, evLoad
  menu = 3,  43, 122, 14, evNone         ; Add playlist
  menu = 3,  60, 122, 14, evPlay
  menu = 3,  84, 122, 14, evPlaylist
  menu = 3, 100, 122, 14, evEqualizer

  menu = 3, 116, 122, 14, evSkinBrowser
  menu = 3, 140, 122, 14, evPreferences
;  menu = 3, 156, 122, 14, evNone
  menu = 3, 180, 122, 14, evNormalSize
  menu = 3, 196, 122, 14, evDoubleSize
  menu = 3, 212, 122, 14, evFullScreen
  menu = 3, 228, 122, 14, evIconify
  menu = 3, 244, 122, 14, evExit
 end

 window = playbar
  base = playbar, -1, -2

  button = barstop,  77, 56, 27, 15, evStop
  button = barplay,  54, 73, 27, 15, evPlaySwitchToPause
  button = barplay,  54, 73, 27, 15, evPauseSwitchToPlay

  button = barrev,  139, 37, 26, 15, evBackward10sec
  button = barfwd,  174, 32, 27, 15, evForward10sec

  button = barrevv, 107, 44, 27, 15, evBackward1min
  button = barffwd, 209, 28, 27, 15, evForward1min

  button = bareqb,  287, 32, 27, 15, evEqualizer
  button = barzoom, 251, 28, 27, 15, evFullScreen
  button = NULL,    327, 42, 27, 15, evPreferences

  button = barmute, 359, 52, 27, 15, evMute
  button = barexit, 386, 68, 27, 15, evExit


  dlabel = 195, 59, 9, 0,   symbols, "$l"
  dlabel = 195, 59, 9, 0,   symbols, "$e"
  dlabel = 195, 59, 9, 0,   symbols, "$s"


  dlabel = 205, 58, 56, 0,     font, "$1"
;  dlabel = 264, 59, 22, 0,  symbols, "$T"

  dlabel = 292, 65, 22, 1, symbolsg, "$a"


  dlabel = 132, 70, 27, 0,  symbols, "$T "
  dlabel = 160, 68, 95, 0,     font, "$o"


  button = NULL, 258, 70, 11, 8, evDecVolume
  button = NULL, 331, 70, 11, 8, evIncVolume

  hpotmeter = pos, 20, 8, NULL, 100,  0, 120, 79, 240, 8, evSetMoviePosition
  hpotmeter = pos, 20, 8, NULL,  50, 50, 269, 70,  61, 8, evSetVolume



 end

end
