Commit graph

70 commits

Author SHA1 Message Date
Waldo Bastian
ac5556a78d Don't crash on divisions by zero.
svn path=/trunk/kdebase/kwin/; revision=98171
2001-05-21 23:02:38 +00:00
Karol Szwed
d551bc8c15 Small repaint fix
svn path=/trunk/kdebase/kwin/; revision=96611
2001-05-12 07:57:55 +00:00
Waldo Bastian
57f4808d0f Make resource management in clients easier with these three functions:
init() called after client got loaded
deinit() called when client is about to get unloaded
reset() called once before Options::resetClients() is emitted

svn path=/trunk/kdebase/kwin/; revision=93372
2001-04-22 05:39:17 +00:00
Luboš Luňák
b6c55170ed Breaking BC in KWin again in order to keep BC for plugins. I forgot
a few private pointers *slap self*.

svn path=/trunk/kdebase/kwin/; revision=92998
2001-04-20 07:19:03 +00:00
Daniel M. Duley
eeb5bb19e3 New KWM theme client stuff, as described in my earlier email to core-devel
svn path=/trunk/kdebase/kwin/; revision=84131
2001-02-23 22:10:30 +00:00
Waldo Bastian
2f90225543 Put stuff in KWinInternal namespace.
Export client.h, workspace.h and options.h so that people can write plugins.

svn path=/trunk/kdebase/kwin/; revision=83707
2001-02-20 01:20:38 +00:00
Daniel M. Duley
5f356d8628 Improved titlebar buffering.
Are these commits going into the KDE2.1final, or do I need to do
something special?

svn path=/trunk/kdebase/kwin/; revision=81613
2001-02-06 22:16:17 +00:00
Waldo Bastian
0ea8e539a5 Attempt to fix the drawing stuff. Resizing a window still fails to redraw
large parts of the window decorations.

svn path=/trunk/kdebase/kwin/; revision=79948
2001-01-24 23:53:37 +00:00
Waldo Bastian
692efa5cde Don't crash when making window sticky/maximized without a sticky/maximized button.
svn path=/trunk/kdebase/kwin/; revision=79649
2001-01-22 23:30:08 +00:00
Waldo Bastian
922162fad0 Don't crash on missing pixmaps.
svn path=/trunk/kdebase/kwin/; revision=78489
2001-01-16 23:52:11 +00:00
Waldo Bastian
4ab7a90097 WABA: Listen to resetClients()
svn path=/trunk/kdebase/kwin/; revision=78463
2001-01-16 21:45:23 +00:00
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
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
Michael Matz
160a2d549b Away with the *.moc.* files.
svn path=/trunk/kdebase/kwin/; revision=54907
2000-06-29 21:36:40 +00:00
Daniel M. Duley
0ae123ceef Cool new Kwin C++ style engine - Modern system :) This uses buttons orignally
from the KStyle aqua theme - color reduced, converted to bitmaps, and drawn
using the color scheme. The buttons in different color schemes shows why it's
really cool to support dynamic C++ engines as well as pixmap themes ;-) Also
uses a small frame with a resize handle and mac-like (hehe - of course ;-)
drawing for everything else.

Preliminary screenshots with different color schemes are at:
http://www.mosfet.org/modern-0428.html

svn path=/trunk/kdebase/kwin/; revision=47624
2000-04-27 11:29:25 +00:00
Daniel M. Duley
8e6fb39db3 Much, much faster. This used to be mostly KWM's theme code hacked into a KWin
client, which used matrixes and QPainter drawPixmap stuff. Now all that is
gone and it's almost entirely bitBlts.

Still buggy tho, so I'm keeping it disabled for now - but now it's
fast and buggy so I guess that should count for something ;-)

svn path=/trunk/kdebase/kwin/; revision=45235
2000-03-31 19:10:22 +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