there add new separator colors complete

This commit is contained in:
Dana Jansens 2007-06-02 21:26:23 +00:00
parent e451993b49
commit 1fd07ad51d
2 changed files with 5 additions and 0 deletions

View file

@ -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"/>

View 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);