;
; D I S A P P E A R E R
; 
; Skin for mPLAYER - A Movie Player For UNIX
;
; Version: 1.0, 20030206
; Author: Alban Hertroys, <dalroi@solfertje.student.utwente.nl>
; http://solfertje.student.utwente.nl/~dalroi
;

section = movieplayer

 window = main

  ;base=bitmap,x,y
  ; x:            | y:
  ;  -  0: left   |  -  0: top
  ;  - -1: center |  - -1: center
  ;  - -2: right  |  - -2: bottom

  base = main, 0, -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 = iconify, 443,  23, 8, 7, evIconify
  button = fullscreen, 455, 23, 8, 7, evFullScreen
  button = exit,    467,  23, 7, 7, evExit

  button = play,     12, 10, 14, 18, evPlaySwitchToPause
  button = pause,    12, 10, 14, 18, evPauseSwitchToPlay
  button = stop,     58, 21, 10, 10, evStop

  button = previous,  45, 21, 7, 10, evPrev
  button = next,      74, 21, 7, 10, evNext

  button = back,      93, 21, 10, 10, evBackward10sec
  button = forward,  108, 21, 10, 10, evForward10sec


  button = NULL,     131, 20, 298, 11, evLoadPlay
  ; button = pref,     350,  41,  8, 10, evPreferences
  ; button = eqb,      349,  68,  9,  8, evEqualizer
  ; button = plb,      354,  54,  10, 9, evPlaylist
  ; button = fsb,      343,  80,  11, 9, evFullScreen
  
  ; button = mute,     338,  106,  11, 10, evMute

  ; button = about,    43, 2, 106, 22, evAbout

  ; potmeter=phasebitmaps,phases,default value,x,y,sx,sy,msg
  hpotmeter = pos, 5, 5, NULL, 100,  0, 42, 14, 336, 5, evSetMoviePosition
  rpotmeter = NULL, 0, 0, vol, 54, 6, 32, 33, 31, 0, 0, 0, 40, 40, evSetVolume
  ; hpotmeter=buttonbitmaps,sx,sy,phasebitmaps,phases,default value,x,y,sx,sy,msg
  ; hpotmeter = pos, 11, 11, NULL, 100, 50, 276, 106, 60, 11, evSetBalance


  ; font=fontfile
  ; font = symbols
  font = font
  font = symbols

  ; dynamic label
  ; dlabel=x,y,sx,align,fontfile,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
  ;       $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.
  ;       $p  = 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 = 53, 30, 182, 1,    font, "$t - $o [$1] "
  ;dlabel =  50, 53,   9, 0, symbols, "$p"
  ;dlabel =  50, 53,   9, 0, symbols, "$s"
  ;dlabel =  50, 53,   9, 0, symbols, "$e"
  ;dlabel =  60, 53,  62, 0, symbols, "$1"
  ;dlabel = 130, 53,  25, 1, symbols, "$a"
  ;dlabel = 180, 49,  92, 0,    font, "v: $v"
  ;dlabel = 210, 25,  99, 1,    font, "b: $b"
  ;dlabel =  105, 53, 25, 0, symbols, "$T"

  dlabel =  132, 21,  52, 0, font, "$1"
  dlabel =  195, 21,  11, 0, symbols, "$T"
  dlabel =  195, 21,  11, 0, symbols, "$a"

  ; play status
  dlabel =  215, 21,   5, 0, symbols, "$p"	; playing
  dlabel =  215, 21,   5, 0, symbols, "$s"	; stopped
  dlabel =  215, 21,   5, 0, symbols, "$e"	; paused

  dlabel =  231, 21, 195, 0, font, "$o"


  ; static label
  ; slabel=x,y,fontfile,string ...
  ; slabel =  10, 10, symbols, "12345 - 67890"
  ; slabel = 120, 10,    font, "Eyes on Me"

  end


  window       = video
    base       = sub, -1, 0, 320, 240
    background = 70,40,25
  end

end

