49aba34b01
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
44 lines
1.8 KiB
Text
44 lines
1.8 KiB
Text
KWin can now handle some new color scheme entries in addition to the ones
|
|
handled by KWM. Note that these are suggestions and all the colors may not
|
|
be used by all KWin styles. These all currently go into the [WM] group.
|
|
|
|
frame, inactiveFrame : Window frame (was fixed to general KDE bg in KWM).
|
|
|
|
handle, inactiveHandle : Window handles (sometimes called "grips").
|
|
|
|
activeBackground, inactiveBackground : Tilebars (bad name, but it's what KWM
|
|
uses). This is for styles that use a solid filled rectangle for the titlebar
|
|
such as the standard style and KStep.
|
|
|
|
activeGroove, inactiveGroove: This is for titlebars that instead of a solid
|
|
rectangle use some sort of groove or small bevels layered on the frame.
|
|
An example of this is System.
|
|
|
|
activeBlend, inactiveBlend : Titlebar blend for styles that use a rectangle
|
|
titlebar fill.
|
|
|
|
activeForeground, inactiveForeground : Tilebar text for styles that use a
|
|
rectangle titlebar fill.
|
|
|
|
activeGrooveText, inactiveGrooveText: Titlebar text for styles that use
|
|
grooved titlebar styles instead of the solid fill. This should contrast with
|
|
the frame color.
|
|
|
|
activeTitleBtnBg, inactiveTitleButtonBg : Button background color for up and
|
|
down states.
|
|
|
|
activeTitleBtnBlend, inactiveTitleBtnBlend : Button blend.
|
|
|
|
activeTitleBtnFg, activeTitleBtnFg : Some style's buttons don't use the
|
|
above button background colors but instead draw the button foreground
|
|
transparently on the frame. The best example of this is the standard KDE
|
|
style. Use this to specify a color for such styles, which should contrast with
|
|
the frame - not the button bg.
|
|
|
|
activeTitleBtnFullFg, inactiveTitleBtnFullFg: This is for styles that have
|
|
full support for button background settings. Examples are KStep and System.
|
|
This should contrast with the button background.
|
|
|
|
Daniel M. Duley
|
|
mosfet@kde.org
|
|
mosfet@linuxmandrake.com
|