summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-03-10some more stuffMikael Magnusson
2007-03-10at least the CHANGELOG file gets some updatesMikael Magnusson
2007-03-10yet another pointless commit to test post-commit hookMikael Magnusson
2007-03-10another pointless commit to test post-commit hookMikael Magnusson
2007-03-10pointless commit to test post-commit hookMikael Magnusson
2007-03-10more cleverness for window placing.Dana Jansens
make sure its 10% on the screen in some direction always.. but if the application is placing itself, make sure its on the screen entirely, and also put it entirely on one monitor if you have xinerama. if it's bigger than the monitor's space though, it won't do anything with it..
2007-03-10let you put windows with the titlebar off screen.. for mikachu.Dana Jansens
but also don't let applications put themselves under the struts!
2007-03-08one more fix.. oops :)Dana Jansens
2007-03-08fix rendering of the new top corner resize handlesDana Jansens
2007-03-08a) remove the top_grip_height business from the themeDana Jansens
b) make the focus indicator based on border width and padding, not the handle height c) add 2 more windows for the top corners for resizing, much easier to find them now. also base their width on padding, not the handle height or other weird things
2007-03-08was using paddingx for y-things, oopsDana Jansens
2007-03-08Fix possible crashingness, from last commit.Dana Jansens
2007-03-07Split RrPaint to RrPaint and RrPaintPixmap, so you can paint things other ↵Dana Jansens
than windows. If you don't free the returned pixmap though, you will be leaking memory in the server!
2007-03-07Be more lenient with errors in xml file. If there are errors, try to keep ↵Dana Jansens
loading it anyways.
2007-03-06don't install the old themeupdate.py fileDana Jansens
2007-03-05update my themeMikael Magnusson
2007-03-05put artists original comments back into the themes after regenerating themDana Jansens
2007-03-05missed updating this oneDana Jansens
2007-03-05proper shadow tint valuesDana Jansens
2007-03-05scale the shadows up, they were /100 before, now they are /255Dana Jansens
2007-03-05theme converter had a bug! menu item font is parsed now.Dana Jansens
2007-03-05was looking for menu items font in the wrong placeDana Jansens
2007-03-05follow new xsdDana Jansens
2007-03-05point and padding became redundant.. do remove padding type from xsd and use ↵Dana Jansens
point type. also fix bug in theme parser where it was looking for wrong one.
2007-03-05don't use handle_height for focus indicators, use top_grip_height. is this ↵Dana Jansens
better?
2007-03-05scary commit..but here goes.Dana Jansens
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-05assert on invalid color valuesDana Jansens
2007-03-05enable startup notification by default.Dana Jansens
2007-03-05kde systray applications no longer need the tray proxy, so let's remove it ↵Dana Jansens
from svn
2007-03-05add the themetoxml tool ! yayDana Jansens
2007-03-04add comment explaining what this tool is for. new themeupdate tool is coming ↵Dana Jansens
for xml themes.
2007-03-04mention that it is in fact openbox that crashesMikael Magnusson
2007-03-04use EXIT_SUCCESS. it's the same thing, but more correct.Dana Jansens
2007-03-04use ob_reconfigure/restart directly instead of actions and save a variableMikael Magnusson
2007-03-04remove said AtomsMikael Magnusson
2007-03-04use integers instead of atoms for the actual control actionMikael Magnusson
2007-03-04use the X protocol to reconfigure instead of signals, works over the network tooMikael Magnusson
2007-03-04i moved the font shadow stuff back into the theme, so move them out of the ↵Dana Jansens
font configuration stuff
2007-03-04moving shadow information out of the themes, and into the Text textures.Dana Jansens
cleaning up some old Xft cruft in font.c also, that is no longer needed.
2007-03-04keep the default tint at 50, for theme compatibilityDana Jansens
2007-03-04add the new font things to our example rc.xml and the xsd stylesheetDana Jansens
2007-03-04change the rc config format for font shadows, now:Dana Jansens
<font... <shadow enabled="yes/no"> <offset>1</offset> <tint>25</tint> </shadow> </font>
2007-03-04lighten the default shadow, it's alittle harsh right nowDana Jansens
2007-03-04fix compiling without session manager supportMikael Magnusson
2007-03-04oops... I'm combining two different things in this commit... so I'll try be ↵Dana Jansens
clear 1. when another wm requests to replace openbox, openbox exits. but the SM will just restart openbox unless we tell it not to. so now ob_exit_replace() will change the session manager's view of openbox to not restart it. that way the new WM will be able to run. 2. allow windows to move themselves off of the screen 90% of the way, if they really want to. but only 90% to the left, right, and bottom of the screen. it won't let the app move off the top of the screen on its own at all now, since hiding the titlebar on you without you being a part of the process is pretty darn evil! this is really to address bug # 2982 - for the tilda application. but i guess if windows really want to move off the screen, who's to say no? also, every other window manager will let them - except metacity won't let them on the left/top side of the screen.
2007-03-04better string matching for duplicate title numbering. this will check ↵Dana Jansens
against the whole window's title. it used to check less than the full length sometimes. thanks to logan for patches and ideas!
2007-03-04Fonts are now going to be configured in the rc.xml file. The format is such asDana Jansens
<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.
2007-03-04remove the font code for parsing Xft font strings. we are using the ↵Dana Jansens
individual values specified in the user's configuration now, no longer using the strings from the theme file at all
2007-03-04fonts are no longer loaded from the theme file. instead, they are created by ↵Dana Jansens
the application and passed in while creating/loading a theme
2007-03-04add parse_attr_bool, and fix a possible segfaultDana Jansens