Commit graph

53 commits

Author SHA1 Message Date
Script Kiddy
1d95469d9f CVS_SILENT made messages
svn path=/trunk/kdelibs/kstyles/; revision=81120
2001-02-03 03:09:32 +00:00
Harri Porten
2bfe4742b6 explicit double to int conversion
svn path=/trunk/kdebase/kwin/; revision=77261
2001-01-10 13:13:00 +00:00
David Faure
44a694a004 CVS_SILENT lib_ -> kde_module_
svn path=/trunk/kdebase/kwin/; revision=73405
2000-12-04 18:47:47 +00:00
Rik Hemsley
11edd19291 Fix texture colours for buttons.
svn path=/trunk/kdebase/kwin/; revision=69460
2000-10-31 03:23:22 +00:00
Rik Hemsley
907efe6764 Use QLayout::activate(). Looks like I found one of the rare cases where
it's essential. This fixes some bad redraws of the titlebar in certain
hard-to-reproduce circumstances.

svn path=/trunk/kdebase/kwin/; revision=69459
2000-10-31 02:48:56 +00:00
Rik Hemsley
8f79309f44 Minor fixes
svn path=/trunk/kdebase/kwin/; revision=69147
2000-10-28 02:50:47 +00:00
Rik Hemsley
91d2ddc0fc New anim for qwertz, it's no. 2, so IconifyAnimationStyle=2 in [WM]
section of kdeglobals will enable it.

