[StThemeNode] Add text-shadow property

Reorganize the existing code which parses the -st-shadow property
to allow parsing different shadow properties and add support for
the text-shadow property.

https://bugzilla.gnome.org/show_bug.cgi?id=624384
This commit is contained in:
Florian Müllner
2010-07-24 16:56:50 +02:00
parent e942444630
commit 29781b2e5c
3 changed files with 138 additions and 51 deletions

View File

@@ -47,6 +47,7 @@ struct _StThemeNode {
char *background_image;
StBorderImage *border_image;
StShadow *shadow;
StShadow *text_shadow;
GType element_type;
char *element_id;
@@ -66,6 +67,7 @@ struct _StThemeNode {
guint foreground_computed : 1;
guint border_image_computed : 1;
guint shadow_computed : 1;
guint text_shadow_computed : 1;
guint link_type : 2;
/* Graphics state */