25545 Commits (master)
 

Author SHA1 Message Date
Daniel M. Duley 5aad79903d 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
25 years ago
Rik Hemsley 7dd5c805e4 Now the line of the title pixmap fade out and disappear as they
approach and pass under the text. Makes the text much clearer and
looks nice too.

svn path=/trunk/kdebase/kwin/; revision=45113
25 years ago
Rik Hemsley e81a5b7317 Now active titlebar is black, NeXT-style. Very good contrast ! :)
svn path=/trunk/kdebase/kwin/; revision=45107
25 years ago
Rik Hemsley 53c778c728 These have been renamed for consistency.
svn path=/trunk/kdebase/kwin/; revision=45100
25 years ago
Rik Hemsley 0e4b07d820 Changed titlebar pixmap to something very subtle.

							
						
25 years ago
Rik Hemsley 1a1c3254e5 New, nicer pixmaps for buttons and titlebar.
Use static pointers to QPixmaps to save memory now, as I should have
done before.

svn path=/trunk/kdebase/kwin/; revision=45067
25 years ago
Matthias Ettrich 5a7b9ed8aa remove some passive grab combinations on active windows. Helps GIMP, TK and Co.
svn path=/trunk/kdebase/kwin/; revision=45057
25 years ago
Rik Hemsley 126ef189bd Fixed vertical-only resize
svn path=/trunk/kdebase/kwin/; revision=45009
25 years ago
Rik Hemsley b91600e944 Redrawn pixmaps to avoid getting sued ;) I like my versions better
anyway, and they use the KDE locolor palette, so that's even better  :)

svn path=/trunk/kdebase/kwin/; revision=45005
25 years ago
Rik Hemsley 40d186a13f Ignore, and compile
svn path=/trunk/kdebase/kwin/; revision=45002
25 years ago
Rik Hemsley ca8293aa21 This theme emulates the look and feel of the RISC OS 'window manager'.
svn path=/trunk/kdebase/kwin/; revision=45001
25 years ago
Daniel M. Duley 9e709f2784 Frame for the titlebar. I originally left this out to leave more room for
the text when using tiny titlebars but it looks like crap without it ;-)

BTW, is this style working well for laptop people?

svn path=/trunk/kdebase/kwin/; revision=44853
25 years ago
Daniel M. Duley 1079007ceb Thinking about what Cristian said and how it's going to be difficult to
satisfy both laptop users who want large buttons and those who have low
resolution and want small bars. So I made it configurable :)

You can now set the titlebar height anywhere from 14 to 32 pixels, which also
changes the button size:

You currently need to edit ~/.kde/share/config/kwinrc and set:

[Laptop]
TitleHeight=Some number between 14-32.

Then restart KWin (it's not in the options class yet). The default is still
a small titlebar.

Here's the shot I put up before with the default small titlebar:
http://www.mosfet.org/kwinlaptop.gif

Here's one with a larger titlebar (21 pixels):
http://www.mosfet.org/laptop-bigtitlebar.gif

svn path=/trunk/kdebase/kwin/; revision=44755
25 years ago
Daniel M. Duley 954f25c36e Less useless space between buttons.
svn path=/trunk/kdebase/kwin/; revision=44709
25 years ago
Daniel M. Duley 955ff1947a Reduced titlebar size by 2 pixels ;-)
svn path=/trunk/kdebase/kwin/; revision=44705
25 years ago
Daniel M. Duley 35cbd1ea19 No need for mouse tracking.
svn path=/trunk/kdebase/kwin/; revision=44704
25 years ago
Daniel M. Duley ff6cb2d276 More layout stuff.
svn path=/trunk/kdebase/kwin/; revision=44699
25 years ago
Daniel M. Duley 0c77d7383e Trying to make the titlebar buttons easier to hit on laptops by increasing the
width. The issue here is I want to make the buttons as wide as possible for
laptop mice without having the titlebar be all buttons and no title ;-) My
solution so far is making the common buttons bigger and the uncommon ones
smaller. It's not consistent but let's me make the areas frequently hit
wide as hell, which is good for a laptop :) Close, iconify, and maximize are
larger - sticky and help are smaller.

Another updated shot is at:
http://www.mosfet.org/kwinlaptop.gif

svn path=/trunk/kdebase/kwin/; revision=44698
25 years ago
Simon Hausmann 677ddb6213 - hehe, tmake in coolo's CVS? ;-)
svn path=/trunk/kdebase/kwin/; revision=44692
25 years ago
Daniel M. Duley 8b658a240f Removing the Be style, as it's incomplete and is replaced by B2 now. Was useful
tho as it was the first example of a shaped style :)

svn path=/trunk/kdebase/kwin/; revision=44657
25 years ago
Daniel M. Duley ef5094b21a New KWin look-and-feel plugin specifically coded for laptops :)
It features a reduced height taskbar with oversized width buttons (I may make
these even wider to make them easier to hit), a minimal frame, and a
oversized shaped resize handle. Uses the system KWin style buttons, not just
because I like them but because they fit in the reduced size bar ;-)

As usual, here's a screenshot:
http://www.mosfet.org/kwinlaptop.gif

On another note, the Be style is going away and is now replaced by B2. Be
needs work so I asked Matthias Ettrich about it (he's the maintainer of that
style), and it turns out he's already using B2 :)

