summaryrefslogtreecommitdiff
path: root/openbox/client_menu.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-03-04 07:18:04 +0000
committerDana Jansens <danakj@orodu.net>2007-03-04 07:18:04 +0000
commit17b2d57717504e2018d3ba23e0deffe55fc6d084 (patch)
treef3d66e77cd5a0decf7fe89ff561861e0d8895b3c /openbox/client_menu.c
parentd0f9d647aaed5c9f2d3cc3a16cc2d4b717622bc0 (diff)
Fonts are now going to be configured in the rc.xml file. The format is such as
<theme> ... <font place="ActiveWindow"> <name>arial,sans</name> <size>8</size> <weight>bold</weight> <slant>italic</slant> <shadow>yes</shadow> <shadowOffset>1</shadowOffset> <shadowTint>64</shadowTint> </font> </theme> Valid place="" are ActiveWindow, InactiveWindow, MenuTitle, and MenuItem. Only valid weight is "bold" Valid slants are "italic" and "oblique" shadowTint is a value between -100 and 100 size is the font size in points. pixelsize could possibly be added in the form of 8px, but it's not right now. the name can contain multiple families and they will all be used to match characters You can omit any fields and get the default for it. You can omit naming a font for a place="" and get the default font for it. This is completely replacing theme-specified fonts, for better or for worse. Font shadowing may go back into the theme at some point, instead of in the rc.xml.
Diffstat (limited to 'openbox/client_menu.c')
0 files changed, 0 insertions, 0 deletions