section = movieplayer

 window = main

  ;base=bitmap,x,y
  ; x:            | y:
  ;  -  0: left   |  -  0: top
  ;  - -1: center |  - -1: center
  ;  - -2: right  |  - -2: bottom
  base = main2, -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 = exit2,     295,  45, 20, 20, evExit
  button = iconify2,  309,  64, 20, 20, evIconify

  button = prev2,      25,  92, 27, 28, evPrev
  button = next2,     294,  93, 27, 28, evNext

  button = play2,     229, 125, 27, 28, evPlaySwitchToPause
  button = pause2,    229, 125, 27, 28, evPauseSwitchToPlay
  button = stop2,      93, 125, 27, 28, evStop
  button = buttons2,   82,  95, 20,  4, evLoad
  button = buttons2,  204,  95, 20,  4, evEqualizer
  button = buttons2,  163,  95, 20,  4, evPlaylist
  button = buttons2,  124,  95, 20,  4, evLoadSubtitle
  button = buttons2,  244,  95, 20,  4, evFullScreen
  button = buttons2,   82,  95, 20,  6, evLoad

  button = back2,      58, 109, 27, 28, evBackward10sec
  button = forward2,  263, 109, 27, 28, evForward10sec

  button = about2,    130,  15, 94, 14, evAbout

  ; hpotmeter=buttonbitmaps,sx,sy,phasebitmaps,phases,default value,x,y,sx,sy,msg
  hpotmeter = pos2, 14, 9, NULL, 0,   0,  67,  79, 216, 10, evSetMoviePosition
  hpotmeter = pos2, 14, 9, NULL, 0,  49, 150, 150,  49, 10, evSetVolume

  ; potmeter=phasebitmaps,phases,default value,x,y,sx,sy,msg
;  potmeter =volume2, 51, 0, 311, 17, 40, 40, evSetVolume

  ; font=fontname,fontid
;  font = symbols2, 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 = 65, 60, 215, 1,    font, "$t - $o [$1] "
;  dlabel =  40, 27,  62, 0, symbols, "$1"
;  dlabel =  25, 27,   9, 0, symbols, "$l"
;  dlabel =  25, 27,   9, 0, symbols, "$s"
;  dlabel =  25, 27,   9, 0, symbols, "$e"
;  dlabel = 121, 25,  92, 1,    font, "volume $v"
;  dlabel = 210, 25,  99, 1,    font, "balance $b"
;  dlabel = 275, 25,  25, 1, symbols, "$a"

  ; 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 = 1,   6, 124, 14, evAbout
  menu = 1,  30, 124, 14, evLoad
  menu = 1,  45, 124, 14, evNone         ; Add playlist
  menu = 1,  62, 124, 14, evPlay
  menu = 1,  86, 124, 14, evPlaylist
  menu = 1, 102, 124, 14, evEqualizer
  menu = 1, 117, 124, 14, evSkinBrowser
  menu = 1, 141, 124, 14, evPreferences
;  menu = 1, 158, 119, 14, evNone
  menu = 1, 182, 124, 14, evNormalSize
  menu = 1, 198, 124, 14, evDoubleSize
  menu = 1, 213, 124, 14, evFullScreen
  menu = 1, 230, 124, 14, evIconify
  menu = 1, 246, 124, 14, evExit
 end

end

