all repos — openbox @ e5ad7721fff87b2544bb5288430af012d0859cf7

openbox fork - make it a bit more like ryudo

add the new font things to our example rc.xml and the xsd stylesheet
Dana Jansens danakj@orodu.net
commit

e5ad7721fff87b2544bb5288430af012d0859cf7

parent

25917a3498c5a756cffdd0472210dbe416f47a52

2 files changed, 72 insertions(+), 0 deletions(-)

jump to
M data/rc.xml.indata/rc.xml.in

@@ -43,6 +43,46 @@ D: omnipresent (on all desktops).

--> <keepBorder>yes</keepBorder> <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> <desktops>
M data/rc.xsddata/rc.xsd

@@ -41,6 +41,8 @@ Tue Jul 18 23:43:15 CEST 2006 - jonaskoelker(a)gnu.org

hack code for great justice Tue Oct 31 03:30:26 UTC 2006 - mikachu(a)openbox.org 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" targetNamespace="http://openbox.org/"

@@ -109,7 +111,24 @@ <xs:element minOccurs="0" name="titleLayout" type="xs:string"/>

<xs:element minOccurs="0" name="titleNumber" 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="font" type="ob:font"/> </xs:sequence> + </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:annotation>

@@ -347,6 +366,19 @@ <xs:enumeration value="true"/>

<xs:enumeration value="false"/> <xs:enumeration value="on"/> <xs:enumeration value="off"/> + </xs:restriction> + </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">