border, not borderwidth.
authorDana Jansens <danakj@orodu.net>
Tue, 5 Jun 2007 16:05:22 +0000 (16:05 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 5 Jun 2007 16:05:22 +0000 (16:05 +0000)
add osd.border stuff to themetoxml

data/themerc.xsd
tools/themetoxml/themetoxml.c

index 40b036a..3a636b5 100644 (file)
 
   <xs:complexType name="windowDimensions">
     <xs:all>
 
   <xs:complexType name="windowDimensions">
     <xs:all>
-      <xs:element name="borderwidth" type="xs:integer" minOccurs="0"/>
+      <xs:element name="border" type="xs:integer" minOccurs="0"/>
       <xs:element name="clientpadding" type="obt:point" minOccurs="0"/>
     </xs:all>
   </xs:complexType>
 
   <xs:complexType name="menuDimensions">
     <xs:all>
       <xs:element name="clientpadding" type="obt:point" minOccurs="0"/>
     </xs:all>
   </xs:complexType>
 
   <xs:complexType name="menuDimensions">
     <xs:all>
-      <xs:element name="borderwidth" type="xs:integer" minOccurs="0"/>
+      <xs:element name="border" type="xs:integer" minOccurs="0"/>
     </xs:all>
   </xs:complexType>
 
   <xs:complexType name="osdDimensions">
     <xs:all>
     </xs:all>
   </xs:complexType>
 
   <xs:complexType name="osdDimensions">
     <xs:all>
-      <xs:element name="borderwidth" type="xs:integer" minOccurs="0"/>
+      <xs:element name="border" type="xs:integer" minOccurs="0"/>
     </xs:all>
   </xs:complexType>
 
     </xs:all>
   </xs:complexType>
 
index 5c7ac8a..b53599b 100644 (file)
@@ -374,6 +374,8 @@ int main(int argc, char **argv)
         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);
         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);
+    if (read_color(db, "osd.border.color", &i, &j, &k))
+        COLOR2("osd", "border", i, j, k, 255);
 
     if (read_int(db, "window.client.padding.width", &i)) {
         ATTR3("dimensions", "window", "clientpadding", "x", NUM(i));
 
     if (read_int(db, "window.client.padding.width", &i)) {
         ATTR3("dimensions", "window", "clientpadding", "x", NUM(i));