there add new separator colors complete
authorDana Jansens <danakj@orodu.net>
Sat, 2 Jun 2007 21:26:23 +0000 (21:26 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 2 Jun 2007 21:26:23 +0000 (21:26 +0000)
data/themerc.xsd
tools/themetoxml/themetoxml.c

index 45f6e46..112b020 100644 (file)
   <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"/>
index 5ecd7dc..464944d 100644 (file)
@@ -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);