[cairo-commit] cairo-gtk-engine/theme/caligula gtkrc,1.7,1.8

Carl Worth commit at pdx.freedesktop.org
Fri Feb 11 07:27:28 PST 2005


Committed by: cworth

Update of /cvs/cairo/cairo-gtk-engine/theme/caligula
In directory gabe:/tmp/cvs-serv30664/theme/caligula

Modified Files:
	gtkrc 
Log Message:

        * theme/caligula/gtkrc: Add new caligula-entry style with a bit
        more thickness than default to allow room for soft gradient
        shadow.

        * src/caligula-style.c (caligula_draw_shadow): Add code to draw
        gradient shadows with cairo for GTK_SHADOW_IN, (and defer to
        parent for all other shadows).

        * src/caligula-draw-shadowed.c (caligula_draw_shadowed_inset_box):
        Refine shadow-drawing code to better match Diana's latest
        mockups. Add comments describing what is going on.


Index: gtkrc
===================================================================
RCS file: /cvs/cairo/cairo-gtk-engine/theme/caligula/gtkrc,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- gtkrc	10 Feb 2005 21:02:07 -0000	1.7
+++ gtkrc	11 Feb 2005 15:27:26 -0000	1.8
@@ -7,6 +7,16 @@
     }
 }
 
+style "caligula-entry"
+{
+    xthickness = 6
+    ythickness = 6
+
+    engine "caligula"
+    {
+    }
+}
+
 style "caligula-window"
 {
     GtkWindow::resizable-background = 1
@@ -17,4 +27,5 @@
 }
 
 class "GtkButton" style "caligula-button"
+class "GtkEntry"  style "caligula-entry"
 class "GtkWindow" style "caligula-window"




More information about the cairo-commit mailing list