summaryrefslogtreecommitdiff
path: root/render/theme.h
AgeCommit message (Collapse)Author
2007-06-05add osd border stuffDana Jansens
2007-06-02remove the title separator width thing.Dana Jansens
add a separate color for the title separator
2007-06-02add tswidth to theme.h, but its always == fbwidthDana Jansens
2007-05-31add an allow_fallback option when opening a themeDana Jansens
2007-05-31cosnt char*Dana Jansens
2007-05-28set the current theme in a root propertyDana Jansens
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-11unusedDana Jansens
2007-05-07merge in r6153-6154 from the 3.4 branchDana Jansens
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-04-26add a separate font config for onscreendisplaysDana Jansens
change menutitle in the rc to menuheader fix up the xsd for fonts
2007-04-22better matching of the menu titles/separators to the themeDana Jansens
2007-03-28add toggled-pressed and toggled-hover button states to themes. also rename ↵Dana Jansens
toggled to be toggled-unpressed
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>
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
2006-08-22update copyright step 2Mikael 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-09-25wrap public headers in G_BEGIN/END_DECLSDana 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-17api cleanups for render/theme.hDana Jansens
2003-09-14code styleDana Jansens
2003-09-12add app_(un)hilite_fg, which is never parentrelativeDana Jansens
2003-09-12add support for a default icon, but no icon has been made yet.Dana Jansens
2003-09-08bigtime theme changes. bigtime.Dana Jansens
2003-09-02add menu.bullet.selected.imageColorDana Jansens
2003-09-01rename back the app_selected appearances to app_hiliteDana Jansens
2003-09-01couple more xrdb theme format cleanups:Dana Jansens
window.focus.font -> window.label.focus.font window.unfocus.font -> window.label.unfocus.font window.justify -> window.label.justify menu.frame.* -> menu.items.* menu.hilite.* -> menu.selected.* *.picColor -> *.imageColor
2003-08-30allow handlewidth of 0, which sets show_handle to falseDana Jansens
2003-08-28half way through the changes to new menu code/design. hot shit. static menus ↵Dana Jansens
work, on to plugins next.
2003-08-22make focus and unfocus fonts for window titles. change 'xftfont' to 'font' ↵Dana Jansens
in the themes.
2003-08-11Some fixes and new bugs. Someone else can do the menus because it isScott Moynes
clear no one gives a fuck what I think and no one else wants a window manager that doesn't suck the same balls as every other window manager.
2003-08-02invisible resizing areas/grips in the top corners of the windowDana Jansens
2003-08-01add pressed bitmaps. rename stick bitmaps to deskDana Jansens
2003-08-01add toggled textuers for titlebar buttonsDana Jansens
2003-08-01renamed the _t bitmaps, and added disabled and hover bitmapsDana Jansens
2003-07-30move the titlebar layout from the theme to the rc fileDana Jansens
2003-07-27fix mem leaks/crashesDana Jansens
2003-07-27add pressed colors for buttonsDana Jansens
2003-07-22add a menuOverlap property to themes, and use it in the submenu placementDana Jansens
2003-07-10add disabled buttons, instead of now showing buttons at all when they wont ↵Dana Jansens
do anything, now show a disabled button instead. this severely breaks compatibility with blackbox themes since there is no good way to automiatically create a disabled button that i can think of, so if they dont exist in the theme you get black and white for the button. when a window cant be resized, its handle is not removed but its grips are. change allowing the user to disable individual decorations as that is overkill, instead allow a toggle through the client.decorate boolean.
2003-06-28add the themes path to the struct. make the name never include a pathDana Jansens
2003-06-26read fonts and titlebar layout from theme filesDana Jansens
2003-06-21more namespacing with Rr*Dana Jansens
2003-06-21more namespacing to Rr*Dana Jansens
2003-06-21rename color_rgb to RrColorDana Jansens
2003-06-21put the render theme into a structDana Jansens
2003-06-20this is going to break the kernel/ building.Dana Jansens
lots of modifications to the render API, prefixing everything, making proper names for everything. the structures are not hidden/opaque yet, but the naming scheme of the public API works much better now.