section = movieplayer

 window = main
  base = main, -2, -2

; button = bitmap,        x, y,  sx, sy, msg

  button = exit,        342, 3,  15, 14, evExit
  button = iconify,     326, 3,  15, 14, evIconify
  
  button = stop,         19, 60, 21, 17, evStop
  button = play,         43, 60, 21, 17, evPlaySwitchToPause
  button = pause,        43, 60, 21, 17, evPauseSwitchToPlay
  button = open,         68, 61, 20, 14, evLoad
  button = subload,      91, 61, 26, 14, evLoadSubtitle

  button = prev,        137, 60, 21, 17, evPrev
  button = back,        161, 60, 21, 17, evBackward1min
  button = forward,     185, 60, 21, 17, evForward1min
  button = next,        209, 60, 21, 17, evNext

  button = minus,       241, 60, 21, 17, evDecVolume
  button = plus,        284, 60, 21, 17, evIncVolume

  button = size-norm,   310, 69, 15, 14, evNormalSize
  button = size-double, 326, 69, 15, 14, evDoubleSize
  button = size-full,   342, 69, 15, 14, evFullScreen
  
  font = symbols, symbols
  font = font,    font

  dlabel =  43, 22,  62, 0, symbols, "$1"
  dlabel =  28, 22,   9, 0, symbols, "$l"
  dlabel =  28, 22,   9, 0, symbols, "$s"
  dlabel =  28, 22,   9, 0, symbols, "$e"
  dlabel = 129, 14, 180, 1,    font, "$o - [$6] - "
  dlabel = 130, 29,  34, 1, symbols, "$T"
  dlabel = 160, 31,  92, 1,    font, "res: $x:"
  dlabel = 205, 31,  92, 1,    font, "$y"
  dlabel = 258, 31,  92, 1,    font, "vol $v"

; hpotmeter = buttonbitmaps, sx, sy, phasebitmaps, phases, default, x,   y,   sx,   sy, msg
  hpotmeter = pos-horiz,     37, 9,  NULL,         100,    0,       8,   47,  350,  9,  evSetMoviePosition
 end

 window = sub
  base = sub,-1,-1
  background = 215,215,215
 end

end

