summaryrefslogtreecommitdiff
path: root/render/render.c
AgeCommit message (Collapse)Author
2008-02-03Make the icon and hilite the proper sizes.Mikael Magnusson
Had to add some obrender thingers and fiddle around a bit. Also fixed up some confusing logic.
2007-07-17remove trailing whitespaceMikael Magnusson
2007-06-13don't alloc/free colors every time splitvertical is drawnDana Jansens
2007-06-10make bevel strengths theme-selectableDana Jansens
2007-06-04allow effects on parentrelative textures, ie bevels and interlaces and bordersMikael Magnusson
2007-05-20fix rendering argb textures on solid backgroundsDana Jansens
2007-05-19save some malloc when possibleDana Jansens
2007-05-19new focus cycle popup of doomDana Jansens
2007-05-12build fixesDana 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-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-231) translate all of openbox's outputDana Jansens
2) update copyrights. 3) make release. ok that part not quite yet.
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-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-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.
2006-11-1580 colsMikael Magnusson
2006-08-22update copyright step 2Mikael Magnusson
2006-08-20useless *Mikael Magnusson
2006-08-20patch from thorsten vollmer to fix bug #2506, interlaces and bevels not ↵Mikael Magnusson
drawing correctly
2006-08-19fix some warnings from -WallMikael Magnusson
2006-08-03can't call ob_debug from libobrender...Mikael Magnusson
2006-08-03maybe fix some stuff, i dunnoMikael Magnusson
2006-06-11fix two memleaksMikael Magnusson
2006-03-14make reverse_bits staticMikael Magnusson
2006-03-14fix 1bit bitmaps on msbfirst architectures + some indentation fixesMikael Magnusson
2005-07-15fix the dpi stuff with pango by reading the right ascent and descent stuffMikael Magnusson
2003-10-15consistant glib type usageDana Jansens
2003-09-17no tabsDana Jansens
2003-09-17add copyright headers, adjust --version output to include copyright, and ↵Dana Jansens
--help output to not include version output.
2003-09-14free XImagesDana Jansens
2003-09-04new scaling based on the Bresenham algorithmDana Jansens
2003-09-03provide a function to give the margins for an appearanceDana Jansens
2003-09-03we use the offsets we get from the server, we should use the byte order too..Dana Jansens
2003-09-02remove debug printDana Jansens
2003-09-01i rul.. at typos..Dana Jansens
2003-09-01copy/free the new interlaced colorDana Jansens
2003-08-31add RrColorGCDana Jansens
add a LineArt texture type for drawing a line, this is used for drawing the menu separators
2003-08-28free rgba texture cachesDana Jansens
2003-08-23formattingDana Jansens
2003-08-2380 colsDana Jansens
2003-08-23stupid function name dieDana Jansens
2003-08-01move the dekstop file to data/Dana Jansens
2003-07-24spaceDana Jansens
2003-07-23init the parent shit in the surface when making a copyDana Jansens
2003-07-11removed the RrEndian so using LSBFirst always now. hopefully this works!Dana Jansens
2003-07-10remove rependancy on geom.h from the kernel, provide what is used in its own ↵Dana Jansens
geom.h
2003-06-26read fonts and titlebar layout from theme filesDana Jansens
2003-06-21always create the bg pixmap, X seems to not like it if i dont?Dana Jansens
2003-06-21more namespacing with Rr*Dana Jansens