svn path=/trunk/kdebase/kwin/; revision=69146
2000-10-28 02:32:07 +00:00
Rik Hemsley
0ed57b61e0 Let's allow people to play with the new animation(s).
In [WM] section of kdeglobals, add IconifyAnimationStyle=1 to see the
first new animation. (you should change wm style away from, then back
to, RISC OS, if you're already running it)

svn path=/trunk/kdebase/kwin/; revision=69144
2000-10-28 01:49:42 +00:00
Rik Hemsley
abd2f3d6fd Textures for buttons too. Necessary now that titlebar can be large
enough for you to see them. Oh yes, the titlebar now changes size
with your font size. See http://www.geoid.clara.net/silly.jpg for
a (silly) example of this. This is in fact an essential feature
IMO, for people who can't read titlebar text at the restricted
sizes that the other styles allow.

New funky iconify animation, but I haven't made it available via
a config key yet, so you can't use it :P

svn path=/trunk/kdebase/kwin/; revision=69021
2000-10-27 02:16:14 +00:00
Rik Hemsley
025cb620a3 No debug info
svn path=/trunk/kdebase/kwin/; revision=68517
2000-10-21 22:55:28 +00:00
Rik Hemsley
2c22ab197d Use active font for inactive windows since we don't get correct font
from options. Temporary work-around.

svn path=/trunk/kdebase/kwin/; revision=68512
2000-10-21 22:05:42 +00:00
Rik Hemsley
c2f73a1d13 Typo fixed (button alignment was set incorrectly and black lines were
missing sometimes)
Added 'ToolManager' class. Still haven't found any apps that set
WStyle_Tool on any windows, so it's untested.

svn path=/trunk/kdebase/kwin/; revision=68501
2000-10-21 18:51:08 +00:00
David Faure
5dd80c3b56 +#include <config.h> // for usleep on non-linux platforms
i.e. Tru64. Showstopper (breaks compilation)......

svn path=/trunk/kdebase/kwin/; revision=68077
2000-10-17 08:15:00 +00:00
Rik Hemsley
b8e9f83e81 Use a different iconify/restore style to the default, because the
default is too slow and flickery.

svn path=/trunk/kdebase/kwin/; revision=67690
2000-10-14 23:45:05 +00:00
David Faure
7af716f924 #undef Bool for enable-final, reported by Thomas Leitner
svn path=/trunk/kdebase/kwin/; revision=67246
2000-10-11 20:39:24 +00:00
Rik Hemsley
8c7cbff386 Bugfix to make button glyphs the correct colours.
Small cleanup of design w.r.t. signals/slots

svn path=/trunk/kdebase/kwin/; revision=67219
2000-10-11 17:21:49 +00:00
Rik Hemsley
0a27e45f56 This should answer those bug reports about not being able to configure the
button order on the titlebar, for the RISC OS theme at least.

I now have [Sticky][(Help)].....Title.......[Iconify][Maximise][Close].
Much more sensible than the stupid RISC OS layout.

svn path=/trunk/kdebase/kwin/; revision=67108
2000-10-10 22:03:50 +00:00
Rik Hemsley
b753c43345 pixmap fix
svn path=/trunk/kdebase/kwin/; revision=66125
2000-10-02 03:07:38 +00:00
Rik Hemsley
72a25cf5d9 Slight alteration to button hiding algorithm
svn path=/trunk/kdebase/kwin/; revision=66001
2000-10-01 15:40:29 +00:00
Rik Hemsley
aae66499b9 Texture on resize bar handles
Changed shapes of close and sticky button pix.
Real transparency for button pix instead of pseudo.

svn path=/trunk/kdebase/kwin/; revision=65998
2000-10-01 15:30:04 +00:00
Rik Hemsley
4a55be4548 I like this method of setting colours for the resize bar better, seeing
as there's no way to set it via kcontrol

svn path=/trunk/kdebase/kwin/; revision=65989
2000-10-01 14:48:40 +00:00
Rik Hemsley
6fc8ad8af5 Textured titlebar. Looks very cool in all colour schemes. This is how
RISC OS looks, and I had this working before, but I fixed it so it works
nicely now.

svn path=/trunk/kdebase/kwin/; revision=65633
2000-09-28 14:29:57 +00:00
Rik Hemsley
4aeea37d93 Use configured font for inactive titlebar text
svn path=/trunk/kdebase/kwin/; revision=65567
2000-09-28 00:39:22 +00:00
Rik Hemsley
22a5becbc5 Nicer glyphs for titlebar. Added sticky and context help buttons.
svn path=/trunk/kdebase/kwin/; revision=65557
2000-09-27 22:51:57 +00:00
Rik Hemsley
3e5e774e10 Many behavioural fixes and new glyphs for buttons.
Still need to do sticky and help buttons.

svn path=/trunk/kdebase/kwin/; revision=65548
2000-09-27 21:33:15 +00:00
Matthias Ettrich
6dacbd0112 tool window handling for the default style
visible dialogs for stays-on-top fullscreen windows (helps with Konqueror's dialogs)
Fixed lock with Alt-Tab box plus accelerator

svn path=/trunk/kdebase/kwin/; revision=65241
2000-09-25 15:30:51 +00:00
Script Kiddy
faed83eace CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=64906
2000-09-24 05:05:45 +00:00
Waldo Bastian
5e3b53660d WABA: Fixed #8656 kwin titlebar: doubleclick does not maximize
if (titlebar->geometry().contains( e->pos() ) )
-        setShade( !isShade() );
+       workspace()->performWindowOperation( this, options->operationTitlebarDblClick() );
     workspace()->requestFocus( this );

svn path=/trunk/kdebase/kwin/; revision=63485
2000-09-11 03:34:01 +00:00
Rik Hemsley
6a49e57aa8 blah, I screwed up with some sticky date stuff, somehow.
svn path=/trunk/kdebase/kwin/; revision=57067
2000-07-15 11:27:55 +00:00
Rik Hemsley
4c8257e2ad Default theme, first draft.
svn path=/trunk/kdebase/kwin/; revision=57032
2000-07-15 06:59:08 +00:00
Michael Matz
160a2d549b Away with the *.moc.* files.
svn path=/trunk/kdebase/kwin/; revision=54907
2000-06-29 21:36:40 +00:00
Waldo Bastian
ebbf5fe55c WABA: Use $(KDE_PLUGIN) for plugins and let them link against kwin.{la|so}
svn path=/trunk/kdebase/kwin/; revision=49722
2000-05-16 23:10:41 +00:00
Simon Hausmann
a3e3579d21 - make it compile ;-)
svn path=/trunk/kdebase/kwin/; revision=49150
2000-05-11 08:29:47 +00:00
Rik Hemsley
0d91340735 Fixed some silliness.
Removed more layout code.

svn path=/trunk/kdebase/kwin/; revision=49145
2000-05-11 04:17:35 +00:00
Rik Hemsley
baa151afb3 Many fixes to RISC OS client. Still needs major work to be perfect.
Changed spaces to tab for ettrich in client.cpp ;)
Changed something that looked like it was trying to do manhattanLength()
so it actually does.

