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 = exit,    424,  61, 20, 22, evExit
  button = iconify, 430,  0, 20, 14, evIconify

  button = prev,     392, 29, 22, 20, evPrev
  button = next,     413, 29, 22, 20, evNext

  button = play,     398, 45, 32, 32, evPlaySwitchToPause
  button = pause,    382, 39, 20, 22, evPauseSwitchToPlay
  button = stop,     424, 39, 20, 22, evStop
  button = load,    382, 60, 20, 22, evLoad
  button = subload, 64, 62, 30, 11, evLoadSubtitle
  button = plb,     94, 62, 30, 11, evPlaylist
  button = eqb,     124, 62, 30, 11, evEqualizer
  button = fsb,     154, 62, 30, 11, evFullScreen

  button = back,     391, 72, 22, 20, evBackward10sec
  button = forward,  413, 72, 22, 20, evForward10sec
  button = ex,       435, 73, 24, 27, evSkinBrowser 

  button = about,    183,  61, 60, 14, evAbout
  button = conf,     250,  55, 12, 12, evPreferences
  button = mute,     435,  20, 24, 27, evMute

  ; hpotmeter=buttonbitmaps,sx,sy,phasebitmaps,phases,default value,x,y,sx,sy,msg
  hpotmeter = pos, 14, 9, NULL, 100,  0, 254, 105, 198, 9, evSetMoviePosition
  hpotmeter = pos, 14, 9, NULL, 100, 50, 154, 106,  42, 9, evSetBalance

  ; rpotmeter=buttonbitmaps,sx,sy,phasebitmaps,phases,x0,y0,x1,y1,default value,x,y,sx,sy,msg
  rpotmeter = NULL, 0, 0, volume, 8, 21, 30, 24, 29, 12, 16, 43, 32, 32, evSetVolume

  ; font=fontfile
  font = symbols
  font = font

  ; dynamic label
  ; dlabel=x,y,sx,align,fontfile,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.
  ;       $p  = 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 =  12, 32, 188, 1,    font, "$t - $o  [$1]   "
  dlabel =  80, 46,  62, 0, symbols, "$1"
  dlabel =  64, 46,   9, 0, symbols, "$p"
  dlabel =  64, 46,   9, 0, symbols, "$s"
  dlabel =  64, 46,   9, 0, symbols, "$e"
  dlabel =  12, 76,  92, 1,    font, "volume $v"
  dlabel = 102, 76,  99, 1,    font, "balance $b"
  dlabel = 180, 46,  25, 1, symbols, "$a"
  dlabel = 140, 46,  50, 1, symbols, "$T"

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

 end

 window = video

  ;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 = 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

end

