Commit graph

139 commits

Author SHA1 Message Date
Daniel M. Duley
8d82de546d Added custom mouse position stuff for resizing themed windows. Speed hacks.
There is an error where everything is not redrawn I have to fix, but it's way
faster now ;-)

svn path=/trunk/kdebase/kwin/; revision=74668
2000-12-13 10:21:31 +00:00
Daniel M. Duley
507a315eb2 Okay, we now just store theme pixmaps in the appdata+"/pics", then use locate...
I have no idea why I didn't do this in the first place - must of been drunk or something ;-)

svn path=/trunk/kdebase/kwin/; revision=74577
2000-12-12 17:40:56 +00:00
Daniel M. Duley
8b422dbe29 Small cleanup. I could get rid of the local vs. global pixmap junk... after breakfast ;-)
Also, install the cli_installer if you install this - which you shouldn't yet ;-)

svn path=/trunk/kdebase/kwin/; revision=74568
2000-12-12 15:58:24 +00:00
Daniel M. Duley
c77cf18716 Don't even think of using this yet ;-) Waldo - these keys may not be correct yet,
I need to look at the old KDE1.x theme manager first.

svn path=/trunk/kdebase/kwin/; revision=74567
2000-12-12 15:42:54 +00:00
Daniel M. Duley
e1a5f85d7c Fix compile, get rid of speed hacks that were actually slower, and it isn't
a good idea to use /home/mosfet/... to look for pixmaps (grin ;-)

svn path=/trunk/kdebase/kwin/; revision=74471
2000-12-11 20:27:43 +00:00
Script Kiddy
d226e0de98 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=74367
2000-12-11 10:56:22 +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
Script Kiddy
c2f4dd2032 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=70278
2000-11-08 06:17:50 +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
Waldo Bastian
8f36a1cb5c WABA: Fixed "maximize" with MMB and RMB.
Based on a patch Boudewijn Rempt <boud2@rempt.xs4all.nl>

svn path=/trunk/kdebase/kwin/; revision=69005
2000-10-26 21:56:18 +00:00
Matthias Ettrich
1512bcd09f patch by boud2
svn path=/trunk/kdebase/kwin/; revision=68706
2000-10-23 14:42:16 +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
Daniel M. Duley
420b046646 The old default is now moved to the Laptop style, since they are so similiar
but has so many more bugfixes. So if you liked the old default here it is ;-)

svn path=/trunk/kdebase/kwin/; revision=68367
2000-10-20 01:14:46 +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
Script Kiddy
1e18909d45 CVS_SILENT made messages
svn path=/trunk/kdebase/kscreensaver/; revision=67702
2000-10-15 05:08:42 +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
Script Kiddy
a8a059a53d CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=66638
2000-10-07 05:06:26 +00:00
Script Kiddy
dc66d38dda CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=66420
2000-10-05 02:38:50 +00:00
Rik Hemsley
b753c43345 pixmap fix
svn path=/trunk/kdebase/kwin/; revision=66125
2000-10-02 03:07:38 +00:00
Antonio Larrosa Jimenez
759848b7d3 Removed the minimum width limit imposed by the b2 style by
making the buttons hide when neccesary.
Approved by Mosfet by lack of objection :)

svn path=/trunk/kdebase/kwin/; revision=66109
2000-10-02 01:14:03 +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
Dirk Mueller
6f2dfc1764 Insure++: unused variables
svn path=/trunk/kdebase/kcontrol/; revision=65625
2000-09-28 13:33:08 +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
Rik Hemsley
f0739dbe1f Oh, forgot to check this stuff in. Fixes mouse position detection on
bottom resize bar.

svn path=/trunk/kdebase/kwin/; revision=64974
2000-09-24 10:28:06 +00:00
Script Kiddy
faed83eace CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=64906
2000-09-24 05:05:45 +00:00
Script Kiddy
22f65e14f9 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=63821
2000-09-14 04:50:01 +00:00
Waldo Bastian
493fd295b0 - button[1]->setBitmap(sticky_bits, 8, 8);
+        button[1]->setBitmap(sticky_bits, 10, 10);

Fixes br 10156:
On the desktop, I right-click the title bar of a window and select the KStep
decoration.  Then I click on the `+'' titlebar button to pin the window on all desks.
The button turns empty.  I click again to unpin the window, and, instead
of showing the usual `+'', I get a corrupted button pixmap.

svn path=/trunk/kdebase/kwin/; revision=63501
2000-09-11 05:45:02 +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
Script Kiddy
5c265e015a CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=63221
2000-09-09 04:11:37 +00:00
Daniel M. Duley
2077f51714 Removed note about highcolor usage
svn path=/trunk/kdebase/kwin/; revision=63101
2000-09-08 01:02:13 +00:00
Daniel M. Duley
ee5f19c686 Improved highcolor buttons, and switched to the circular sticky thingy. I'll
post to core-devel in a sec.

svn path=/trunk/kdebase/kwin/; revision=63099
2000-09-08 00:38:29 +00:00
Matthias Ettrich
6a54a209af obey more controlcenter options (mouse actions for frame and titlebar)
svn path=/trunk/kdebase/kwin/; revision=62090
2000-08-28 12:31:16 +00:00
Simon Hausmann
fcfce3bb14 - coolo told me to commit this :) (it's unused)
-static void create_pixmaps();
-QPixmap* kwin_get_menu_pix_hack()
-{
-    create_pixmaps();
-    return menu_pix;
-}
-

svn path=/trunk/kdebase/kwin/; revision=61269
2000-08-16 15:37:36 +00:00
Matthias Ettrich
5b1fb25c55 less flicker for default. Clean-up namespace for classes
(several clients used different versions of the same class 'SystemButton')

svn path=/trunk/kdebase/kwin/; revision=61249
2000-08-16 13:11:21 +00:00