Commit graph

111 commits

Author SHA1 Message Date
Dana Jansens
ec304c9e43 scary commit..but here goes.
YOUR THEMES ARE NOW OFFICIALLY BROKEN.

Openbox has just moved it's theme format to an XML based one. The details of
this format can be found in data/themerc.xsd (and http://openbox.org/themerc.xsd

ALSO! This is very good and important and stuff! In the tools directory you
will find THEMETOXML ! This tool takes a themerc on stdin, and spits out
the same theme in theme.xml format. So this is all you need to do to update
your themes.

PLEASE NOTE: This themetoxml does _not_ install itself anywhere. It simply
builds and then lives out in its tools/themetoxml directory, and that's it. So
if you want to use it, that is where to find it.

In moving to the new XML format, a number of additions/changes to the theme
engine have been made. Themetoxml takes these into account and will set all
the new things appropriately to make your theme look the same as it always has.

New additions include..
* padding now has an horizontal and vertical component, instead of being one number
* menus can have different borders than windows (color and size)
* menu offset can now be negative. it's a little weird, but someone will want it no doubt
* fonts are no longer controled by the theme at all, however font shadowing is, and on that note..
* font shadows are now any color you want, not just black and white
* you can now set the shadow anywhere you can set the text's color, so you have more control, i.e. you can set shadow on active menu items but not inactive, or disabled, etc.
* every color now has an alpha channel. at the moment they don't do anything, besides the font shadow one, but it leaves room for future explorations. it is REALLY HIGHLY RECOMMENDED that you set the alpha to 255 all the time, until such time as it could be useful. otherwise one day your theme may turn awful for people.
* font colors are in the range 0-255, in case you were wondering, and they have to be specified in decimal
* if you'd like to change you font's you can do so in your configuration file. this is how it is going to stay. changing the font in the theme assumes too much about peoples eye sight and locality and stuff. it doesn't belong there, sorry. the system-wide default rc.xml includes the new font settings for your viewing pleasure, and ill drop an example of it below.
* shadows can now be positioned in any direction, they have both an x and a y offset which can be negative and positive. and offset of 0,0 will disable the shadow

This isn't a release or anything. If someone had some good ideas about the xml theme format, I'd like to hear them. But I don't think it will be changing much right now beyond where it is. I don't even know how the new functionality will play out for themers, so we'll see.

Whew.. I guess that's it. I'm not sure if I mentioned every little change or not, but oh well. Mileage may vary.. Please send any feedback.

Here's the font configuration example. Hopefully ObConf will let you set this real soon.

<theme>
...
  <font place="ActiveWindow">
    <name>arial,sans</name>
    <size>7</size>
    <weight>bold</weight>
    <slant>normal</slant>
  </font>
  <font place="InactiveWindow">
    <name>arial,sans</name>
    <size>7</size>
    <weight>bold</weight>
    <slant>normal</slant>
  </font>
  <font place="MenuTitle">
    <name>arial,sans</name>
    <size>8</size>
    <weight>bold</weight>
    <slant>normal</slant>
  </font>
  <font place="MenuItem">
    <name>arial,sans</name>
    <size>8</size>
    <weight>bold</weight>
    <slant>normal</slant>
  </font>
</theme>
2007-03-05 15:44:17 +00:00
Dana Jansens
e6fba91476 kde systray applications no longer need the tray proxy, so let's remove it from svn 2007-03-05 03:33:00 +00:00
Dana Jansens
5697404dd6 add the themetoxml tool ! yay 2007-03-05 03:30:22 +00:00
Dana Jansens
037fc862b0 pango is now mandatory..
lots of cleanups to the pango code, which was a very nice base to start from. thanks to whomever wrote that for us.. put some of the pango variables into the various render structs so that they don't need to be created all the time. put the pango context inside our RrInstance so that it can be properly freed at shutdown. removed xft dependencies all through the code and the build system also. who knows if this will break compiling for some poor souls. i guess we'll find out, won't we!
2007-03-03 02:53:41 +00:00
Mikael Magnusson
f43067b772 a combined client_list_menu, use as client-list-combined-menu in your rc.xml. needs some layout tuneups 2007-01-30 09:32:17 +00:00
Mikael Magnusson
3039eb960c oops 2006-08-20 13:15:37 +00:00
Mikael Magnusson
b78feb8a8f lalala 2006-08-18 19:32:07 +00:00
Mikael Magnusson
c10b4e6b3f add new themes 2006-08-18 19:26:08 +00:00
Mikael Magnusson
27ebf0f331 include obrender headers in installation 2006-08-02 16:56:01 +00:00
Mikael Magnusson
9384c87fbc disable compiling of render/rendertest in make all, use make check if you want to use it, it is extremely awesome 2006-08-02 05:14:30 +00:00
Mikael Magnusson
e0aa54a891 rip out the VIDMODE extension stuff. this was only used to size fullscreen windows to the viewport, i doubt anyone is actually using it and it interacts very badly with xinerama. 2006-06-11 09:47:53 +00:00
Mikael Magnusson
b4010b586d final fix i think 2006-06-08 11:46:34 +00:00
Mikael Magnusson
ed61a94ca5 per app settings 2006-06-08 10:18:31 +00:00
Mikael Magnusson
9490107c4b *whistles* 2006-05-10 14:45:48 +00:00
Mikael Magnusson
508390bccc move a line so gentoo doesn't duplicate it 2006-05-10 14:42:30 +00:00
Mikael Magnusson
b287b126cc libobrender needs to link to libobparser 2006-01-14 15:34:40 +00:00
Mikael Magnusson
29dc983d91 yep, got that wrong 2005-11-28 14:27:41 +00:00
Mikael Magnusson
c81ffea4f9 testing branching 2005-11-28 14:26:41 +00:00
Mikael Magnusson
d2c98faf78 now floam can compile with his crazy flags 2005-06-28 01:07:59 +00:00
Mikael Magnusson
0e5feaa299 copy paste bug of course 2005-03-26 07:24:26 +00:00
Mikael Magnusson
68652bb5aa fixes linking on some systems 2005-03-26 07:23:12 +00:00
Mikael Magnusson
e7d1ba6ae3 Pango! yay. Patch mostly by Mohammed Sameer, fixed some memleaks and ifdeffed by me. May still have some bugs. 2004-11-07 13:20:54 +00:00
Mikael Magnusson
c6b505fd66 this seems to not be the right way to fix this (linking obrender to every lib on the planet) 2004-05-07 07:16:34 +00:00
Mikael Magnusson
2deff37326 patch to fix some xft linking 2004-05-06 18:03:16 +00:00
Dana Jansens
ace1d5b510 dist the version.h.in not the version.h 2003-10-27 20:14:30 +00:00
Dana Jansens
13206849ea add version info the library headers 2003-10-27 20:11:14 +00:00
Dana Jansens
ce2643f55b add COMPLIANCE 2003-10-15 06:35:33 +00:00
Dana Jansens
6fd8c6f5fc add X_LIBS to the binaries 2003-10-12 20:33:37 +00:00
Dana Jansens
dcc7fddbf6 add CHANGELOG to the dist 2003-09-26 05:44:42 +00:00
Dana Jansens
136b113278 change how stuff is linked, this should make libtool and automake work nicely again I think 2003-09-25 21:58:10 +00:00
Dana Jansens
d261d21b7f typo 2003-09-23 19:39:48 +00:00
Dana Jansens
74d855593a move foreign into the Makefile.am 2003-09-23 19:28:58 +00:00
Dana Jansens
1d4843f92b reorder the lib_LTLIBRARIES variable, apparently this fixes installing with a DESTDIR, thanks automake >:| 2003-09-22 15:17:22 +00:00
Dana Jansens
b3bbc2eada fixes for auto* build process 2003-09-22 07:45:36 +00:00
Dana Jansens
556a08cec8 use DESTDIR in install-data-hook 2003-09-20 13:53:38 +00:00
Dana Jansens
f3746e29a5 install the menu.xsd 2003-09-19 19:19:52 +00:00
Dana Jansens
86fa7c0966 add the schemas to the distribution 2003-09-19 19:17:26 +00:00
Dana Jansens
d826a88728 rename gnomepanelproxy to gnome-panel-control 2003-09-18 07:47:58 +00:00
Dana Jansens
4f6908feed add gnomepanelproxy 2003-09-18 07:43:33 +00:00
Dana Jansens
5a24f4c1c6 make the installed themeupdate.py executable 2003-09-17 06:51:30 +00:00
Dana Jansens
42bbf21bbd install themupdate.py to share/openbox/ 2003-09-17 06:46:16 +00:00
Dana Jansens
138ee2c949 dont use -release for libtool 2003-09-16 07:22:05 +00:00
Dana Jansens
f7790bb481 fix properly 2003-09-16 04:49:58 +00:00
Dana Jansens
960b409249 make TheBear install poroerly in its openbox-3 dir 2003-09-16 04:49:39 +00:00
Dana Jansens
970d954215 install the libs with release and version info via libtool 2003-09-16 04:49:04 +00:00
Dana Jansens
c1b2fc5324 make openbox base-dir spec compliant, and change the theme dir structure, so that themes go in $XDG_DATA_DIRS/themes/ with gtk/metacity/whateverelse themes 2003-09-15 19:20:05 +00:00
Dana Jansens
1e52b4ac28 install the openbox.png pixmap icon 2003-09-14 21:10:16 +00:00
Dana Jansens
49a73ce15c add support for a default icon, but no icon has been made yet. 2003-09-12 01:11:33 +00:00
Dana Jansens
32c3e07fed distribute the .pc.in files 2003-09-10 17:40:57 +00:00
Dana Jansens
bbc22b9870 remove obconf from this tree.
add versioning for the libraries and pkgconfig files for them.
2003-09-07 23:33:11 +00:00