Commit graph

183 commits

Author SHA1 Message Date
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
2000-03-26 13:42:16 +00:00
Daniel M. Duley
954f25c36e Less useless space between buttons.
svn path=/trunk/kdebase/kwin/; revision=44709
2000-03-25 23:14:21 +00:00
Daniel M. Duley
955ff1947a Reduced titlebar size by 2 pixels ;-)
svn path=/trunk/kdebase/kwin/; revision=44705
2000-03-25 22:23:09 +00:00
Daniel M. Duley
35cbd1ea19 No need for mouse tracking.
svn path=/trunk/kdebase/kwin/; revision=44704
2000-03-25 22:19:57 +00:00
Daniel M. Duley
ff6cb2d276 More layout stuff.
svn path=/trunk/kdebase/kwin/; revision=44699
2000-03-25 21:41:18 +00:00
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
2000-03-25 21:37:49 +00:00
Simon Hausmann
677ddb6213 - hehe, tmake in coolo's CVS? ;-)
svn path=/trunk/kdebase/kwin/; revision=44692
2000-03-25 20:52:43 +00:00
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
2000-03-25 16:51:32 +00:00
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
2000-03-25 16:49:12 +00:00
Matthias Ettrich
b57453a363 inform modules about initial desktop placement
svn path=/trunk/kdebase/kwin/; revision=44625
2000-03-25 14:14:34 +00:00
Matthias Ettrich
00d9588ccc added phase2 workaround for broken qt-2.1 beta3
svn path=/trunk/kdebase/kwin/; revision=44620
2000-03-25 13:46:01 +00:00
Matthias Ettrich
b49151074f Session management for KDE-2.x : say hello to the ksmserver
svn path=/trunk/kdebase/kwin/; revision=44552
2000-03-24 22:23:02 +00:00
Matthias Ettrich
12f591923c do not change window placement on style changes
svn path=/trunk/kdebase/kwin/; revision=44451
2000-03-24 09:42:23 +00:00
Matthias Ettrich
a637bea8e4 small fix for Reggie's ultrafast machine
svn path=/trunk/kdebase/kwin/; revision=44448
2000-03-24 09:32:16 +00:00
Matthias Ettrich
9926eb384a small fixes
svn path=/trunk/kdebase/kwin/; revision=44444
2000-03-24 09:11:37 +00:00
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
2000-03-24 00:22:35 +00:00
Matthias Ettrich
0383f22204 cleanups
svn path=/trunk/kdebase/kwin/; revision=44297
2000-03-22 14:29:10 +00:00
Matthias Ettrich
7375cc7a17 faster abort when another window manager is running
svn path=/trunk/kdebase/kwin/; revision=44291
2000-03-22 12:36:07 +00:00
Matthias Ettrich
0df9f29ccd help toolkits to figure out the frame geometry when receiving reparentNotify
svn path=/trunk/kdebase/kwin/; revision=44288
2000-03-22 11:47:10 +00:00
Matthias Ettrich
0bb1975556 performance
svn path=/trunk/kdebase/kwin/; revision=44279
2000-03-22 10:06:37 +00:00
Matthias Ettrich
c2b5722a6b small optimizations
svn path=/trunk/kdebase/kwin/; revision=44233
2000-03-21 20:02:27 +00:00
Navindra Umanee
bff6c83557 reversed last patch. :)
svn path=/trunk/kdebase/kwin/; revision=44120
2000-03-20 13:50:27 +00:00
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
2000-03-20 05:14:40 +00:00
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
2000-03-18 12:35:05 +00:00
Kurt Granroth
2b0fb2434f use KGlobal::menuFont()
svn path=/trunk/kdebase/kwin/; revision=43693
2000-03-16 19:37:37 +00:00
Kurt Granroth
bad0fc821a Added separator in workspace list
svn path=/trunk/kdebase/kwin/; revision=43207
2000-03-12 06:18:14 +00:00
Matthias Ettrich
98ea0a56db small fixes
svn path=/trunk/kdebase/kwin/; revision=42768
2000-03-06 19:14:20 +00:00
Waldo Bastian
c19c5935bf WABA: Build kwin as a kdeinit module.
svn path=/trunk/kdebase/kwin/; revision=41646
2000-02-24 14:46:31 +00:00
Stephan Kulow
34117fb345 CVS_SILENT simplifying make messages
svn path=/trunk/kdebase/kcontrol/; revision=40569
2000-02-12 17:07:24 +00:00
David Faure
ee87d173ec Name the interface object - I can logout !
svn path=/trunk/kdebase/kwin/; revision=40512
2000-02-12 01:00:30 +00:00
Christopher Molnar
54be0a25d9 CJM - fixed pid problem in main --->register kwin
svn path=/trunk/kdebase/kwin/; revision=40510
2000-02-12 00:55:36 +00:00
Christopher Molnar
5e28e27b2c added kwiniface iface in main for logout
svn path=/trunk/kdebase/kwin/; revision=40509
2000-02-12 00:50:53 +00:00
David Faure
87a7b9b775 Build a kwiniface + fixed compiler warning
svn path=/trunk/kdebase/kwin/; revision=40507
2000-02-12 00:36:49 +00:00
Christopher Molnar
6482ac8053 Added kwininface:logout code. Still needs revisions - Chris M.
svn path=/trunk/kdebase/kwin/; revision=40506
2000-02-12 00:25:21 +00:00
Stephan Kulow
7a2d237c3c removed some obsolete Qt functions (mostly QString::data())
svn path=/trunk/kdebase/kcontrol/; revision=40032
2000-02-05 22:37:42 +00:00
Cristian Tibirna
dc7f396179 CT: erase crash in tabbox thanks to Malte Starostik
svn path=/trunk/kdebase/kwin/; revision=39262
2000-01-26 01:43:26 +00:00
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
2000-01-23 23:36:07 +00:00
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
cdbf1668b5 Don't use a bottom gradient, just a top one. There isn't enough space on the
bottom to get a smooth gradient that is noticeable and it doesn't blend
properly.