svn path=/trunk/kdebase/kwin/; revision=49144
2000-05-11 03:52:24 +00:00
Rik Hemsley
69c7133c9d Temporary, unsatisfactory fix for alt-drag freezing kwin and just about
everything else. kwin assumes you want it to mess with the cursor, and
provide edge-based resize etc. You can't override it easily. In fact,
I still haven't found out how.

svn path=/trunk/kdebase/kwin/; revision=49114
2000-05-10 19:55:13 +00:00
Stephan Kulow
5029a1389a C++
svn path=/trunk/kdebase/kwin/; revision=49111
2000-05-10 19:24:48 +00:00
Rik Hemsley
297651e2c3 Understand more about edge-based clients and act appropriately, passing
info along to kdesktop too.

This is funky now :)

svn path=/trunk/kdebase/kwin/; revision=48377
2000-05-04 23:12:29 +00:00
Daniel M. Duley
b58843030c Final updates for the new button color implementation. The options class
now only has one button entry, "ButtonBg", instead of 3. It's up to the client
what to do with it. All the clients are updated except mwm. As the
author noted in his README, mwm isn't Motif window manager at all but KStep ;-)
I disabled it for now until there is new drawing code in there, it would
confuse users anyways since were about to release another Krash and it is
identical to KStep.

Also, I removed the Groove and GrooveText color entries. We now use the
normal TitleBar and Font entries. Hence system will probably look funny until
you adjust the colors since it draws text on the frame and not the titlebar
bg. All the rest look much better by default.

To configure button colors set the active/inactive button background color
in KControl. I'll remove the other entries ASAP. You'll also note that the
active/inactive colors are now actually what you would expect.

svn path=/trunk/kdebase/kwin/; revision=47753
2000-04-28 15:53:00 +00:00
Rik Hemsley
1f394879df Colour change
svn path=/trunk/kdebase/kwin/; revision=46770
2000-04-16 08:56:32 +00:00
Rik Hemsley
6f2db8d4c7 Code from Utils.* moved into Static.*
Removed link testing and debug flags from Makefile.am

Some magic to give a nice 3D look even when specified background colour
is dark (looks good with NeXT colour scheme now).

BTW, what's the point in translating 'RISC OS' ? It's a brand name,
like IBM.

svn path=/trunk/kdebase/kwin/; revision=46360
2000-04-12 00:13:14 +00:00
Rik Hemsley
84e0076486 Noted mouse bindings for resize bar handles.
svn path=/trunk/kdebase/kwin/; revision=46234
2000-04-10 17:22:01 +00:00
Rik Hemsley
7d7e9df7fc * Removed all pixmaps. All drawing is now done with code.
* Implemented colour scheme support, including antialising of symbols
  and coloured edges to 3d items.

* Increased speed and reduced memory usage.

* Implemented raising when button-down on resize bar, unless you use
  the middle/right buttons, in which case you can resize without raising.

svn path=/trunk/kdebase/kwin/; revision=46233
2000-04-10 17:18:21 +00:00
Rik Hemsley
15b9b5a736 Removed warnings when not compiling with -Wno-unused
svn path=/trunk/kdebase/kwin/; revision=45186
2000-03-30 22:07:31 +00:00
Rik Hemsley
ae5a4da15b Added note about titlebar mouse bindings
svn path=/trunk/kdebase/kwin/; revision=45179
2000-03-30 20:42:55 +00:00
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
2000-03-30 01:34:18 +00:00
Rik Hemsley
e81a5b7317 Now active titlebar is black, NeXT-style. Very good contrast ! :)
svn path=/trunk/kdebase/kwin/; revision=45107
2000-03-30 00:43:51 +00:00
Rik Hemsley
53c778c728 These have been renamed for consistency.
svn path=/trunk/kdebase/kwin/; revision=45100
2000-03-29 23:32:37 +00:00
Rik Hemsley
0e4b07d820 Changed titlebar pixmap to something very subtle.
Screenshot at http://www.geoid.clara.net/riscos.png

Next thing to do is to remove the lines of the title pixmap where
they pass under the text, fading them out as they approach the text.
I'd also like higher contrast between active and inactive, so the
active title might turn black (I'm a NeXT addict)

svn path=/trunk/kdebase/kwin/; revision=45099
2000-03-29 23:31:22 +00:00
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
2000-03-29 17:07:43 +00:00