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 = fsb,      107,  19, 11, 11, evFullScreen
  button = iconify,  311,  22, 10,  6, evIconify
  button = exit,     327,  20,  9,  9, evExit


  button = play,     116, 112, 28, 18, evPlaySwitchToPause
  button = pause,    116, 112, 28, 18, evPauseSwitchToPlay
  button = stop,     150, 112, 24, 18, evStop

  button = back,     180, 112, 24, 18, evBackward10sec
  button = forward,  210, 112, 24, 18, evForward10sec

  button = prev,     240, 112, 24, 18, evPrev
  button = next,     270, 112, 24, 18, evNext

  button = load,     300, 112, 26, 18, evLoadPlay
  ;button = pref,     350,  41,  8, 10, evPreferences
  ;button = eqb,      349,  68,  9,  8, evEqualizer
  ;button = plb,      354,  54, 10,  9, evPlaylist

  ;button = mute,     338, 106, 11, 10, evMute

  button = about,    195,  22, 56,  8, evAbout

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

  hpotmeter = pos,  7, 12, NULL, 100,  0,  98,  87, 246, 12, evSetMoviePosition
  ;hpotmeter = pos, 11, 11, NULL, 100, 50, 276, 106,  60, 11, evSetBalance

  ;; potmeter=phasebitmaps,phases,value,x,y,sx,sy,msg
  potmeter=volume, 10, 0, 364, 61, 30, 77, evSetVolume

  ;; font=fontname,fontid
  font = symbols,  symbols
  font = symbolsV, symbolsV
  font = font,     font

  ; 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 = 105, 70, 230, 1,    font, "$t - $o [$1] "

  dlabel =  105, 100,   9, 0, symbols,  "$l"
  dlabel =  105, 100,   9, 0, symbols,  "$s"
  dlabel =  105, 100,   9, 0, symbols,  "$e"
  dlabel =  115, 100,  62, 0, symbols,  "$1"
  dlabel =  170, 100,  36, 0, symbols,  "$a"
  dlabel =  230, 100,  92, 0, symbolsV, "VOLUME:$v"
  ;dlabel =  400, 90,  92, 0, symbolsV, "$V"

  ;dlabel =  150, 100,  99, 1,    font, "b: $b"

  dlabel =  320, 100, 25, 2, symbols, "$T"

  ; 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 = sub,-1,-1
  ; background=r,g,b
  ; window background color, default is black
  ; only subwindow, and decimal numbers
  background = 0,0,0

 end

 window = menu

  ; base=bitmap
  base = menu

  ; selected=bitmap
  selected = menus

  ; menu = x,y,width,height,msg
  menu = 0,   5, 134, 14, evAbout
  menu = 0,  34, 134, 14, evLoad
  menu = 0,  48, 134, 14, evNone         ; Add playlist
  menu = 0,  62, 134, 14, evPlay
  menu = 0,  90, 134, 14, evPlaylist
  menu = 0, 104, 134, 14, evEqualizer

  menu = 0, 118, 134, 14, evSkinBrowser
  menu = 0, 146, 134, 14, evPreferences
  menu = 0, 188, 134, 14, evNormalSize
  menu = 0, 202, 134, 14, evDoubleSize
  menu = 0, 216, 134, 14, evFullScreen
  menu = 0, 230, 134, 14, evIconify
  menu = 0, 244, 134, 14, evExit
 end

end

