section = movieplayer

 window = main
# 274,115
  ;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
# poncso todo - menugomb
  button = menubutt,   1,  1,  14, 12, evAbout
  button = exit,     257,  1,  13, 12, evExit
  button = iconify,  228,  1,  13, 12, evIconify
  button = maximize, 243,  1,  13, 12, evFullScreen
# poncso todo - maximize (?)
  ;button = maximize, 253,  3,  7,  8, evAbout
  button = prev,      17, 89, 22, 18, evPrev
  button = next,     109, 89, 22, 18, evNext

  button = play,      40, 89, 22, 18, evPlay
  button = pause,     63, 89, 22, 18, evPause
  button = stop,      86, 89, 22, 18, evStop
  button = load,     137, 89, 22, 16, evLoad
  button = eqb,      222, 57, 17, 12, evEqualizer
  button = plb,      245, 57, 17, 12, evPlaylist

  ;button = NULL,      55, 59, 22, 17, evBackward10sec
  ;button = NULL,      69, 59, 21, 17, evForward10sec

  ; hpotmeter=buttonbitmaps,sx,sy,phasebitmaps,phases,default value,x,y,sx,sy,msg
    hpotmeter = pos, 16, 7, NULL, 100, 0,  16, 74, 246, 7, evSetMoviePosition
    hpotmeter = pos, 16, 7, NULL, 100, -, 107, 60,  66, 7, evSetVolume
    hpotmeter = pos, 16, 7, NULL, 100, 0, 177, 60,  39, 7, evSetBalance

  ; potmeter=phasebitmaps,phases,default value,x,y,sx,sy,msg

  ; 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
  ;       $8  = movie length, h:mm: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 = 110, 27, 150, 1,    font, "  $t - $o"
  dlabel =  25, 27,  75, 0, symbols, "$8"
;  dlabel =  49, 26,  65, 0, symbols, "$4"
;  dlabel =  79, 26,  65, 0, symbols, "$5"
  dlabel =  27, 44,   9, 0, symbols, "$l"
  dlabel =  27, 44,   9, 0, symbols, "$s"
  dlabel =  27, 44,   9, 0, symbols, "$e"

  ; 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 = 0,0,0

 end

 window = menu

  ; base=bitmap
  base = menu

  ; selected=bitmap
  selected = menus

  ; menu = x,y,width,height,msg
  menu = 0,   6, 126, 14, evAbout
  menu = 0,  30, 126, 14, evLoad
  menu = 0,  45, 126, 14, evNone         ; Add playlist
  menu = 0,  62, 126, 14, evPlay
  menu = 0,  86, 126, 14, evPlaylist
  menu = 0, 102, 126, 14, evEqualizer
  menu = 0, 117, 126, 14, evSkinBrowser
  menu = 0, 141, 126, 14, evPreferences
  menu = 0, 158, 126, 14, evNone
  menu = 0, 182, 126, 14, evNormalSize
  menu = 0, 198, 126, 14, evDoubleSize
  menu = 0, 213, 126, 14, evFullScreen
  menu = 0, 230, 126, 14, evIconify
  menu = 0, 246, 126, 14, evExit
 end

end

