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,    178,  2, 9, 8, evExit
  button = iconify, 154,  2, 9, 8, evIconify

  button = prev,      23, 62, 6, 8, evPrev
  button = next,     118, 62, 6, 8, evNext

  button = play,     54, 62,  6, 8, evPlaySwitchToPause
  button = pause,    69, 62,  6, 8, evPauseSwitchToPlay
  button = stop,     86, 62,  6, 8, evStop
  button = load,    149, 62,  9, 8, evLoad
  button = subload, 162, 62,  9, 8, evLoadSubtitle
  button = plb,     173, 62,  9, 8, evPlaylist
  button = eqb,     211, 62, 10, 8, evEqualizer
  button = fsb,     166,  2,  9, 8, evFullScreen

  button = back,      35, 62, 9, 8, evBackward10sec
  button = forward,  103, 62, 9, 8, evForward10sec

  button = about,    0,  0, 62, 14, evAbout

  ; hpotmeter=buttonbitmaps,sx,sy,phasebitmaps,phases,default value,x,y,sx,sy,msg
  hpotmeter = pos, 6, 5, NULL, 100,  0,  14, 73, 212, 5, evSetMoviePosition
  hpotmeter = pos, 6, 5, NULL, 100, 50, 196, 30,  31, 5, evSetBalance
  hpotmeter = pos, 6, 5, NULL, 100, 50, 196, 43,  31, 5, evSetVolume
  ; potmeter=phasebitmaps,phases,default value,x,y,sx,sy,msg
;  potmeter =volume, 51, 0, 236, 19, 40, 40, evSetVolume

  ; font=fontname,fontid
  font = symbols, symbols
  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 =  13, 42, 168, 1,    font, "$t - $o   "
  dlabel =  25, 18,  62, 0, symbols, "$1"
  dlabel =  13, 18,   9, 0, symbols, "$l"
  dlabel =  13, 18,   9, 0, symbols, "$s"
  dlabel =  13, 18,   9, 0, symbols, "$e"
;  dlabel = 50, 45,  92, 1,    font, "vol $v"
;  dlabel = 100, 45,  99, 1,    font, "bal $b"
  dlabel = 161, 15,  25, 1, symbols, "$a"
  dlabel = 146, 27,  50, 1, 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 = 93,134,168

 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