svn path=/trunk/kdebase/kwin/; revision=39070
2000-01-23 15:13:59 +00:00
Daniel M. Duley
202be83dae Making this style ultra-cool ;-) If you are on a highcolor display the frame
top and bottom automatically gradient bevels according to the color scheme.
Very cool looking, and no configuration required. If you want to see a pic
look at http://www.mosfet.org/system-gr.gif.

To try it out update, set the system color scheme, and the switch to the System
style via the right mouse menu on the kwin titlebar.

svn path=/trunk/kdebase/kwin/; revision=39064
2000-01-23 13:39:20 +00:00
Charles Samuels
d4e4653ac8 More I18N_NOOP stuff
svn path=/trunk/kdebase/kcontrol/; revision=38961
2000-01-21 23:34:50 +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
03f09a8927 KWin plugins require -rdynamic because they need to resolve symbols in KWin.
The other plugins (kicker, widget themes, etc...) don't need this.

svn path=/trunk/kdebase/kwin/; revision=38549
2000-01-17 01:27:32 +00:00
Waldo Bastian
7077776bb1 WABA: Use KCmdLineArgs
svn path=/trunk/kdebase/kwin/; revision=38160
2000-01-12 15:08:42 +00:00
Matthias Ettrich
c772a8e8a2 new transients as well
svn path=/trunk/kdebase/kwin/; revision=37997
2000-01-10 03:49:49 +00:00
Matthias Ettrich
8460a9ad3e make transients sticky when their main window becomes sticky
svn path=/trunk/kdebase/kwin/; revision=37996
2000-01-10 03:47:30 +00:00
Stephan Kulow
39ef01ccbe some write more portable Makefiles than others :)
svn path=/trunk/kdebase/kwin/; revision=37819
2000-01-08 17:15:29 +00:00
Daniel M. Duley
a6cc2d48ab Opps, forgot to get rid of an annoying warning :P
svn path=/trunk/kdebase/kwin/; revision=37504
2000-01-03 13:16:39 +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
Kurt Granroth
4e650b8d0f fixed typo
svn path=/trunk/kdebase/kwin/; revision=37447
1999-12-30 22:46:45 +00:00