summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-02 21:26:23 +0000
committerDana Jansens <danakj@orodu.net>2007-06-02 21:26:23 +0000
commit1fd07ad51d7952fe33acd8c39808e3e9e714ca4b (patch)
tree035d61540106242771f8e6724adb40e4ff708311
parente451993b4978463dc2851e636bd6b9e13a3808a2 (diff)
there add new separator colors complete
-rw-r--r--data/themerc.xsd1
-rw-r--r--tools/themetoxml/themetoxml.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/data/themerc.xsd b/data/themerc.xsd
index 45f6e46b..112b020c 100644
--- a/data/themerc.xsd
+++ b/data/themerc.xsd
@@ -117,6 +117,7 @@
<xs:complexType name="window">
<xs:all>
<xs:element name="border" type="obt:color" minOccurs="0"/>
+ <xs:element name="titleseparator" type="obt:color" minOccurs="0"/>
<xs:element name="clientpadding" type="obt:color" minOccurs="0"/>
<xs:element name="titlebar" type="obt:area" minOccurs="0"/>
<xs:element name="label" type="obt:textarea" minOccurs="0"/>
diff --git a/tools/themetoxml/themetoxml.c b/tools/themetoxml/themetoxml.c
index 5ecd7dc0..464944d1 100644
--- a/tools/themetoxml/themetoxml.c
+++ b/tools/themetoxml/themetoxml.c
@@ -360,10 +360,14 @@ int main(int argc, char **argv)
COLOR3("window", "active", "border", i, j, k, 255);
COLOR3("window", "active", "titleseparator", i, j, k, 255);
}
+ if (read_color(db, "window.active.title.separator.color", &i, &j, &k))
+ COLOR3("window", "active", "titleseparator", i, j, k, 255);
if (read_color(db, "window.inactive.border.color", &i, &j, &k)) {
COLOR3("window", "inactive", "border", i, j, k, 255);
COLOR3("window", "inactive", "titleseparator", i, j, k, 255);
}
+ if (read_color(db, "window.inactive.title.separator.color", &i, &j, &k))
+ COLOR3("window", "inactive", "titleseparator", i, j, k, 255);
if (read_color(db, "menu.border.color", &i, &j, &k))
COLOR2("menu", "border", i, j, k, 255);