summaryrefslogtreecommitdiff
path: root/openbox/framerender.c
AgeCommit message (Collapse)Author
2011-10-16Specific border width/color for undecorated active/inactive windows (bug #4889)Carlos Pita
The attached patch adds three theme options with backward compatible defaults: undecorated.border.width defaults to border.width window.undecorated.active.border.color defaults to window.active.border.color window.undecorated.inactive.border.color defaults to window.inactive.border.color
2010-10-14Buttons seem to work!Dave Foster
2009-12-21Set up work for making a 3.5 prerelease.Dana Jansens
Set version stuff to 3.5.0-rc1. Copy the CHANGELOG from 3.4-working. Rename the obt-4.0 and obrender-4.0 pkgconfig stuff to obt-3.5 and obrender-3.5 Rename the "render" directory to "obrender" so that the public headers can be installed in <obrender/*>
2008-02-14Introducing the icon cache.Dana Jansens
If an icon is the same as one in the cache, then it uses that one. icons of different sizes (from the same client) are linked together into one, and resizes of icons are cached and linked to all the various sizes. so you only need one icon in memory for all your terminals now. ya!
2008-01-31Merge branch 'backport' into workDana Jansens
Conflicts: openbox/client.c openbox/config.c openbox/event.c openbox/extensions.c openbox/focus_cycle_indicator.c openbox/focus_cycle_popup.c openbox/menuframe.c openbox/moveresize.c openbox/openbox.c openbox/screen.c openbox/stacking.c openbox/startupnotify.c
2008-01-27we alloc theme elements for every window frame, but really it is unneccesaryDana Jansens
2008-01-20s/ob_display/obt_display/ and remove ob_displayDana Jansens
2007-08-04add resize corners to the bottom corners of the inner client borderDana Jansens
2007-07-17remove trailing whitespaceMikael Magnusson
2007-06-13no un-needed renderingDana Jansens
2007-06-10delay re-rendering the frame while it is being iconify-animated until the ↵Dana Jansens
animation finishes (avoid it flashing to unfocused)
2007-06-03don't use the title separator color for shaded windowsDana Jansens
2007-06-02remove the title separator width thing.Dana Jansens
add a separate color for the title separator
2007-05-29put an alpha channel in the rgba textureDana Jansens
2007-05-28have the clientpadding color show during resize, and no flashing on unmap. ↵Dana Jansens
we win !
2007-05-28get rid of the "inner" windowDana Jansens
2007-05-24merge r6815 from 3.4-working (!) 'fix positioning of tlt, top and trt resize ↵Mikael Magnusson
elements. thanks mulberry'
2007-05-22fix frame rendering to match layout fixesDana Jansens
2007-05-20draw the handle without bordersDana Jansens
2007-05-20construct the titlebar without bordersDana Jansens
2007-05-20stop using a border for the outer frame window. step 1 of borderless-ness. ↵Dana Jansens
now transparent windows dont look so terrible, yay
2007-05-19add Left and Right contexts for resizingDana Jansens
2007-05-12change the "handle" context to "bottom". add a "top" context. make the topDana Jansens
and bottom contexts resize vertically in the default config file.
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-09further work to r6205. make the disabled titlebar buttons hide if they won't ↵Dana Jansens
move other buttons around by doing so.
2007-04-23add a window between the frame and the plate for drawing the client border. ↵Dana Jansens
this way when the client window disappears, nothing gets rendered underneath it.
2007-04-231) translate all of openbox's outputDana Jansens
2) update copyrights. 3) make release. ok that part not quite yet.
2007-03-28add toggled-pressed and toggled-hover button states to themes. also rename ↵Dana Jansens
toggled to be toggled-unpressed
2007-03-16animate presses on toggled titlebar buttonsDana Jansens
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-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>
2006-08-22update copyright step 2Mikael Magnusson
2005-07-14make the framerender_frame() code a bit less crazyMikael Magnusson
2005-07-14revert the pressed toggled thing for a whileMikael Magnusson
2005-07-14correctly show pressed state when pressing toggled buttons, bug #2311Mikael Magnusson
2003-10-15consistant glib type usageDana Jansens
2003-09-28try grab an icon even when there are noneDana Jansens
2003-09-28halfway through client changes but...Dana Jansens
should fix crashes irt actions in the action queue for clients that have been destroyed. now those actions are skipped or performed without a client as possible.
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-08bigtime theme changes. bigtime.Dana Jansens
2003-09-07xflush after renderingDana Jansens
2003-08-10clear the window after setting the background color, this isnt implicitDana Jansens
2003-08-05a couple frame layout bugfixes hidden inside all this.. weeDana Jansens
fixes for maximizing windows: - when you toggledecor, it will reconfigure once, but the new constraints from the decor changes would not be in effect when the window was resized to the contranits. fixed by calling frame_adjust_area first thing ni client_configure_fulll with fake=TRUE which will recalc all the frame geometry without resizing/redrawing anything in the frame. this way the decor can take effect in the geometries. - when maxed horizontally, make the client fill the screen, but dont do this by just making it wider than the screen, fit it to the screen and adjust the titlebar/handle as appropriate to keep it all on the screen. - when maxed horizontally and vertically, remove the handle from the decorations
2003-08-03give the plate the same background color as its borderDana Jansens
2003-08-02invisible resizing areas/grips in the top corners of the windowDana Jansens
2003-08-01add toggled textuers for titlebar buttonsDana Jansens
2003-07-28hover theme elements for window titlebar buttonsDana Jansens