section = movieplayer

 window = main

  ;valeria ti amo
  ;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,    169, 253, 25, 44, evExit
  button = iconify, 105,  91,  5,  8, evIconify

  button = prev,     95, 347, 27, 17, evPrev
  button = next,    162, 348, 28, 17, evNext

  button = play,    127, 329, 32, 21, evPlaySwitchToPause
  button = pause,   127, 329, 32, 21, evPauseSwitchToPlay
  button = stop,    128, 354, 28, 17, evStop
  button = load,     92, 298, 34, 23, evLoad
  button = eqb,     161, 298, 30, 21, evEqualizer
  button = plb,     128, 377, 27, 17, evPlaylist
  button = fsb,      90, 253, 26, 45, evFullScreen
  button = subt,    127, 305, 32, 21, evLoadSubtitle

  button = back,     93, 322, 33, 22, evBackward10sec
  button = forward, 162, 324, 29, 17, evForward10sec

  button = about,   124, 146, 36, 11, evAbout
  button = pref,     97, 368, 28, 25, evPreferences
  button = eq,	    159, 367, 28, 25, evLoadSubtitle

  ; questo slider gestisce il cammino del video
  ; hpotmeter=buttonbitmaps,sx,sy,phasebitmaps,phases,default value,x,y,sx,sy,msg
  hpotmeter =  pos, 10, 5, NULL, 100,  0, 102, 228, 82, 5, evSetMoviePosition

  ; rpotmeter=buttonbitmaps,sx,sy,phasebitmaps,phases,x0,y0,x1,y1,default value,x,y,sx,sy,msg
  rpotmeter = NULL, 0, 0, volume, 33, 18, 43, 29, 43, 0, 117, 257, 51, 46, 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 = 113, 214,  69, 1,    font, "$1"
    dlabel = 178, 179,   7, 1, symbols, "$s"
    dlabel = 178, 179,   7, 1, symbols, "$e"
    dlabel = 178, 179,   7, 1, symbols, "$p"
    dlabel = 105, 180,  40, 0,    font, "$V"
    dlabel = 103, 198,  80, 1,    font, "$t - $o  "
 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 = 3,   5, 122, 16, evAbout
  menu = 3,  28, 122, 15, evLoad
  menu = 3,  44, 122, 15, evNone         ; Add Playlist
  menu = 3,  60, 122, 15, evLoadSubtitle
  menu = 3,  76, 122, 15, evPlay
  menu = 3, 100, 122, 15, evPlaylist
  menu = 3, 116, 122, 15, evEqualizer
  menu = 3, 132, 122, 15, evSkinBrowser
  menu = 3, 156, 122, 15, evPreferences
;  menu = 3, 172, 122, 15, evNone
  menu = 3, 196, 122, 15, evNormalSize
  menu = 3, 212, 122, 15, evDoubleSize
  menu = 3, 228, 122, 15, evFullScreen
  menu = 3, 244, 122, 15, evIconify
  menu = 3, 260, 122, 15, evExit
 end

end

