add the new font things to our example rc.xml and the xsd stylesheet
This commit is contained in:
parent
25917a3498
commit
e5ad7721ff
2 changed files with 72 additions and 0 deletions
|
@ -43,6 +43,46 @@
|
||||||
-->
|
-->
|
||||||
<keepBorder>yes</keepBorder>
|
<keepBorder>yes</keepBorder>
|
||||||
<hideDisabled>no</hideDisabled>
|
<hideDisabled>no</hideDisabled>
|
||||||
|
<font place="ActiveWindow">
|
||||||
|
<name>arial,sans</name>
|
||||||
|
<size>7</size>
|
||||||
|
<weight>bold</weight>
|
||||||
|
<slant>normal</slant>
|
||||||
|
<shadow enabled="yes">
|
||||||
|
<offset>1</offset>
|
||||||
|
<tint>30</tint>
|
||||||
|
</shadow>
|
||||||
|
</font>
|
||||||
|
<font place="InactiveWindow">
|
||||||
|
<name>arial,sans</name>
|
||||||
|
<size>7</size>
|
||||||
|
<weight>bold</weight>
|
||||||
|
<slant>normal</slant>
|
||||||
|
<shadow enabled="yes">
|
||||||
|
<offset>1</offset>
|
||||||
|
<tint>30</tint>
|
||||||
|
</shadow>
|
||||||
|
</font>
|
||||||
|
<font place="MenuTitle">
|
||||||
|
<name>arial,sans</name>
|
||||||
|
<size>8</size>
|
||||||
|
<weight>bold</weight>
|
||||||
|
<slant>normal</slant>
|
||||||
|
<shadow enabled="yes">
|
||||||
|
<offset>1</offset>
|
||||||
|
<tint>30</tint>
|
||||||
|
</shadow>
|
||||||
|
</font>
|
||||||
|
<font place="MenuItem">
|
||||||
|
<name>arial,sans</name>
|
||||||
|
<size>8</size>
|
||||||
|
<weight>bold</weight>
|
||||||
|
<slant>normal</slant>
|
||||||
|
<shadow enabled="yes">
|
||||||
|
<offset>1</offset>
|
||||||
|
<tint>30</tint>
|
||||||
|
</shadow>
|
||||||
|
</font>
|
||||||
</theme>
|
</theme>
|
||||||
|
|
||||||
<desktops>
|
<desktops>
|
||||||
|
|
32
data/rc.xsd
32
data/rc.xsd
|
@ -41,6 +41,8 @@
|
||||||
hack code for great justice
|
hack code for great justice
|
||||||
Tue Oct 31 03:30:26 UTC 2006 - mikachu(a)openbox.org
|
Tue Oct 31 03:30:26 UTC 2006 - mikachu(a)openbox.org
|
||||||
Add movefromedge* actions
|
Add movefromedge* actions
|
||||||
|
Sun Mar 4 12:12:19 EST 2007 - danakj(a)orodu.net
|
||||||
|
Add font section to theme section
|
||||||
-->
|
-->
|
||||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||||
targetNamespace="http://openbox.org/"
|
targetNamespace="http://openbox.org/"
|
||||||
|
@ -109,8 +111,25 @@
|
||||||
<xs:element minOccurs="0" name="titleNumber" type="ob:bool"/>
|
<xs:element minOccurs="0" name="titleNumber" type="ob:bool"/>
|
||||||
<xs:element minOccurs="0" name="keepBorder" type="ob:bool"/>
|
<xs:element minOccurs="0" name="keepBorder" type="ob:bool"/>
|
||||||
<xs:element minOccurs="0" name="hideDisabled" type="ob:bool"/>
|
<xs:element minOccurs="0" name="hideDisabled" type="ob:bool"/>
|
||||||
|
<xs:element minOccurs="0" name="font" type="ob:font"/>
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
|
<xs:complexType name="font">
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element minOccurs="0" name="name" type="xs:string"/>
|
||||||
|
<xs:element minOccurs="0" name="size" type="xs:integer"/>
|
||||||
|
<xs:element minOccurs="0" name="weight" type="ob:fontweight"/>
|
||||||
|
<xs:element minOccurs="0" name="slant" type="ob:fontslant"/>
|
||||||
|
<xs:element minOccurs="0" name="shadow" type="ob:fontshadow"/>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
<xs:complexType name="fontshadow">
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element minOccurs="0" name="offset" type="xs:integer"/>
|
||||||
|
<xs:element minOccurs="0" name="tint" type="xs:integer"/>
|
||||||
|
</xs:sequence>
|
||||||
|
<xs:attribute name="enabled" type="ob:bool" use="required"/>
|
||||||
|
</xs:complexType>
|
||||||
<xs:complexType name="desktops">
|
<xs:complexType name="desktops">
|
||||||
<xs:annotation>
|
<xs:annotation>
|
||||||
<xs:documentation>defines the number and names of desktops</xs:documentation>
|
<xs:documentation>defines the number and names of desktops</xs:documentation>
|
||||||
|
@ -349,6 +368,19 @@
|
||||||
<xs:enumeration value="off"/>
|
<xs:enumeration value="off"/>
|
||||||
</xs:restriction>
|
</xs:restriction>
|
||||||
</xs:simpleType>
|
</xs:simpleType>
|
||||||
|
<xs:simpleType name="fontweight">
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:enumeration value="normal"/>
|
||||||
|
<xs:enumeration value="bold"/>
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
<xs:simpleType name="fontslant">
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:enumeration value="normal"/>
|
||||||
|
<xs:enumeration value="italic"/>
|
||||||
|
<xs:enumeration value="opaque"/>
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
<xs:simpleType name="button">
|
<xs:simpleType name="button">
|
||||||
<xs:restriction base="xs:string">
|
<xs:restriction base="xs:string">
|
||||||
<xs:enumeration value="Left"/>
|
<xs:enumeration value="Left"/>
|
||||||
|
|
Loading…
Reference in a new issue