Commit graph

27 commits

Author SHA1 Message Date
Daniel M. Duley
49aba34b01 My weekly big ass style commit ;-) This implements what I discussed earlier
today.

First: All decoration pixmaps are now regenerated when the palette color scheme
changes. There is no longer any need to apply color schemes *before* switching
styles or reload the plugin. The schemes can change any time and be handled
correctly by styles that generate their pixmaps based on the color scheme.

Second: The color scheme has been extended to allow separate entries for
different visual styles. For example there are now entries for both titlebar
rectangle fills like those used in the standard KDE style and KStep vs.
titlebar grooves like those used in System. The same thing applies to
foreground colors for buttons that follow the button background settings like
KStep and System vs. those that don't like the standard style.

Right now none of the color schemes have the new entries so defaults are
calculated, usually by judging the intensity of what the decoration is
drawn on and contrasted with that. To check things out look at the standard,
KStep, and System styles under color schemes like default, CDE, and Digital
CDE.

The Be style is not updated because I have a cooler one on my HD ;-)

I hope this makes David happier <grin> :)

svn path=/trunk/kdebase/kwin/; revision=39126
2000-01-23 23:33:29 +00:00
Daniel M. Duley
e25393dafa Did a real implementation for the question mark button for the standard style.
KPixmap2Bitmap is really useful for this type of thing :)

svn path=/trunk/kdebase/kwin/; revision=38552
2000-01-17 05:31:28 +00:00
Daniel M. Duley
cb69226b40 Use kdrawutil and committing my initial implementation of the kwm theme
compatible style. This isn't done but currently reads most of the entries. It
requires you use kwinrc and kdeglobals so kthememgr will need to be updated if
you don't want to apply things manually ;-) I also have to add custom cursor
positioning and some other small things. Also, KWM used a bitmap to set the
mask and I do for now as well. This needs to change into regions as it is
*really* inefficent with KWin. For now installing the .desktop for the plugin
is disabled. I will provide some screenshots for the curious when I launch
mosfet.org ;-)

svn path=/trunk/kdebase/kwin/; revision=37503
2000-01-03 13:13:57 +00:00
Daniel M. Duley
16008373fb Re-enabling sticky button.
svn path=/trunk/kdebase/kwin/; revision=37180
1999-12-22 23:55:18 +00:00
Matthias Ettrich
705e85aaf7 even more elaborate
svn path=/trunk/kdebase/kwin/; revision=36674
1999-12-15 18:27:26 +00:00
Matthias Ettrich
e673ba48e8 be more elaborate what you want
svn path=/trunk/kdebase/kwin/; revision=36673
1999-12-15 18:26:19 +00:00
Matthias Ettrich
22de3305c5 minor details
svn path=/trunk/kdebase/kwin/; revision=36132
1999-12-08 20:08:04 +00:00
Matthias Ettrich
9764a4f487 fixed a minor focus problem
svn path=/trunk/kdebase/kwin/; revision=36074
1999-12-07 21:54:52 +00:00
Matthias Ettrich
64acd7375d implemented preliminary WM_CONTEXT_HELP protocol. In combination with tomorrow's
Qt snapshot, you will see lovely question marks in the titlebar of dialogs that
invoke What's This help.

svn path=/trunk/kdebase/kwin/; revision=35618
1999-12-01 22:09:32 +00:00
Daniel M. Duley
ff0574cad2 Imac style frames :) I updated the screenshot yet again on the Nov22 entry
on my webpage if you want to take a look. Pretty cool :)

svn path=/trunk/kdebase/kwin/; revision=35486
1999-11-30 04:44:03 +00:00
Matthias Ettrich
b441f40a7e configurable mouse bindings (see README)
svn path=/trunk/kdebase/kwin/; revision=35388
1999-11-29 02:06:41 +00:00
Matthias Ettrich
bd1e4878ba keep transients together, support various input modes, handle
wm_change_state messages properly

svn path=/trunk/kdebase/kwin/; revision=35353
1999-11-28 20:10:58 +00:00
Matthias Ettrich
49f894fa51 nicer tabbox
svn path=/trunk/kdebase/kwin/; revision=35151
1999-11-26 22:10:25 +00:00
Matthias Ettrich
bad93649e3 fixed min/max handling, handle palette changes properly
svn path=/trunk/kdebase/kwin/; revision=35018
1999-11-25 12:53:17 +00:00
Matthias Ettrich
367d4fd0d7 some bugfixes, added a window operations menu, some simple shading animation
svn path=/trunk/kdebase/kwin/; revision=34662
1999-11-22 01:57:51 +00:00
Matthias Ettrich
eb5e8e031d slightly improved default look
svn path=/trunk/kdebase/kwin/; revision=34604
1999-11-21 17:17:34 +00:00
Matthias Ettrich
9a0ea6b949 - handle initial state iconic
- handle maprequests when being iconified properly
- do not unshade xemacs 32000 pixels high

svn path=/trunk/kdebase/kwin/; revision=34014
1999-11-16 01:25:42 +00:00
Daniel M. Duley
40966ef808 Converted the titlebar buttons from using fixed pixmaps to dynamically
calculated pixmaps based on bitmaps for each shade and the extended KDE color
scheme. That means you can now specify button colors for both active
and inactive windows.

svn path=/trunk/kdebase/kwin/; revision=33415
1999-11-10 16:07:19 +00:00
Matthias Ettrich
ec0c1a1a5c use standard colormap (to support themes better) in classic style
svn path=/trunk/kdebase/kwin/; revision=33383
1999-11-10 01:18:56 +00:00
Matthias Ettrich
8824421c5e just one more pixel
svn path=/trunk/kdebase/kwin/; revision=33379
1999-11-10 00:41:57 +00:00
Matthias Ettrich
f7de021a1d move text up a bit
svn path=/trunk/kdebase/kwin/; revision=33378
1999-11-10 00:36:04 +00:00
Matthias Ettrich
c1caeef679 Look closer to the T-shirt
svn path=/trunk/kdebase/kwin/; revision=33377
1999-11-10 00:34:11 +00:00
Matthias Ettrich
1884091309 update, usable with kicker now
svn path=/trunk/kdebase/kwin/; revision=33064
1999-11-07 01:43:06 +00:00
Daniel M. Duley
37b09be6f3 A few fixes, moved colorgroups to the Options class (much nicer there), and
started on a fixed system style. If you try it out make sure to read the new
README, as it requires some gradient settings.

svn path=/trunk/kdebase/kwin/; revision=30585
1999-10-11 02:00:06 +00:00
Daniel M. Duley
b844f223e2 Might as well make colorgroups static too. Also fixed a memleak
(pixmaps_created was never set to true).

svn path=/trunk/kdebase/kwin/; revision=30498
1999-10-10 04:25:28 +00:00
Daniel M. Duley
92e1e869b1 Since Matthias commited something I felt bad for not doing any work on this
like I said I would and only working on style stuff ;-)

I added basic color scheme handling to the Options class. All styles should
use this for color values. Supported are titlebars, titleblends, fonts,
button foreground and background, button blend, frames and handles for both
active and inactive states. Also added active and inactive fonts.

Not all clients have to use all the values, but for the values they do use
they should get them from here.

I also ported StdClient and Beos to the new scheme. I will do a kcm module once
I do the System decoration style ;-)

svn path=/trunk/kdebase/kwin/; revision=30497
1999-10-10 03:22:21 +00:00
Matthias Ettrich
311db796c6 Say hello to kwin. WARNING: NOT USABLE YET. See README.
svn path=/trunk/kdebase/kwin/; revision=27871
1999-08-19 23:26:42 +00:00