[MPlayer-DOCS] [skins]: r228 - in trunk/phony: README VERSION skin

ib subversion at mplayerhq.hu
Sun Apr 13 01:34:23 CEST 2014


Author: ib
Date: Sun Apr 13 01:34:23 2014
New Revision: 228

Log:
Update phony to v1.2.

Utilize new skin configuration syntax, items and variable.

Use new rpotmeter definition for the volume and balance potmeter
and new pimage definition for the movie position potmeter.

Additionally, fix position of volume and balance dlabels.

Modified:
   trunk/phony/README
   trunk/phony/VERSION
   trunk/phony/skin

Modified: trunk/phony/README
==============================================================================
--- trunk/phony/README	Sun Apr 13 01:33:08 2014	(r227)
+++ trunk/phony/README	Sun Apr 13 01:34:23 2014	(r228)
@@ -3,12 +3,3 @@
 This skin is based on a screenshot of a skin for PowerDVD by Miroslav Klika I saw.
 
 The original skin definition file I used comes from the default MPlayer skin.
-
-Bugs:
-
-o	I'm using the circular potmeter in ways it certainly not was intended.
-	And there is no way to disable user interaction with it. So you can
-	set the movie position by clicking on the yellow progress meter.
-
-
-

Modified: trunk/phony/VERSION
==============================================================================
--- trunk/phony/VERSION	Sun Apr 13 01:33:08 2014	(r227)
+++ trunk/phony/VERSION	Sun Apr 13 01:34:23 2014	(r228)
@@ -1 +1 @@
-1.1
+1.2

Modified: trunk/phony/skin
==============================================================================
--- trunk/phony/skin	Sun Apr 13 01:33:08 2014	(r227)
+++ trunk/phony/skin	Sun Apr 13 01:34:23 2014	(r228)
@@ -49,16 +49,18 @@
   hpotmeter = pos,  8, 8, NULL, 100,  0, 507, 87, 100, 8, evSetMoviePosition
 ;  hpotmeter = pos, 14, 9, NULL, 100, 50, 310, 63,  42, 9, evSetBalance
 
-  ; potmeter=phasebitmaps,phases,default value,x,y,sx,sy,msg
-  potmeter = volume,   21, 50,  50, 69, 18, 18, evSetVolume
-  potmeter = progress, 24,  0, 313, 69, 47,  3, evSetMoviePosition
+  ; rpotmeter=buttonbitmaps,sx,sy,phasebitmaps,phases,x0,y0,x1,y1,default value,x,y,sx,sy,msg
+  rpotmeter = NULL, 0, 0, volume, 21, 2, 15, 15, 15, 50, 50, 69, 18, 18, evSetVolume
 
-  ; font=fontname,fontid
-  font = symbols2, symbols2
-  font = font2,    font2
+  ; pimage=phasebitmaps,phases,default value,x,y,sx,sy,msg
+  pimage = progress, 24, 0, 313, 69, 47, 3, evSetMoviePosition
+
+  ; font=fontfile
+  font = symbols2
+  font = font2
 
   ; dynamic label
-  ; dlabel=x,y,sx,align,fontid,string ...
+  ; dlabel=x,y,sx,align,fontfile,string ...
   ;  align: 0: right 1: center 2: left
   ;  str: $1  = hh:mm:ss
   ;       $2  = mmmm:ss
@@ -80,15 +82,15 @@
   ;
   ;       $T  = stream type ( file: f, video cd: v, dvd: d, url: u ), if
   ;              font contain needed symbol.
-  ;       $l  = draw play symbol, if mplayer is playing movie and font
-  ;              contain playing symbol. ( char l )
+  ;       $p  = draw play symbol, if mplayer is playing movie and font
+  ;              contain playing symbol. ( char p )
   ;       $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 = 262, 58, 222, 0,    font2, "$t - $F"
 ;  dlabel =  40, 27,  62, 0,  symbols, "$1"
-  dlabel = 298, 79,   8, 0, symbols2, "$l"
+  dlabel = 298, 79,   8, 0, symbols2, "$p"
   dlabel = 297, 79,   7, 0, symbols2, "$s"
   dlabel = 298, 79,   7, 0, symbols2, "$e"
 ;  dlabel = 121, 25,  92, 1,     font, "volume $v"
@@ -100,18 +102,18 @@
   dlabel = 436, 77, 18, 1, symbols2, "$4"
   dlabel = 462, 77, 18, 1, symbols2, "$5"
 
-  potmeter = volume, 21, 50, 76, 69, 18, 18, evSetBalance
+  rpotmeter = NULL, 0, 0, volume, 21, 2, 15, 15, 15, 50, 76, 69, 18, 18, evSetBalance
 
-  dlabel = 370, 67, 60, 2, font2, "VOL: $v"
-  dlabel = 440, 67, 60, 2, font2, "BAL: $b"
+  dlabel = 380, 67, 45, 0, font2, "VOL: $v"
+  dlabel = 436, 67, 45, 0, font2, "BAL: $b"
   ; static label
-  ; slabel=x,y,fontid,string ...
+  ; slabel=x,y,fontfile,string ...
   ; slabel =  10, 10, symbols, "12345 - 67890"
   ; slabel = 120, 10,    font, "Eyes on Me"
 
  end
 
- window = sub
+ window = video
 
   ;base=bitmap,x,y,sx,sy
   ; x:            | y:


More information about the MPlayer-DOCS mailing list