| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2007-03-05 | point 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-05 | scary 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-05 | assert on invalid color values | Dana Jansens | |
| 2007-03-04 | moving 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-04 | keep the default tint at 50, for theme compatibility | Dana Jansens | |
| 2007-03-04 | lighten the default shadow, it's alittle harsh right now | Dana Jansens | |
| 2007-03-04 | remove 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-04 | fonts 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-04 | add font weight and font slant enumerations | Dana Jansens | |
| 2007-03-04 | use font 8point by default if none is specified | Dana Jansens | |
| 2007-03-04 | add missing comment | Dana Jansens | |
| 2007-03-03 | fix memleak, free the render instance on shutdown. | Dana Jansens | |
| 2007-03-03 | pango is now mandatory.. | Dana Jansens | |
| 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-02 | declare variables at the beginning of blocks, because it is nice to do so. ↵ | Dana Jansens | |
| and polite? | |||
| 2007-03-02 | this includes a number of things since my magnificent return.... | Dana Jansens | |
| 1. some random compiling/style cleanups 2. some bigfixes - mislogic in per-window-settings and focusing new windows - use client_can_focus rather than checking variables for directional focus - MAYBE fix all those lock-ups forever. using event_curtime (a new variable) now instead of event_lasttime. event_lasttime is still used however when the event being processed did not have a time associated with it. this may or may not be a problem, and will be seen. 3. um.. i forget 4. oh yeah, 3rd party docks are now treated like the internal ob dock irt focus. that is, clicking on them won't pass them focus. this is going to be ratified as expected behavior in the wm-spec just now. if docks/panels want focus they can request it with _net_active_window, and then they can have all the focus they want! one day alt-tabbing around dock windows might be nice. but not until the ob dock is moved out into a separate application. going to have to add a wmapp selection and stuff for that though... ugly. who uses wmdockapps anymore !? someone must.. *sigh* | |||
| 2006-11-15 | 80 cols | Mikael Magnusson | |
| 2006-09-07 | fix a crash when using mirrorhorizontal and resizing a window to width 1 | Mikael Magnusson | |
| 2006-08-31 | remove .cvsignore files | Mikael Magnusson | |
| 2006-08-24 | strstr is our friend, thanks merry | Mikael Magnusson | |
| 2006-08-24 | rename osx to mirrorhorizontal and split to splitvertical, this will make ↵ | Mikael Magnusson | |
| all themes that used them not look right so update them | |||
| 2006-08-22 | update copyright step 2 | Mikael Magnusson | |
| 2006-08-20 | useless * | Mikael Magnusson | |
| 2006-08-20 | patch from thorsten vollmer to fix bug #2506, interlaces and bevels not ↵ | Mikael Magnusson | |
| drawing correctly | |||
| 2006-08-19 | some systems seem to not include locale.h even with ENABLE_NLS set | Mikael Magnusson | |
| 2006-08-19 | fix some warnings from -Wall | Mikael Magnusson | |
| 2006-08-19 | why did i save that return value? | Mikael Magnusson | |
| 2006-08-19 | maybe it was just a syntax error? | Mikael Magnusson | |
| 2006-08-19 | don't be so afraid to include locale.h | Mikael Magnusson | |
| 2006-08-18 | make grips always 25 pixels | Mikael Magnusson | |
| 2006-08-03 | can't call ob_debug from libobrender... | Mikael Magnusson | |
| 2006-08-03 | maybe fix some stuff, i dunno | Mikael Magnusson | |
| 2006-08-01 | a "osx" gradient, it is like horizontal but mirrors in the center | Mikael Magnusson | |
| 2006-06-14 | so it wont leak because ob uses a hash for colors, but lets free the colors ↵ | Mikael Magnusson | |
| anyway | |||
| 2006-06-14 | okay that parent didnt point where i thought | Mikael Magnusson | |
| 2006-06-14 | forgot i was in the middle of something | Mikael Magnusson | |
| 2006-06-14 | initial commit of split gradient, looks like some RrColor leaking perhaps | Mikael Magnusson | |
| 2006-06-11 | fix two memleaks | Mikael Magnusson | |
| 2006-03-16 | try another scaling algo for the icons | Mikael Magnusson | |
| 2006-03-14 | make reverse_bits static | Mikael Magnusson | |
| 2006-03-14 | fix 1bit bitmaps on msbfirst architectures + some indentation fixes | Mikael Magnusson | |
| 2006-03-05 | finally fix broken gimp window icons | Mikael Magnusson | |
| 2006-01-15 | !"$!#"% | Mikael Magnusson | |
| 2006-01-15 | yes it is | Mikael Magnusson | |
| 2006-01-15 | fix pixelsize when using pango (set_size != set_absolute_size) | Mikael Magnusson | |
| 2005-09-01 | and tidy it up a bit | Mikael Magnusson | |
| 2005-09-01 | remove some excessive swearing from a comment about pango | Mikael Magnusson | |
| 2005-07-26 | ifdef helps | Mikael Magnusson | |
| 2005-07-20 | --disable-nls disables locale.h which is needed for pango, sort of | Mikael Magnusson | |
| 2005-07-16 | forgot debug print | Mikael Magnusson | |
| 2005-07-16 | 80 columns | Mikael Magnusson | |
