summaryrefslogtreecommitdiff
path: root/render
AgeCommit message (Collapse)Author
2007-05-19i know we broke backwards compatibility but noone uses it except obconf and ↵Dana Jansens
it still works, so just leave the pkgconfigs as -3.0, and obconf2 and require version >= 3.3.990 instead.
2007-05-18change obrender-3.0 and obparser-3.0 to 3.4 because we broke backward ↵Dana Jansens
compatibility
2007-05-18add pango to the pkg-config fileDana Jansens
2007-05-12build fixesDana Jansens
2007-05-12change how masks are loaded, let you override just one. simpler code too.Dana Jansens
2007-05-12micromicrooptimizationMikael Magnusson
2007-05-11make default masks even sized. these are from the clearlooks theme, probably ↵Dana Jansens
from somewhere else before that.
2007-05-11give different border colors to active and inactive windows. adjust the xml ↵Dana Jansens
theme format a little to make it BETTER. rawr. add some metadata standards too.
2007-05-11guarantee an even height for the label, and thus the titlebar, and thus the ↵Dana Jansens
buttons. that way an even sized mask in the button will always be centred
2007-05-11change fallbacksDana Jansens
2007-05-11make fallbacks match 3.4Dana Jansens
2007-05-11memory leak on the serverDana Jansens
2007-05-11unusedDana Jansens
2007-05-10PANGO_VERSION_CHECK is newDana Jansens
2007-05-09use pango 1.16 stuff if its there. and use the old stuff if not. also! save ↵Dana Jansens
it in static variable so we dont have to update it over and over.
2007-05-09mem leaksDana Jansens
2007-05-09fix using uninit'd valuesDana Jansens
2007-05-07merge in r6153-6154 from the 3.4 branchDana Jansens
2007-05-07popups fixes. if the text for the popup is empty now, there wont be extra ↵Dana Jansens
padding for it. desktop name fixes.
2007-05-05changes to the client menu, which entries are there, and reorganizing, and ↵Dana Jansens
renaming. let you highlight disabled menu entries, they just aren't runable of course, and add the activedisabled theme element for these entries. add the all desktops button picture to "All desktops" in the client menu update the themes for the new element, and some changes to make things more readable-better contrast. CLEARLOOKS-OLIVE is now DIFFERENT FROM THE 3.4 BRANCH SO DON'T RE-RUN THEMETOXML ON IT :( :( yeah.. i think that is everything?
2007-05-03unsigned..Dana Jansens
2007-05-02small change to the render API. RrMinsize became RrMinSize. added RrMinWidth ↵Dana Jansens
and RrMinHeight. make focus/desktop popups wider based on the screen size with the old size as a minimum. left-align the desktop dialog.. i think better dialogs would be nice. and to make them hide or something when you switch desktops while switching windows etc.
2007-04-26add a separate font config for onscreendisplaysDana Jansens
change menutitle in the rc to menuheader fix up the xsd for fonts
2007-04-26assume a valid utf8 char is at the shortcut position. the menu parser makes ↵Dana Jansens
sure of this
2007-04-25dont go to disabled menu entries with keyboard shortcutsDana Jansens
fix some rendering of shortcuts
2007-04-25make rendering the shortcuts much fasterDana Jansens
2007-04-25"text" was no longer neededDana Jansens
2007-04-25add shortcuts for text rendering. it underlines the first character in the ↵Dana Jansens
string that matches the shortcut
2007-04-23error in the new error message codeDana Jansens
2007-04-231) translate all of openbox's outputDana Jansens
2) update copyrights. 3) make release. ok that part not quite yet.
2007-04-22better matching of the menu titles/separators to the themeDana Jansens
2007-03-28copy paste error, spotted by tilman ftwMikael Magnusson
2007-03-28more updates for toggled states. also updating the theme files.Dana Jansens
2007-03-28add toggled-pressed and toggled-hover button states to themes. also rename ↵Dana Jansens
toggled to be toggled-unpressed
2007-03-18use const char*'s when we should beDana Jansens
2007-03-14add support for 8bit TrueColor visuals. Who knew these existed. Fixes vnc's ↵Dana Jansens
8bit mode. (bug 2878)
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-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-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-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-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-04lighten the default shadow, it's alittle harsh right nowDana Jansens
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 font weight and font slant enumerationsDana Jansens
2007-03-04use font 8point by default if none is specifiedDana Jansens
2007-03-04add missing commentDana Jansens