From 5aad79903dcf57182449c42fa168455f60eef290 Mon Sep 17 00:00:00 2001 From: "Daniel M. Duley" Date: Thu, 30 Mar 2000 10:09:26 +0000 Subject: [PATCH] Figured I better set some guidelines now ;-) For inclusion in CVS you must: a) Follow the user color settings. This means no normal pixmaps, which when used in a dedicated KWin style allow no configuration at all (you can't override the pixmaps and you can't follow the color scheme). KWM themes are for that, at least then everything is configurable. It makes no sense to just make pixmaps then bitblt them, since it is way less functional than KWM themes. If you want to draw decorations first you can use kpixmap2bitmap in kdegraphics to separate the shades and then kColorBitmaps in kdrawutil.h to draw it using a colorgroup from the options class. b) You must follow at least the color settings from the user Options class. svn path=/trunk/kdebase/kwin/; revision=45132 --- clients/REQUIREMENTS_FOR_CVS | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 clients/REQUIREMENTS_FOR_CVS diff --git a/clients/REQUIREMENTS_FOR_CVS b/clients/REQUIREMENTS_FOR_CVS new file mode 100644 index 0000000000..844be52e48 --- /dev/null +++ b/clients/REQUIREMENTS_FOR_CVS @@ -0,0 +1,20 @@ +If you are looking to include a C++ KWin style client in CVS make sure you +follow the following requirements: + +A) You must follow the current color scheme for all decorations. *No* fixed +pixmaps are allowed for the clients. If you wish to draw your decorations +use as few shades as possible, then use kpixmap2bitmap in kdegraphics +to convert them into individual bitmaps. Once this is done you can +draw the bitmaps using a colorgroup with kColorBitmaps. + +If your client is just a set of pixmaps that doesn't follow any of the options +I suggest you make a KWM theme so the user gets the those options to +configure the pixmaps and look. Making a plain pixmapped dedicated style +makes no sense since it is less configurable than KWM themes and cannot follow +client plugin options. + +B) You must follow at least the color settings in the Options class. + +Daniel M. Duley +mosfet@kde.org +