; Abyss by Franciszek Wilamowski (Xenomorph)
; higgs@hoth.amu.edu.pl


section = movieplayer

 window = main

  ;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 = close,      198,   3, 46, 16, evExit
 button = setup,      407,  43, 27, 30, evPreferences
 button = NULL,       352,  90, 50, 15, evAbout
 button = NULL,       168, 102, 30, 15, evIconify

 button = stop,       182,  20, 29, 25, evStop
 button = eject,      165,   3, 33, 19, evLoadPlay
 button = play,       144,  20, 33, 30, evPlaySwitchToPause
 button = play,       144,  20, 33, 30, evPauseSwitchToPlay
 button = playlist,   196, 102, 45, 16, evPlaylist

 button = next,       181,  48, 40, 20, evNext
 button = prev,       141,  48, 40, 20, evPrev
 button = revv,       145,  74, 40, 20, evBackward10sec
 button = ffwd,       181,  74, 40, 20, evForward10sec

 button = subtxt,     124,  61, 20, 20, evLoadSubtitle
 button = equ,        124,  48, 20, 20, evEqualizer
 button = full,       218,  61, 20, 20, evFullScreen
 button = mute,       218,  48, 20, 20, evMute


 button = vol-button, 244,77, 15, 11, evDecVolume
 button = vol-button, 320,77, 15, 11, evIncVolume


; potmeter=phasebitmaps,phases,default value,x,y,sx,sy,msg
  potmeter = progres-long, 50,  0, 245, 27, 150,10, evSetMoviePosition
  potmeter = volume,       17, 50, 265, 79,  60, 9, evSetVolume
  potmeter = balance,      10, 50, 352, 79,  35, 9, evSetBalance

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


   dlabel = 247, 33, 150, 0,    font, "$t - $o  "
   dlabel = 247, 49,  35, 0, symbols, "$T"
   dlabel = 277, 50,   9, 0, symbols, "$l"
   dlabel = 277, 50,   9, 0, symbols, "$e"
   dlabel = 277, 50,   9, 0, symbols, "$s"
   dlabel = 286, 48,  56, 0,    font, "$1"
   dlabel = 331, 48,  62, 0,    font, "/"
   dlabel = 337, 48,  62, 0,    font, "$6"

   dlabel = 381, 49,  25, 1, symbols, "$a"
   dlabel = 247, 65,  92, 1,    font, "v: $v"
   dlabel = 320, 65,  99, 1,    font, " bal:$B"

   dlabel = 246, 77,  15, 1,    font, "-"
   dlabel = 323, 77,  15, 1,    font, "+"

 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, 0
  ; background=r,g,b
  ; window background color, default is black
  ; only subwindow, and decimal numbers
  background = 30,88,176

 end

 window = menu

  ; base=bitmap
  base = menu

  ; selected=bitmap
  selected = menus

; menu = x,y,width,height,msg

  menu = 2,   5, 125, 18, evAbout
  menu = 2,  27, 125, 16, evLoad
  menu = 2,  43, 125, 16, evNone         ; Add playlist
  menu = 2,  59, 125, 16, evPlay
  menu = 2,  83, 125, 16, evPlaylist
  menu = 2,  99, 125, 16, evEqualizer

  menu = 2, 116, 125, 16, evSkinBrowser
  menu = 2, 139, 125, 17, evPreferences
  menu = 2, 156, 125, 16, evNone
  menu = 2, 178, 125, 16, evNormalSize
  menu = 2, 195, 125, 16, evDoubleSize
  menu = 2, 211, 125, 16, evFullScreen
  menu = 2, 227, 125, 16, evIconify
  menu = 2, 243, 125, 16, evExit

  end

 window = playbar
   base = playbar, -1, -2

; potmeter=phasebitmaps,phases,default value,x,y,sx,sy,msg
  potmeter = barprogress, 50, 0, 120,80, 150,10, evSetMoviePosition
  potmeter = barvolume, 17, 50, 285,80, 60, 9, evSetVolume

    dlabel = 140, 68, 150, 0,    font, " $o  "
    dlabel = 182, 55, 150, 0,    font, "$1"
    dlabel = 223, 55, 150, 0,    font, " / $6"


    dlabel = 172, 56,   9, 0, symbols, "$l"
    dlabel = 172, 56,   9, 0, symbols, "$e"
    dlabel = 172, 56,   9, 0, symbols, "$s"

    dlabel = 308, 70,  25, 0, symbols, "$a"

 button = NULL, 275, 80, 10, 8, evDecVolume
   dlabel = 269, 78,  30, 1,    font, "- "
   dlabel = 269, 78,  30, 1,    font, "O "

 button = NULL, 337, 80, 14, 8, evIncVolume
   dlabel = 336, 78,  30, 1,    font, "+ "
   dlabel = 336, 78,  30, 1,    font, "O "


 button = barstop2,  66, 55, 24, 18, evStop
 button = barplay,   41, 71, 24, 18, evPlaySwitchToPause
 button = barplay,   41, 71, 24, 18, evPauseSwitchToPlay

 button = barrev,   131, 32, 24, 18, evBackward10sec
 button = barfwd,   162, 29, 24, 18, evForward10sec

 button = barrevv,   97, 42, 24, 18, evBackward1min
 button = barffwd,  196, 26, 24, 18, evForward1min

 button = barequ,   264, 29, 24, 18, evEqualizer
 button = barfs,    229, 27, 24, 18, evFullScreen
 button = barsetup, 296, 35, 24, 18, evPreferences
 button = barpl,    329, 45, 24, 18, evPlaylist
 button = barmute2, 358, 58, 24, 18, evMute
 button = barexit,  384, 73, 24, 18, evExit

 end

end

