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_fixed, -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,    101, 91, 23, 24, evExit
;  button = iconify, 105,  91,  5,  8, evIconify

;  button = prev,     60, 243, 27, 17, evPrev
;  button = next,    127, 244, 28, 17, evNext

  button = play,     95,   20, 13, 22, evPlaySwitchToPause
  button = pause,    93,   23, 17, 16, evPauseSwitchToPlay
  button = stop,     50,   31, 14, 13, evStop
  button = load,     157,  148, 19, 16, 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,       9, 101, 18, 16, evBackward10sec
  button = forward,   22,  64, 17, 15, evForward10sec

;  button = about,   124, 146, 36, 11, evAbout

  ; 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, 95, 209, 61, 5, evSetMoviePosition
  
  ; questo invece quello del volume
  ; potmeter=phasebitmaps,phases,default value,x,y,sx,sy,msg
  potmeter =volume, 20, 0, 49, 68,  60, 82, 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 = 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, "$l"
  ;  dlabel = 105, 180,  40, 0,    font, "$V"
    dlabel = 91, 194,  67, 1,    font, "$t - $o  "
 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 = 132, 64, 25

 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

