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 = about,    15,   8, 47, 16, evAbout
  button = pref,     80,   1, 19,  8, evPreferences
  button = load,     99,   1, 19,  8, evLoad
  button = plb,     118,   1, 19,  8, evPlaylist
  button = subt,    137,   1, 19,  8, evLoadSubtitle
  button = normal,  156,   1, 19,  8, evNormalSize
  button = double,  175,   1, 19,  8, evDoubleSize
  button = iconify, 207,   1, 17,  8, evIconify
  button = exit,    224,   1, 17,  8, evExit

  button = stop,    172,  40, 10, 11, evStop
  button = play,    182,  40, 11, 11, evPlaySwitchToPause
  button = pause,   182,  40, 11, 11, evPauseSwitchToPlay
  button = prev,    195,  40, 10, 11, evPrev
  button = back,    205,  40, 10, 11, evBackward10sec
  button = forward, 216,  40, 10, 11, evForward10sec
  button = next,    226,  40, 10, 11, evNext

  ; hpotmeter=buttonbitmaps,sx,sy,phasebitmaps,phases,default value,x,y,sx,sy,msg
  hpotmeter = pos, 9, 6, NULL, 100,  0, 81, 40, 88, 6, evSetMoviePosition

  ; rpotmeter=buttonbitmaps,sx,sy,phasebitmaps,phases,x0,y0,x1,y1,default value,x,y,sx,sy,msg
  rpotmeter = NULL, 0, 0, volume, 26, 8, 35, 28, 35, 0, 247, 8, 37, 36, 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 =  13, 32,  65, 1, symbols, "$1"
    dlabel =  73,  9,  53, 1, symbols, "$a"
    dlabel = 141,  9,  91, 1, symbols, "$T"
    dlabel =  84, 30, 149, 1, font,    "    $t - $o    "
    ;dlabel = 119, 30,   7, 1, symbols, "$s"
    ;dlabel = 119, 30,   7, 1, symbols, "$e"
    ;dlabel = 119, 30,   7, 1, symbols, "$p"
 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 = 93,134,168

 end

 window = menu

  ; base=bitmap
  base = menu

  ; selected=bitmap
  selected = menus

  ; menu = x,y,width,height,msg
  menu = 0,   5, 128, 16, evAbout
  menu = 0,  25, 128, 15, evLoad
  menu = 0,  40, 128, 14, evNone         ; Add Playlist
  menu = 0,  54, 128, 15, evLoadSubtitle
  menu = 0,  69, 128, 15, evPlay
  menu = 0,  88, 128, 15, evPlaylist
  menu = 0, 103, 128, 14, evEqualizer
  menu = 0, 117, 128, 15, evSkinBrowser
  menu = 0, 137, 128, 15, evPreferences
; menu = 0, 152, 128, 15, evNone        ; Remaining Time
  menu = 0, 171, 128, 15, evNormalSize
  menu = 0, 186, 128, 14, evDoubleSize
  menu = 0, 200, 128, 14, evFullScreen
  menu = 0, 214, 128, 15, evIconify
  menu = 0, 229, 128, 15, evExit
 end

end

