[SCM] calf/master: Mistakes in button images, higher contrast on tubes, pixel accuracy for toggle buttons

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:39:47 UTC 2013


The following commit has been merged in the master branch:
commit cd7aa109313b318d9351b687ba0a84fd2d745a75
Author: Markus Schmidt <schmidt at boomshop.net>
Date:   Fri Nov 13 09:40:46 2009 +0100

    Mistakes in button images, higher contrast on tubes, pixel accuracy for toggle buttons

diff --git a/gui/calf.rc b/gui/calf.rc
index 3529388..7fa36b0 100644
--- a/gui/calf.rc
+++ b/gui/calf.rc
@@ -132,8 +132,8 @@ style "clearlooks-button"
 {
 	GtkButton      ::child-displacement-x = 0
 	GtkButton      ::child-displacement-y = 0
-#	GtkButton      ::default-border       = { 6, 6, 5, 5 }
-	GtkButton      ::inner-border         = { 6, 6, 2, 2}
+#	GtkButton      ::default-border       = { 8, 8, 6, 6 }
+	GtkButton      ::inner-border         = { 8, 8, 3, 3}
 	
     xthickness = 5
     ythickness = 2
@@ -196,6 +196,74 @@ style "clearlooks-button"
 		
 	}
 }
+style "clearlooks-toggle"
+{
+	GtkButton      ::child-displacement-x = 0
+	GtkButton      ::child-displacement-y = 0
+#	GtkButton      ::default-border       = { 8, 26, 6, 6 }
+	GtkButton      ::inner-border         = { 8, 26, 3, 3}
+	
+    xthickness = 5
+    ythickness = 2
+    
+    fg[NORMAL]			= "#000"
+	fg[PRELIGHT]		= "#000"
+	fg[SELECTED]		= "#000"
+	fg[ACTIVE]			= "#000"
+	fg[INSENSITIVE]		= "#666"
+	
+	text[NORMAL]		= "#000"
+	text[PRELIGHT]		= "#000"
+	text[SELECTED]		= "#000"
+	text[ACTIVE]		= "#000"
+	text[INSENSITIVE]	= "#666"
+	
+	engine "pixmap"
+	{
+		image
+		{
+			function		= BOX
+			detail			= "buttondefault"
+			recolorable		= FALSE
+			file			= "button_normal.png"
+			border			= {6, 24, 6, 6}
+			stretch			= TRUE
+		}
+		image
+		{
+			function		= BOX
+			state			= PRELIGHT
+			recolorable		= FALSE
+			file			= "button_prelight.png"
+			border			= {6, 24, 6, 6}
+			stretch			= TRUE
+		}
+		image
+		{
+			function		= BOX
+			state			= ACTIVE
+			file			= "button_active.png"
+			border			= {6, 24, 6, 6}
+			stretch			= TRUE
+		}
+		image
+		{
+			function		= BOX
+			state			= INSENSITIVE
+			file			= "button_insens.png"
+			border			= {6, 24, 6, 6}
+			stretch			= TRUE
+		}
+		image
+		{
+			function		= BOX
+			file			= "button_normal.png"
+			border			= {6, 24, 6, 6}
+			stretch			= TRUE
+		}
+		
+	}
+}
 style "clearlooks-button-norm"
 {
 	GtkButton      ::child-displacement-x = 0
@@ -1626,6 +1694,7 @@ widget_class "*<GtkNotebook>*<GtkDrawingArea>"  	style "clearlooks-notebook"
 widget_class "*<GtkNotebook>*<GtkLayout>"       	style "clearlooks-notebook"
 
 widget_class "*<GtkButton>*"      			style "clearlooks-button"
+widget_class "*<GtkToggleButton>*"      	style "clearlooks-toggle"
 widget_class "*<GtkNotebook>"    			style "clearlooks-notebook"
 widget_class "*<GtkStatusbar>*"  			style "clearlooks-statusbar"
 
diff --git a/gui/tubeH1.png b/gui/tubeH1.png
index 343e7c4..3625d39 100644
Binary files a/gui/tubeH1.png and b/gui/tubeH1.png differ
diff --git a/gui/tubeH2.png b/gui/tubeH2.png
index 69d6e41..864bcc9 100644
Binary files a/gui/tubeH2.png and b/gui/tubeH2.png differ
diff --git a/gui/tubeV1.png b/gui/tubeV1.png
index ed4de66..b1a8cdb 100644
Binary files a/gui/tubeV1.png and b/gui/tubeV1.png differ
diff --git a/gui/tubeV2.png b/gui/tubeV2.png
index a178395..154db96 100644
Binary files a/gui/tubeV2.png and b/gui/tubeV2.png differ

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list