]> Dogcows Code - chaz/openbox/commitdiff
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 45f6e46bb26c4853d1da43304c3880a596b95825..112b020c6d6aa9d2bc57d49ede1e67fc5ee49866 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 5ecd7dc07f41e9d6558e5fa0a637596898a54232..464944d1a2c18c182eab88e5a1ced0a4b83ec983 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);
 
This page took 0.026197 seconds and 4 git commands to generate.