Commit graph

54 commits

Author SHA1 Message Date
Dana Jansens
24c0d61847 add the 'engine="box"' to the theme format, and require it to be there so we can change that in the future 2007-05-07 02:38:13 +00:00
Dana Jansens
2f5727ffe9 add support for the menu.items.activedisabled.text.color theme element 2007-05-05 22:52:15 +00:00
Dana Jansens
526560b8a0 changes to the client menu, which entries are there, and reorganizing, and 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-05 22:26:59 +00:00
Mikael Magnusson
e785e18a2c you didn't say no 2007-03-30 16:37:17 +00:00
Dana Jansens
bd27269850 more updates for toggled states. also updating the theme files. 2007-03-28 03:51:27 +00:00
Dana Jansens
5fb30e4488 add toggled-pressed and toggled-hover button states to themes. also rename toggled to be toggled-unpressed 2007-03-28 03:32:46 +00:00
Dana Jansens
82be671c64 scale the shadows up, they were /100 before, now they are /255 2007-03-05 16:32:50 +00:00
Dana Jansens
b31189b91a was looking for menu items font in the wrong place 2007-03-05 16:27:02 +00:00
Dana Jansens
45087efbcd point and padding became redundant.. do remove padding type from xsd and use point type. also fix bug in theme parser where it was looking for wrong one. 2007-03-05 16:23:13 +00:00
Dana Jansens
ec304c9e43 scary commit..but here goes.
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 15:44:17 +00:00
Dana Jansens
e6fba91476 kde systray applications no longer need the tray proxy, so let's remove it from svn 2007-03-05 03:33:00 +00:00
Dana Jansens
5697404dd6 add the themetoxml tool ! yay 2007-03-05 03:30:22 +00:00
Dana Jansens
6608dddef4 add comment explaining what this tool is for. new themeupdate tool is coming for xml themes. 2007-03-04 22:22:27 +00:00
Mikael Magnusson
2b99b62abf maybe this works then 2007-02-20 13:13:27 +00:00
Mikael Magnusson
144cc4ff70 this should do it 2007-02-20 12:30:47 +00:00
Mikael Magnusson
d84f1aac10 remove .cvsignore files 2006-08-31 13:49:36 +00:00
Mikael Magnusson
335e8acbfc yay no tabs in the source 2004-03-21 01:03:00 +00:00
Dana Jansens
2cb368cb1b fix warnings 2003-10-11 08:05:56 +00:00
Dana Jansens
d826a88728 rename gnomepanelproxy to gnome-panel-control 2003-09-18 07:47:58 +00:00
Dana Jansens
4f6908feed add gnomepanelproxy 2003-09-18 07:43:33 +00:00
Dana Jansens
16f46c296d no tabs 2003-09-17 07:44:49 +00:00
Dana Jansens
c4e4760c41 add copyright headers, adjust --version output to include copyright, and --help output to not include version output. 2003-09-17 07:32:52 +00:00
Dana Jansens
7d20f6f4d3 warn about the right shit 2003-09-08 18:58:57 +00:00
Dana Jansens
a72371b41f bigtime theme changes. bigtime. 2003-09-08 18:38:52 +00:00
Dana Jansens
237cc7278b obconf is moving into its own tree 2003-09-07 23:43:45 +00:00
Dana Jansens
45520c3244 some stuff is exact 2003-09-01 16:34:00 +00:00
Dana Jansens
957def11cb remove menu.bullet from themes 2003-09-01 16:32:32 +00:00
Dana Jansens
959126d9a2 show errors on stderr 2003-09-01 16:30:29 +00:00
Dana Jansens
13430ce547 nicer usage output 2003-09-01 16:29:54 +00:00
Dana Jansens
b90b0beaf9 global valid 2003-09-01 09:17:19 +00:00
Dana Jansens
3cdf906f5f more checks, for pixelsize fonts 2003-09-01 09:16:08 +00:00
Dana Jansens
a32fffbb6c add more checks, for fonts, and for missing stuff 2003-09-01 09:05:54 +00:00
Dana Jansens
48cc1758e4 update oldschool .xft.font options from ob2 2003-09-01 08:54:31 +00:00
Dana Jansens
6258e5f78a enable all the tests 2003-09-01 08:12:19 +00:00
Dana Jansens
cdf2d7eaf8 check for oldschool fonts 2003-09-01 08:12:00 +00:00
Dana Jansens
dd74424f01 check window.button.pressed 2003-09-01 08:05:57 +00:00
Dana Jansens
9d1137a6d3 themeupdate already fixes some recent changes 2003-09-01 07:58:09 +00:00
Dana Jansens
a5f083c199 add more widgets to the main window 2003-08-03 17:49:32 +00:00
Dana Jansens
7d3127b17d has a pane and list and workarea 2003-08-02 19:26:51 +00:00
Dana Jansens
b874b99640 has a menu and a treeview 2003-08-02 19:19:03 +00:00
Dana Jansens
0090ec430a missing sys/time.h 2003-08-02 15:31:09 +00:00
Dana Jansens
759565a70e add the kdetrayproxy tool 2003-08-01 05:00:23 +00:00
Dana Jansens
336cef8006 dont inlcude these headers they arent needed yet 2003-07-31 18:30:04 +00:00
Dana Jansens
42009bd023 make errors non-modal 2003-07-26 07:50:37 +00:00
Dana Jansens
a354b0f5a9 restarting work on obconf 2003-07-26 07:44:15 +00:00
Dana Jansens
5be0a82a35 use ob_debug for any debug printing and only display the output when its a debug build or when --debug is passed to it 2003-07-24 06:02:38 +00:00
Dana Jansens
2abbf01125 update the build system, using a single Makefile.am for a sexyass non-recursive make. booyah! 2003-07-10 04:31:05 +00:00
Dana Jansens
2f9efb384d prepare for alpha1 release.
make 'make dist' work.
2003-06-29 08:47:24 +00:00
Dana Jansens
d1e355de2c this is a big one! im putting stats in here just cuz!
59 files changed, 1691 insertions(+), 607 deletions(-)
Adding the beginings of ObConf. Adding a resistance-config plugin for ObConf.
Creating an obparser library that obrender can use, the kernel can use, plugins can use, and ObConf and its plugins can use. (its just code for using libXml2)
2003-05-24 21:47:06 +00:00
Dana Jansens
0d55e6cb7d rm this garbage... 2003-05-10 20:53:22 +00:00