; 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,       73,   0, 50, 15, evExit
 button = setup,      282,  39, 21, 32, evPreferences
 button = NULL,       102,  86, 50, 15, evAbout
 button = NULL,        43,  98, 30, 15, evIconify

 button = stop,        57,  16, 39, 28, evStop
 button = eject,       40,   0, 35, 15, evLoadPlay
 button = play,        19,  16, 37, 28, evPlaySwitchToPause
 button = play,        19,  16, 37, 28, evPauseSwitchToPlay
 button = playlist,    75,  99, 45, 12, evPlaylist

 button = next,        56,  44, 40, 24, evNext
 button = prev,        16,  44, 41, 26, evPrev
 button = revv,        20,  70, 37, 23, evBackward10sec
 button = ffwd,        56,  70, 38, 23, evForward10sec

 button = subtxt,       0,  57, 21, 13, evLoadSubtitle
 button = equ,          0,  44, 20, 13, evEqualizer
 button = full,        93,  57, 25, 14, evFullScreen
 button = mute,        93,  44, 26, 14, evMute


 button = vol-button, 119,  73, 20, 10, evDecVolume
 button = vol-button, 195,  73, 20, 10, evIncVolume


; potmeter=phasebitmaps,phases,default value,x,y,sx,sy,msg
  potmeter = progres-long, 47,  0, 120, 23, 144,  5, evSetMoviePosition
  potmeter = volume,       17, 50, 140, 75,  60,  9, evSetVolume
  potmeter = balance,      10, 50, 227, 75,  35,  9, evSetBalance

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


   dlabel = 122, 29, 150, 0,    font, "$t - $o  "
   dlabel = 122, 44,  35, 0, symbols, "$T"
   dlabel = 152, 46,   9, 0, symbols, "$l"
   dlabel = 152, 46,   9, 0, symbols, "$e"
   dlabel = 152, 46,   9, 0, symbols, "$s"
   dlabel = 161, 44,  56, 0,    font, "$1"
   dlabel = 206, 44,  62, 0,    font, "/"
   dlabel = 212, 44,  62, 0,    font, "$6"

   dlabel = 255, 45,  25, 1, symbols, "$a"
   dlabel = 122, 61,  92, 1,    font, "v: $v"
   dlabel = 192, 61,  99, 1,    font, " bal: $B"

   dlabel = 121, 73,  15, 1,    font, "-"
   dlabel = 198, 73,  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, 47,  0, 104, 58, 144, 5, evSetMoviePosition
  potmeter = barvolume,   17, 50, 269, 58,  53, 5, evSetVolume

    dlabel = 124, 46, 150, 0,    font, " $o  "
    dlabel = 166, 35, 150, 0,    font, "$1"
    dlabel = 207, 35, 150, 0,    font, " / $6"


    dlabel = 156, 34,   9, 0, symbols, "$l"
    dlabel = 156, 34,   9, 0, symbols, "$e"
    dlabel = 156, 34,   9, 0, symbols, "$s"

    dlabel = 292, 48,  25, 0, symbols, "$a"

 button = NULL, 259, 58, 10, 8, evDecVolume
   dlabel = 251, 56,  30, 1,    font, "- "
   dlabel = 251, 56,  30, 1,    font, "O "

 button = NULL, 337, 58, 14, 8, evIncVolume
   dlabel = 318, 56,  30, 1,    font, "+ "
   dlabel = 318, 56,  30, 1,    font, "O "


 button = barstop,   50, 33, 34, 20, evStop
 button = barplay,   25, 49, 35, 18, evPlaySwitchToPause
 button = barplay,   25, 49, 35, 18, evPauseSwitchToPlay

 button = barrev,   115, 10, 30, 18, evBackward10sec
 button = barfwd,   146,  7, 32, 16, evForward10sec

 button = barrevv,   81, 20, 34, 18, evBackward1min
 button = barffwd,  180,  4, 32, 17, evForward1min

 button = barequ,   248,  7, 30, 17, evEqualizer
 button = barfs,    213,  5, 31, 19, evFullScreen
 button = barsetup, 280, 13, 30, 17, evPreferences
 button = barpl,    313, 23, 30, 17, evPlaylist
 button = barmute,  342, 36, 30, 16, evMute
 button = barexit,  368, 51, 30, 16, evExit

 end

end

