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 = iconify, 313,  0, 20, 14, evIconify

  button = prev,     555, 19, 23, 14, evPrev
  button = exit,      23, 22, 43, 29, evExit

  button = play,     513, 68, 39, 14, evPlay
  button = pause,    555, 68, 22, 14, evPause
  button = stop,     579, 68, 22, 14, evStop
  button = load,     513, 19, 32, 14, evLoad

  button = mute,     103, 74, 11, 11, evMute
  button = zoom,     620, 59, 11, 11, evFullScreen
  button = next,     579, 19, 23, 14, evNext

  button = back,     555, 44, 23, 13, evBackward10sec
  button = forward,  579, 44, 23, 13, evForward10sec

  button = small,    153, 74, 20, 11, evForward10sec
  button = small,    183, 74, 20, 11, evForward1min
  button = small,    214, 74, 20, 11, evForward10min

  button = small,    153, 48, 20, 11, evBackward10sec
  button = small,    183, 48, 20, 11, evBackward1min
  button = small,    214, 48, 20, 11, evBackward10min

  button = small-bright,    153, 22, 20, 11, evPlayDVD
  button = small-bright,    183, 22, 20, 11, evPlaylist
  button = small-bright,    214, 22, 20, 11, evLoadSubtitle

  button = about,    645, 59, 11, 11, evAbout
  button = about,    620, 33, 11, 11, evSkinBrowser
  button = about,    645, 33, 11, 11, evPreferences

  ; hpotmeter=buttonbitmaps,sx,sy,phasebitmaps,phases,default value,x,y,sx,sy,msg
  hpotmeter = pos,  8, 8, NULL, 100,  0, 507, 87, 100, 8, evSetMoviePosition
;  hpotmeter = pos, 14, 9, NULL, 100, 50, 310, 63,  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, 21, 2, 15, 15, 15, 50, 50, 69, 18, 18, evSetVolume

  ; pimage=phasebitmaps,phases,default value,x,y,sx,sy,msg
  pimage = progress, 24, 0, 313, 69, 47, 3, evSetMoviePosition

  ; font=fontfile
  font = symbols2
  font = font2

  ; 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 p )
  ;       $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 = 262, 58, 222, 0,    font2, "$t - $F"
;  dlabel =  40, 27,  62, 0,  symbols, "$1"
  dlabel = 298, 79,   8, 0, symbols2, "$p"
  dlabel = 297, 79,   7, 0, symbols2, "$s"
  dlabel = 298, 79,   7, 0, symbols2, "$e"
;  dlabel = 121, 25,  92, 1,     font, "volume $v"
;  dlabel = 210, 25,  99, 1,     font, "balance $b"
  dlabel = 283, 68, 23, 1, symbols2, "$a"
  dlabel = 263, 78, 29, 1, symbols2, "$T"
  dlabel = 348, 77, 18, 1, symbols2, "$t"
  dlabel = 408, 77, 18, 1, symbols2, "$3"
  dlabel = 436, 77, 18, 1, symbols2, "$4"
  dlabel = 462, 77, 18, 1, symbols2, "$5"

  rpotmeter = NULL, 0, 0, volume, 21, 2, 15, 15, 15, 50, 76, 69, 18, 18, evSetBalance

  dlabel = 380, 67, 45, 0, font2, "VOL: $v"
  dlabel = 436, 67, 45, 0, font2, "BAL: $b"
  ; 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 = sub2,-1,-1
  ; background=r,g,b
  ; window back0ground color, default is black
  ; only subwindow, and decimal numbers
  background = 0,19.39

 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

