r468 - trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0

ken_zhao at gta01.hmw-consulting.de ken_zhao at gta01.hmw-consulting.de
Tue Dec 26 04:05:55 CET 2006


Author: ken_zhao
Date: 2006-12-26 04:05:49 +0100 (Tue, 26 Dec 2006)
New Revision: 468

Added:
   trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtkscale
Modified:
   trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtkrc
Log:
theme:add gtkscale style


Modified: trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtkrc
===================================================================
--- trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtkrc	2006-12-25 11:13:47 UTC (rev 467)
+++ trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtkrc	2006-12-26 03:05:49 UTC (rev 468)
@@ -92,21 +92,22 @@
 
 include "transparent"
 
+include "gtkbutton"
+include "gtkcheckbutton"
 include "gtkcombobox"
 include "gtkentry"
+include "gtkeventbox"
 include "gtkframe"
 include "gtkmenu"
 include "gtkmenuitem"
 include "gtkpaned"
 include "gtkprogressbar"
+include "gtkradiobutton"
+include "gtkscale"
 include "gtkscrolledwindow"
 include "gtkscrollbar"
 include "gtkspinbutton"
 include "gtktreeview"
-include "gtkbutton"
-include "gtkcheckbutton"
-include "gtkradiobutton"
-include "gtkeventbox"
 
 include "mokodetailswindow"
 include "mokodialogwindow"

Added: trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtkscale
===================================================================
--- trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtkscale	2006-12-25 11:13:47 UTC (rev 467)
+++ trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtkscale	2006-12-26 03:05:49 UTC (rev 468)
@@ -0,0 +1,25 @@
+#FIXME add missing vertical slider styling
+
+style "gtkscale" {
+    engine "pixmap" {
+        image {
+            function                  = BOX
+            detail                    = "trough"
+            file                      = "gtkprogressbar-trough.png"
+            stretch                   = TRUE
+            orientation               = HORIZONTAL
+        }
+        image {
+            function                  = SLIDER
+	          recolorable               = FALSE
+            file                      = "gtkprogressbar-bar.png"
+            stretch                   = TRUE
+            orientation               = HORIZONTAL
+        }
+    }
+    GtkRange::trough_border = 0
+    GtkRange::slider-width = 28
+    GtkScale::slider-length = 56
+}
+class "GtkHScale" style "gtkscale"
+widget_class "*.GtkHScale" style "gtkscale"





More information about the commitlog mailing list