section = movieplayer

 window = main

  ;base=bitmap,x,y
  ; x:            | y:
  ;  -  0: left   |  -  0: top
  ;  - -1: center |  - -1: center
  ;  - -2: right  |  - -2: bottom
  base = main, -1, -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,    239,  3, 10, 4, evExit
  button = iconify, 225,  3, 10, 4, evIconify

  button = prev,     110, 50, 16, 48, evPrev
  button = next,     160, 50, 16, 48, evNext
  button = back,     127, 50, 16, 48, evBackward10sec
  button = forward, 143, 50, 16, 48, evForward10sec

  button = play,     211, 34, 32, 96, evPlaySwitchToPause
  button = pause,    211, 34, 32, 96, evPauseSwitchToPlay
  button = stop,      186, 41, 25, 75, evStop
  button = load,    8, 50, 16, 48, evLoad
  button = subload, 59, 50, 16, 48, evLoadSubtitle
  button = plb,     25, 50, 16, 48, evPlaylist
  button = eqb,     42, 50, 16, 48, evEqualizer
  button = fsb,     76, 50, 16, 48, evFullScreen
  button = mute,     236, 20, 12, 36, evMute

 

  button = about,    180,  3, 10, 4, evAbout

  ; hpotmeter=button,bitmaps,sx,sy,phasebitmaps,phases,default value,x,y,sx,sy,msg
  hpotmeter = pos, 14, 9, NULL, 100,  0, 14, 35, 131, 9, evSetMoviePosition
  hpotmeter = bal, 12, 36, NULL, 100, 50, 191, 22,  22, 12, evSetBalance
  hpotmeter = volume, 12, 36, NULL, 100, 50, 189, 8,  52, 12, evSetVolume

  ; potmeter=phasebitmaps,phases,default value,x,y,sx,sy,msg
 ; potmeter =volume, 51, 0, 311, 17, 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 = 14, 10, 124, 6,    font, "$t - $o - $6"
  dlabel =  14, 22,  102, 12, symbols, "$1"
  dlabel =  155, 18,   10, 12, symbols, "$l"
  dlabel =  155, 18,   12, 12, symbols, "$s"
  dlabel =  155, 18,   10, 12, symbols, "$e"
  dlabel =    97, 23,  33, 7, symbols, "$a"
  dlabel =    140, 10,  40, 7, font, "$V"
  dlabel = 148, 35,  31, 5, symbols, "$T"

  ; static label
  ; slabel=x,y,fontid,string ...
  ;slabel =  200, 10, symbols, "12345 - 67890"
  ; slabel = 10, 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 = 13,   3, 102, 15, evAbout
  menu = 13,  21, 102, 14, evLoad
  menu = 13,  34, 102, 14, evNone         ; Add playlist
  menu = 13,  47, 102, 14, evPlay
  menu = 13,  65, 102, 14, evPlaylist
  menu = 13, 79, 102, 14, evEqualizer

  menu = 13, 92, 102, 14, evSkinBrowser
  menu = 13, 110, 102, 14, evPreferences
;  menu = 13, 124, 102, 14, evNone
  menu = 13, 141, 102, 14, evNormalSize
  menu = 13, 155, 102, 14, evDoubleSize
  menu = 13, 168, 102, 14, evFullScreen
  menu = 13, 181, 102, 14, evIconify
  menu = 13, 194, 102, 14, evExit
 end

window = playbar
  base = playbar, -1, -2
  button = stoppb,     157, 6, 27, 15, evStop
  button = playb,     173,1, 24, 27, evPlaySwitchToPause
  button = pauseb,    173, 1, 24, 27, evPauseSwitchToPlay

  button = backpb,    133, 8, 11, 13, evBackward10sec
  button = fowardpb,    145, 8, 27, 15, evForward10sec

 
  button = fspb,     1, 1, 12, 12, evFullScreen
  
  button = mutepb,     1, 15, 12, 12, evMute
  button = exitpb,     147, 1, 9, 3, evExit
  button = aboutpb,     133, 1, 10, 3, evAbout
  

   dlabel = 111, 6, 10, 12,  symbols,   "$l"
   dlabel = 111, 6, 10, 12,  symbols,   "$e"
   dlabel = 111, 6, 12, 12,  symbols,   "$s"

  

  dlabel = 18, 13, 70, 6,    font, "$1"
  dlabel = 104, 19, 31, 5,  symbols, "$T"

  dlabel = 78, 13, 32, 7,  symbols, "$a"
  
  dlabel = 18, 6, 85, 6,    font, "$o "
  
  
  hpotmeter = pos, 14, 9, NULL, 100,  0, 18, 20, 84, 9, evSetMoviePosition
 
      



 end


end

