section = movieplayer

  window = main
    ;decoration = enable

    ; base
    base = main, -2, -2

    ; buttons
    button = menubutt, 255,  3,  8, 24, evFullScreen
    button = exit,     265,  3,  8, 24, evExit
    button = iconify,  245,  3,  8, 24, evIconify
    button = prev,      17, 88, 22, 17, evPrev
    button = next,     109, 88, 21, 17, evNext

    button = play,      40, 88, 21, 54, evPlay
    button = pause,     63, 88, 21, 54, evPause
    button = stop ,     86, 88, 21, 54, evStop
    button = load,     137, 89, 21, 47, evLoad
    button = fs,       210, 89, 28, 45, evPreferences
    button = ds,       170, 89, 28, 45, evLoadSubtitle
    button = eqb,      220, 57, 27, 11, evEqualizer
    button = plb,      244, 57, 29, 11, evPlaylist
    button = ab,         6,  2, 10, 10, evAbout


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

    ; hpotmeter
    hpotmeter = posbar, 29, 30, NULL, 100, 0,  19, 72, 244, 14, evSetMoviePosition
    hpotmeter = pos,    14, 33, NULL, 100, -, 108, 58,  68, 15, evSetVolume
    hpotmeter = pos,    14, 33, NULL, 100, 0, 178, 58,  37, 15, evSetBalance

    ; font=fontname,fontid
    font = symbols, symbols
    font = font,    font

    ; dynamic label
    dlabel = 112, 27, 152, 1,    font, "  $t - $o"
    dlabel =  49, 26,  65, 0, symbols, "$4"
    dlabel =  79, 26,  65, 0, symbols, "$5"
    dlabel =  30, 30,   9, 0, symbols, "$l"
    dlabel =  30, 30,   9, 0, symbols, "$s"
    dlabel =  30, 30,   9, 0, symbols, "$e"

  end

  window = sub
    base = sub,-1,-1, 600, 300
    ; 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 = 3,   6, 119, 14, evAbout
    menu = 3,  30, 119, 14, evLoad
    menu = 3,  45, 119, 14, evNone         ; Add playlist
    menu = 3,  62, 119, 14, evPlay
    menu = 3,  86, 119, 14, evPlaylist
    menu = 3, 102, 119, 14, evEqualizer
    menu = 3, 117, 119, 14, evSkinBrowser
    menu = 3, 141, 119, 14, evPreferences
    ;  menu = 3, 158, 119, 14, evNone
    menu = 3, 182, 119, 14, evNormalSize
    menu = 3, 198, 119, 14, evDoubleSize
    menu = 3, 213, 119, 14, evFullScreen
    menu = 3, 230, 119, 14, evIconify
    menu = 3, 246, 119, 14, evExit

  end

end