svn path=/trunk/kdebase/kwin/; revision=44656
25 years ago
Matthias Ettrich b57453a363 inform modules about initial desktop placement
svn path=/trunk/kdebase/kwin/; revision=44625
25 years ago
Matthias Ettrich 00d9588ccc added phase2 workaround for broken qt-2.1 beta3
svn path=/trunk/kdebase/kwin/; revision=44620
25 years ago
Matthias Ettrich b49151074f Session management for KDE-2.x : say hello to the ksmserver
svn path=/trunk/kdebase/kwin/; revision=44552
25 years ago
Matthias Ettrich 12f591923c do not change window placement on style changes
svn path=/trunk/kdebase/kwin/; revision=44451
25 years ago
Matthias Ettrich a637bea8e4 small fix for Reggie's ultrafast machine
svn path=/trunk/kdebase/kwin/; revision=44448
25 years ago
Matthias Ettrich 9926eb384a small fixes
svn path=/trunk/kdebase/kwin/; revision=44444
25 years ago
Daniel M. Duley 8724699214 This I have had sitting on my HD for awhile, an ultra cool KWin style to go with the B2 widget style :)
It uses Be-like shaped titlebars, KDE standard buttons, has a shaped resize
handle, and automatically detects if you are on a highcolor display and if so
uses gradients based off the current color scheme. BTW, the buttons don't
necessarily match the titlebar but use the button foreground setting in KDE's
display settings so you can change them to whatever you like.

If no one objects I'll probably disable the old Be style. Unlike this style it
uses Be-like buttons but the drawing isn't very fancy and Be's two buttons are
a big restriction in KDE.

You can see a screenshot at:
http://www.mosfet.org/b2kwin.gif

svn path=/trunk/kdebase/kwin/; revision=44420
25 years ago
Matthias Ettrich 0383f22204 cleanups
svn path=/trunk/kdebase/kwin/; revision=44297
25 years ago
Matthias Ettrich 7375cc7a17 faster abort when another window manager is running
svn path=/trunk/kdebase/kwin/; revision=44291
25 years ago
Matthias Ettrich 0df9f29ccd help toolkits to figure out the frame geometry when receiving reparentNotify
svn path=/trunk/kdebase/kwin/; revision=44288
25 years ago
Matthias Ettrich 0bb1975556 performance
svn path=/trunk/kdebase/kwin/; revision=44279
25 years ago
Matthias Ettrich c2b5722a6b small optimizations
svn path=/trunk/kdebase/kwin/; revision=44233
25 years ago
Navindra Umanee bff6c83557 reversed last patch. :)
svn path=/trunk/kdebase/kwin/; revision=44120
25 years ago
Navindra Umanee 3b4f6b0ef8 The so-called KWM style deviated rather disturbingly from the
original.  This is my attempt at making it more kosher.  As a bonus,
the title font is also vertically centered.

Unfortunately, the titlebar is still missing a line at the very top,
so the buttons are still not flush with it.  I hope someone can fix
it!

svn path=/trunk/kdebase/kwin/; revision=44093
25 years ago
Daniel M. Duley 06a809e7ac Screwing around with the titlebar layout a little. Windows can now be resized
smaller than the sizeHint of the bar.

Repainting is also messed up with all the clients it seems... dunno how that
happened :P

svn path=/trunk/kdebase/kwin/; revision=43873
25 years ago
Kurt Granroth 2b0fb2434f use KGlobal::menuFont()
svn path=/trunk/kdebase/kwin/; revision=43693
25 years ago
Kurt Granroth bad0fc821a Added separator in workspace list
svn path=/trunk/kdebase/kwin/; revision=43207
25 years ago
Matthias Ettrich 98ea0a56db small fixes
svn path=/trunk/kdebase/kwin/; revision=42768
25 years ago
Waldo Bastian c19c5935bf WABA: Build kwin as a kdeinit module.
svn path=/trunk/kdebase/kwin/; revision=41646
25 years ago
Stephan Kulow 34117fb345 CVS_SILENT simplifying make messages
svn path=/trunk/kdebase/kcontrol/; revision=40569
25 years ago
David Faure ee87d173ec Name the interface object - I can logout !
svn path=/trunk/kdebase/kwin/; revision=40512
25 years ago
Christopher Molnar 54be0a25d9 CJM - fixed pid problem in main --->register kwin

							
						
25 years ago
Christopher Molnar 5e28e27b2c added kwiniface iface in main for logout

							
						
25 years ago
David Faure 87a7b9b775 Build a kwiniface + fixed compiler warning
svn path=/trunk/kdebase/kwin/; revision=40507
25 years ago
Christopher Molnar 6482ac8053 Added kwininface:logout code. Still needs revisions - Chris M.

							
						
25 years ago
Stephan Kulow 7a2d237c3c removed some obsolete Qt functions (mostly QString::data())
svn path=/trunk/kdebase/kcontrol/; revision=40032
25 years ago
Cristian Tibirna dc7f396179 CT: erase crash in tabbox thanks to Malte Starostik
svn path=/trunk/kdebase/kwin/; revision=39262
25 years ago
Daniel M. Duley 133bce84f6 Opps, I had a couple styles in the SUBDIRS like I hadn't committed yet ;-)
svn path=/trunk/kdebase/kwin/; revision=39127
25 years ago
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
25 years ago