Commit graph

446 commits

Author SHA1 Message Date
Dirk Mueller
375f175fbb CVSSILENT: fixincludes
svn path=/trunk/kdebase/khotkeys/; revision=129081
2001-12-29 17:33:05 +00:00
Michael Matz
25d1c5368d Default arguments in definitions are invalid C++.
svn path=/trunk/kdebase/kwin/; revision=120526
2001-11-03 01:21:40 +00:00
Luboš Luňák
5976109bbc It was actually more a KImageEffect, so after fixing it this hack isn't needed.
svn path=/trunk/kdebase/kwin/; revision=119987
2001-10-30 18:31:52 +00:00
Luboš Luňák
7e8a0fc428 Workaround for a Qt bug.
svn path=/trunk/kdebase/kwin/; revision=119819
2001-10-29 15:29:14 +00:00
Dirk Mueller
efa9424b30 KStyle -> QStyle
svn path=/trunk/kdebase/kwin/; revision=118310
2001-10-17 12:21:38 +00:00
David Faure
7962136939 CVS_SILENT fixheaders
svn path=/trunk/kdebase/kwin/; revision=117488
2001-10-12 12:29:15 +00:00
Dirk Mueller
6594c2bf5c CVS_SILENT: fixincludes
svn path=/trunk/kdebase/kmenuedit/; revision=117153
2001-10-10 16:31:48 +00:00
Karol Szwed
003eab093b Adding resize handle configuration patch by Melchior Franz.
svn path=/trunk/kdebase/kwin/; revision=117114
2001-10-10 10:50:07 +00:00
Fredrik Höglund
372afd2293 Made the system client compile when QT_NO_COMPAT is defined
svn path=/trunk/kdebase/kwin/; revision=115984
2001-09-30 21:02:06 +00:00
Fredrik Höglund
16a15bc404 Made the redmond client compile when QT_NO_COMPAT is defined
svn path=/trunk/kdebase/kwin/; revision=115983
2001-09-30 21:00:39 +00:00
Fredrik Höglund
1015568de5 Made the quartz client compile when QT_NO_COMPAT is defined
svn path=/trunk/kdebase/kwin/; revision=115982
2001-09-30 20:58:35 +00:00
Fredrik Höglund
df9a60eb44 Made the mwm client compile when QT_NO_COMPAT is defined
svn path=/trunk/kdebase/kwin/; revision=115981
2001-09-30 20:57:19 +00:00
Fredrik Höglund
d543923d46 Made the laptop client compile when QT_NO_COMPAT is defined
svn path=/trunk/kdebase/kwin/; revision=115980
2001-09-30 20:56:07 +00:00
Fredrik Höglund
1136576179 Made the kstep client compile when QT_NO_COMPAT is defined
svn path=/trunk/kdebase/kwin/; revision=115978
2001-09-30 20:54:35 +00:00
Fredrik Höglund
f4de058b7b Made the kde1 client compile when QT_NO_COMPAT is defined
svn path=/trunk/kdebase/kwin/; revision=115977
2001-09-30 20:52:59 +00:00
Fredrik Höglund
d4d8c39824 Made the icewm client compile when QT_NO_COMPAT is defined
svn path=/trunk/kdebase/kwin/; revision=115975
2001-09-30 20:51:20 +00:00
Fredrik Höglund
b6df0940fa This is a quick hack to get kwmthemes working in the upcoming alpha release.
- Temporarily disabled use of the stretchPixmap() function because it
  loses the pixmap mask, causing KWin to segfault.
  (This will just make some themes a bit slower)
- Fixed the border drawing problem reported by Vadim Plessky on kde-devel.
- Fixed a titlebar shade/un-shade flicker problem.
- Made the client compile when QT_NO_COMPAT is defined.

svn path=/trunk/kdebase/kwin/; revision=115973
2001-09-30 20:29:21 +00:00
Fredrik Höglund
df1676cdfe Make the default client compile with QT_NO_COMPAT defined.
svn path=/trunk/kdebase/kwin/; revision=115626
2001-09-27 04:27:42 +00:00
Karol Szwed
128d006be8 - Shade/Un-Shade titlebar flicker fix.
svn path=/trunk/kdebase/kwin/; revision=114659
2001-09-18 11:43:37 +00:00
Karol Szwed
1ae5edec31 - Shade/Un-Shade titlebar flicker fix.
svn path=/trunk/kdebase/kwin/; revision=114657
2001-09-18 11:38:08 +00:00
Karol Szwed
119c21ca83 - Shade/Un-Shade titlebar flicker fix.
svn path=/trunk/kdebase/kwin/; revision=114656
2001-09-18 11:32:23 +00:00
Karol Szwed
bbdfd0193a - Shade/Un-Shade titlebar flicker fix.
svn path=/trunk/kdebase/kwin/; revision=114652
2001-09-18 11:12:21 +00:00
Henning Burchardt
a06d4a5577 Moved glow style from kdebase to kdeartwork.
svn path=/trunk/kdebase/kwin/; revision=114608
2001-09-17 20:13:28 +00:00
Simon Hausmann
1b483dc36e - make it compile
svn path=/trunk/kdebase/kwin/; revision=114519
2001-09-17 07:32:33 +00:00
Henning Burchardt
0ed65060a7 added config directory as SUBDIR
svn path=/trunk/kdebase/kwin/; revision=114497
2001-09-17 00:15:44 +00:00
Henning Burchardt
0e06f229cf Added a configuration library for the glow style. For now, one can only
adjust the glow color of the title buttons.

svn path=/trunk/kdebase/kwin/; revision=114496
2001-09-17 00:14:38 +00:00
Henning Burchardt
0c3d123a45 - global pixmaps are deleted when the glow decoration is unloaded
- reread config and recreate pixmaps on reset

svn path=/trunk/kdebase/kwin/; revision=114495
2001-09-17 00:09:59 +00:00
Henning Burchardt
5b3e00c28a - you can now set in GlowButtonFactory (with 'setSteps') how many pixmaps are
used to create the glow effect

svn path=/trunk/kdebase/kwin/; revision=114494
2001-09-17 00:06:34 +00:00
Rik Hemsley
b5c7e843fe Don't know if these masking fixes are necessary anymore now that QPixmap
is 'fixed' - but they don't do any harm, so they go in anyway.

svn path=/trunk/kdebase/kwin/; revision=114434
2001-09-16 09:26:29 +00:00
Henning Burchardt
85baad95f1 svn path=/trunk/kdebase/kwin/; revision=114199 2001-09-14 12:16:51 +00:00
Laurent Montel
4ef029256c QList -> QPtrList
QArray -> QMemArray

svn path=/trunk/kdebase/kwin/; revision=113976
2001-09-11 06:53:46 +00:00
Karol Szwed
354bd37bdb - Hopefully all remaining titlebar flicker is gone for good
svn path=/trunk/kdebase/kwin/; revision=113889
2001-09-10 11:38:08 +00:00
Karol Szwed
23eeb11064 - Fix unpainted areas when shaded
svn path=/trunk/kdebase/kwin/; revision=113873
2001-09-10 05:57:43 +00:00
Karol Szwed
84ae6d018b - Fixing the menu button so that it doesn't show a toolbar button with a
dropdown menu extension arrow as provided by qt3.

svn path=/trunk/kdebase/kwin/; revision=113676
2001-09-08 10:45:49 +00:00
Karol Szwed
37ca2626bd - Removes all ugly flicker
- Adds a config option allowing frames to be drawn using the titlebar
  colors just like in Quartz (feature request)

svn path=/trunk/kdebase/kwin/; revision=113673
2001-09-08 10:12:23 +00:00
Adrian Schroeter
4106f298c6 revert to 1.4 code
svn path=/trunk/kdebase/kwin/; revision=112134
2001-08-27 20:53:51 +00:00
Adrian Schroeter
15fde704ed cleanup
svn path=/trunk/kdebase/kwin/; revision=112036
2001-08-27 08:57:41 +00:00
Karol Szwed
349c87a545 Make the inactive help button color follow the inactive button color
set in kcontrol, not the active button color.

svn path=/trunk/kdebase/kwin/; revision=111338
2001-08-22 11:18:56 +00:00
Karol Szwed
bebd8a5f08 - Fixing the inactive minimize button color not following the inactive button
colors.
- Adding custom button position code
- Small code cleanups

svn path=/trunk/kdebase/kwin/; revision=111330
2001-08-22 10:11:06 +00:00
Simon Hausmann
cd76120586 - die Bool, long live qvariant
svn path=/trunk/kdebase/kwin/; revision=110970
2001-08-18 23:51:08 +00:00
Simon Hausmann
5ee6942907 - die Bool, die. once and forever :)
svn path=/trunk/kdebase/kwin/; revision=110969
2001-08-18 23:44:37 +00:00
Simon Hausmann
d562a693d1 - another Bool fix for qt3, qt2, final and no-final. maybe we should
just include qvariant.h in config.h ;) (j/k)

svn path=/trunk/kdebase/kwin/; revision=110968
2001-08-18 23:38:13 +00:00
Simon Hausmann
bde39e1e90 - one day we'll just #undef X-Windows and everything will compile
svn path=/trunk/kdebase/kwin/; revision=110967
2001-08-18 23:34:53 +00:00
Dirk Mueller
00f21cf328 same fix here
svn path=/trunk/kdebase/kwin/; revision=110965
2001-08-18 23:25:04 +00:00
Dirk Mueller
0515b43a84 compile fix (stupid X11 #define crap)
svn path=/trunk/kdebase/kwin/; revision=110962
2001-08-18 23:21:42 +00:00
Simon Hausmann
c8f1508b36 - moved netwm.h inclusions after indirect qvariant.h inclusions
(fixes Bool clash)
- missing includes (qcursor,qstyle,qpainter,qvaluelist)
- minor qstyle api fixlet

svn path=/trunk/kdebase/kwin/; revision=110958
2001-08-18 23:06:16 +00:00
Script Kiddy
5f2ca6211f CVS_SILENT made messages
svn path=/trunk/kdebase/kscreensaver/; revision=109165
2001-08-04 22:54:20 +00:00
Script Kiddy
d018a030ac CVS_SILENT made messages
svn path=/trunk/kdebase/ksysguard/; revision=108674
2001-07-31 15:19:34 +00:00
Script Kiddy
3c80134766 CVS_SILENT made messages
svn path=/trunk/kdebase/ksysguard/; revision=108405
2001-07-30 00:48:15 +00:00
Rik Hemsley
f466f726ba My patch, with a nice bugfix from gallium.
svn path=/trunk/kdebase/kwin/; revision=108119
2001-07-28 11:43:50 +00:00
Rik Hemsley
3488880eaf My patch plus a one-liner from gallium which disables gradients for
<= 8bit displays, which seems logical to both of us.

Rik

svn path=/trunk/kdebase/kwin/; revision=108115
2001-07-28 10:59:56 +00:00
Script Kiddy
aeda4f97ad CVS_SILENT made messages
svn path=/trunk/kdebase/ksysguard/; revision=107352
2001-07-23 18:37:54 +00:00
John Firebaugh
8939fcff13 Don't crash when mousing over certain icons.
svn path=/trunk/kdebase/kwin/; revision=107192
2001-07-22 16:34:30 +00:00
Script Kiddy
550dbe5c84 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=106787
2001-07-19 06:37:05 +00:00
Karol Szwed
758f09657c Finalising name change from Win2K to Redmond
svn path=/trunk/kdebase/kwin/; revision=106294
2001-07-16 07:23:31 +00:00
Karol Szwed
476327e9ee Changing the Win2K client name to Redmond
svn path=/trunk/kdebase/kwin/; revision=106290
2001-07-16 06:56:39 +00:00
Karol Szwed
0980570ecc Changing the Win2K kwin client to Redmond to avoid confusion. Will
remove Win2K shortly.

svn path=/trunk/kdebase/kwin/; revision=106289
2001-07-16 06:53:11 +00:00
Karol Szwed
e71d890e36 Changing email address to one that is not expiring in the near future. :)
svn path=/trunk/kdebase/kwin/; revision=106170
2001-07-15 12:15:41 +00:00
Meni Livne
2c366e2d8e Adding insertCalatogue() calls enabling to show translated messages.
svn path=/trunk/kdebase/kwin/; revision=106169
2001-07-15 12:14:54 +00:00
Lukáš Tinkl
1540b2bf62 missing messages targets, adjusted naming for gallium's ease
svn path=/trunk/kdebase/kwin/; revision=105753
2001-07-12 11:56:22 +00:00
Lukáš Tinkl
c10f1428ce on behalf of soon-to-be-killed gallium ;)
svn path=/trunk/kdebase/kwin/; revision=105751
2001-07-12 11:33:39 +00:00
Karol Szwed
ad4b252724 Fixing a few little cosmetic problems.
svn path=/trunk/kdebase/kwin/; revision=104911
2001-07-04 06:52:50 +00:00
Karol Szwed
d2659d405d Adding license to code source.
Fix to ensure the titlebar isn't drawn when titleBarHeight <= 0.

svn path=/trunk/kdebase/kwin/; revision=104680
2001-07-02 05:37:25 +00:00
Karol Szwed
dc2ddc90da Adding license to the code source.
Small fixes to make theme list box update when a theme is added/removed.

svn path=/trunk/kdebase/kwin/; revision=104679
2001-07-02 05:35:31 +00:00
Ralf Nolden
278c511d4f this is the actual bugfix from Gallium for the window decorations. This is
his part of the patch, works fine but there's just the re-check needed to
be added so when the effect for tooltips changes, the deco's tooltips take
this as well. There are no new strings except the Un-Sticky tooltip, all
others are translated. thd@kde.org agreed on the strings.

svn path=/trunk/kdebase/kwin/; revision=104585
2001-07-01 10:10:17 +00:00
Ralf Nolden
1181077815 !$%&@#
svn path=/trunk/kdebase/kwin/; revision=103681
2001-06-24 17:12:39 +00:00
Waldo Bastian
654ff63bee Added kwmtheme
svn path=/trunk/kdebase/kwin/; revision=103631
2001-06-24 06:15:14 +00:00
Waldo Bastian
5ccd32af44 ^&$^*#$^&@
svn path=/trunk/kdebase/kwin/; revision=103630
2001-06-24 06:10:59 +00:00
Rik Hemsley
5a214d04c6 Changes as posted on list, but no-one tested, so here goes nothing.
svn path=/trunk/kdebase/kwin/; revision=103533
2001-06-23 15:53:07 +00:00
David Faure
ca6ab94cda system
svn path=/trunk/kdebase/kwin/; revision=103162
2001-06-20 11:44:38 +00:00
David Faure
ed52142183 Neil Stevens said he would maintain this one.
svn path=/trunk/kdebase/kwin/; revision=103161
2001-06-20 11:42:49 +00:00
Lennart Kudling
ebd1de8b7e added this nice code and made _IMPORTANT_ modifications, so that it's
copyrighted by Mosfet and me. :)

svn path=/trunk/kdebase/kwin/; revision=103158
2001-06-20 11:17:03 +00:00
Ralf Nolden
9e2efbc41c updated subdirs
----------------------------------------------------------------------

svn path=/trunk/kdebase/kwin/; revision=103042
2001-06-19 15:27:49 +00:00
Ralf Nolden
5781bbadac readded modernsystem style as that is needed by kpersonalizer. Gallium
takes over maintenance and there are several additions and changes from
Melchior Franz anyway

svn path=/trunk/kdebase/kwin/; revision=103041
2001-06-19 15:26:48 +00:00
David Faure
e2ad16e509 b2
svn path=/trunk/kdebase/kwin/; revision=103030
2001-06-19 14:34:57 +00:00
David Faure
c782732ce9 There it goes again. This time for good.
This code is opensource, we have every right to distribute it as part of KDE.

svn path=/trunk/kdebase/kwin/; revision=103029
2001-06-19 14:32:08 +00:00
Daniel M. Duley
11e5ed61c2 See my earlier mail.
svn path=/trunk/kdebase/kwin/; revision=102970
2001-06-19 06:02:53 +00:00
Daniel M. Duley
4232fe0ae2 Nope
svn path=/trunk/kdebase/kwin/; revision=102955
2001-06-19 02:40:24 +00:00
Michael Matz
fd2b635e45 build B2
svn path=/trunk/kdebase/kwin/; revision=102785
2001-06-18 02:18:04 +00:00
Michael Matz
10af9bc3a2 Putting the pixmaps into an array, which was TODO from the beginning ;-)
svn path=/trunk/kdebase/kwin/; revision=102784
2001-06-18 02:15:36 +00:00
Michael Matz
7c239c69ba No sir. This one stays.
svn path=/trunk/kdebase/kwin/; revision=102782
2001-06-18 01:59:02 +00:00
Daniel M. Duley
29af54215b Removing the styles I wrote except the default one, and will be maintaining
them outside of CVS.

svn path=/trunk/kdebase/kwin/; revision=102431
2001-06-16 00:48:49 +00:00
Dirk Mueller
86cdafb883 small cleanup - no functional change
svn path=/trunk/kdebase/kwin/; revision=102227
2001-06-14 23:55:44 +00:00
Rik Hemsley
d8ba9584a1 Fixed off-by-one error in mousePosition()
svn path=/trunk/kdebase/kwin/; revision=101425
2001-06-10 21:59:22 +00:00
Rik Hemsley
71618ff55c Hey gallium, this patch makes it look cool in black.
You disappeared off IRC, so I'll check this in and you can revert
if you hate it :)

svn path=/trunk/kdebase/kwin/; revision=101323
2001-06-10 13:37:12 +00:00
Karol Szwed
ba45a39fa5 Make the titlebar gradient colors follow Options::TitleBlend as well.
This one is for Kand-ALF :)

svn path=/trunk/kdebase/kwin/; revision=101318
2001-06-10 13:06:05 +00:00
Karol Szwed
572cfb125f Making titlebar double click follow kcontrol window conveentions.
Added missing mousePosition() function.

svn path=/trunk/kdebase/kwin/; revision=101314
2001-06-10 12:27:26 +00:00
Karol Szwed
096025d7ed Renaming "foo Decoration Settings" to "Decoration Settings" to remove
redundancy in the config modules.

svn path=/trunk/kdebase/kwin/; revision=101301
2001-06-10 11:05:15 +00:00
Karol Szwed
97b0ee49e1 Default style update:
- Modifying the default style to use the new kwin plugin interface for proper
  resource management.
- The new default style looks nearly the same, but adds several nice features
  such as titlebar height and button position customisation among others,
  and adds a config module for configuration.
- kwin plugin loader modified to reflect the new default plugin change. The
  old default will be removed shortly.
- oh, and never ever flicker :)

svn path=/trunk/kdebase/kwin/; revision=100839
2001-06-07 11:35:06 +00:00
Karol Szwed
3ecb89d03f Removed some unused headers, and made titlebar buttons visible
on isMinimizable() and isMaximizable()

svn path=/trunk/kdebase/kwin/; revision=100360
2001-06-04 12:32:26 +00:00
Karol Szwed
2333114db6 - Changed from using kwinrc to kwinicewmrc not to clutter kwin's config
- Added missing stickyChange(bool) since this client was based on Quartz
- Minimised shade animation flicker (all unpainted areas are painted now)
- Code cleanup
- some other things I probably can't remember anymore :)

svn path=/trunk/kdebase/kwin/; revision=100352
2001-06-04 11:49:35 +00:00
Karol Szwed
b48692a6c4 - Removed some shading flicker
- Paints all uncovered areas when a window is shaded

svn path=/trunk/kdebase/kwin/; revision=100339
2001-06-04 10:11:21 +00:00
Karol Szwed
ea93dcc2a4 - Follows stickyChange(bool) now - I should be shot for basing quartz on win2k
- Uses its own config file "kwinquartzrc" not to clutter kwinrc
- Fixed an unpainted area problem when windows are shaded

svn path=/trunk/kdebase/kwin/; revision=100337
2001-06-04 09:51:23 +00:00
Karol Szwed
e7a3ecfd82 Added patch by Melchior to move the [ModernSystem] section in the kwinrc
file into kwinmodernsysrc

svn path=/trunk/kdebase/kwin/; revision=99266
2001-05-29 07:10:17 +00:00
Lennart Kudling
35263f3b77 add mwm at last
svn path=/trunk/kdebase/kwin/; revision=98910
2001-05-26 20:56:32 +00:00
Lennart Kudling
fa39ba305a it basically works now
svn path=/trunk/kdebase/kwin/; revision=98909
2001-05-26 20:56:20 +00:00
Karol Szwed
2ade4cc7ec Small code cleanups and window border color config option added.
svn path=/trunk/kdebase/kwin/; revision=98802
2001-05-26 02:34:47 +00:00
Karol Szwed
1e7469d54e Fixed several bugs:
- When titlebutton pixmaps totally cover a toolbutton, they are
	  moved by a (1,1) offset when clicked so users have a visual prompt
	  that they are attempting to click the button. (i.e. for MGBreizh theme)
	- Titlebar buttons follow isMinimizable() and isMaximizable() and
	  are hidden when not required
	- Sticky button is drawn correctly now
	- Made shading animation nice and smooth

svn path=/trunk/kdebase/kwin/; revision=98699
2001-05-25 11:17:29 +00:00
Karol Szwed
cba4ba635d Fixed a nasty null pointer reference during window icon change.
svn path=/trunk/kdebase/kwin/; revision=98374
2001-05-23 08:21:29 +00:00
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
Rik Hemsley
678a95dad2 Reverting resize-at-top by malte. Sorry, but this is how I want the
style to be. I don't like styles that let you resize by the top edge.
I want to be able to throw the mouse to the screen top or corners and
hit the buttons or the titlebar so I can iconify, close or move the
window.

svn path=/trunk/kdebase/kwin/; revision=97774
2001-05-19 02:05:58 +00:00
Rik Hemsley
8a597cc22e Don't crash. Thanks to gallium for pointing this out.
svn path=/trunk/kdebase/kwin/; revision=97773
2001-05-19 01:58:07 +00:00
Michael Matz
be37d317bd first search in srcdir, to not depend on installed headers.
-INCLUDES                  = $(all_includes) -I$(top_srcdir)
+INCLUDES                  = -I$(top_srcdir) $(all_includes)

svn path=/trunk/kdebase/kwin/; revision=97744
2001-05-18 20:22:57 +00:00
Joerg Habenicht
69ae5062c2 bugfix: $(topdir) -> $(top_srcdir)
svn path=/trunk/kdebase/kwin/; revision=97161
2001-05-15 09:52:43 +00:00
Joerg Habenicht
54a3e5f999 added includepath to config.h file in kdebase/kwin
svn path=/trunk/kdebase/kwin/; revision=97153
2001-05-15 08:50:30 +00:00
Malte Starostik
d4304445d5 Support for resizing windows on the top border
svn path=/trunk/kdebase/kwin/; revision=96759
2001-05-13 06:58:29 +00:00
Karol Szwed
070353f3f5 Adding a few cleanups by Melchior
svn path=/trunk/kdebase/kwin/; revision=96754
2001-05-13 05:47:49 +00:00
Malte Starostik
dc874cdc2f Use the standard kwin button order configuration instead of an own one
svn path=/trunk/kdebase/kwin/; revision=96753
2001-05-13 05:19:20 +00:00
Karol Szwed
d551bc8c15 Small repaint fix
svn path=/trunk/kdebase/kwin/; revision=96611
2001-05-12 07:57:55 +00:00
Dirk Mueller
f3afb04224 small compile fix
svn path=/trunk/kdebase/kwin/; revision=96488
2001-05-11 19:34:04 +00:00
Rik Hemsley
4d7a390e7e Add web subdir
svn path=/trunk/kdebase/kwin/; revision=95485
2001-05-06 19:04:56 +00:00
Rik Hemsley
4d3a313221 Web style from my kwin style tutorial. Perhaps this should be in
one of the new 'addon' packages... What were they called...

svn path=/trunk/kdebase/kwin/; revision=95483
2001-05-06 19:03:20 +00:00
Lennart Kudling
4ca78790ee this commit is dedicated to rikkus :P
svn path=/trunk/kdebase/kwin/; revision=95367
2001-05-05 23:16:27 +00:00
Lennart Kudling
33c3749ee6 innovation of the year: make mwm look like mwm.
(some repaint-buglets remain. more work later.)

svn path=/trunk/kdebase/kwin/; revision=95217
2001-05-04 23:45:52 +00:00
Luboš Luňák
f84c7a340a Move the configuration options for custom button positions to kwin from
the plugins. And I even resisted to break BC in kwin again even though
I could :).

svn path=/trunk/kdebase/kwin/; revision=94905
2001-05-03 08:06:28 +00:00
Karol Szwed
0d00fc700a Double-click problems are now hopefully fixed.
Also patched some small drawing bugs when no theme files are present.

svn path=/trunk/kdebase/kwin/; revision=94043
2001-04-26 12:01:31 +00:00
Karol Szwed
306ad95df5 Big overhaul of drawing code. More themes should work perfectly now.
If you had shortened titlebar text, theme problems, or funny stuff with
the titlebar text for small windows, try this version.
Helix, BrushedMetal, ThinSki, Fire95 et al., should work perfect now.
All drawing is now buffered so there's no flicker - ever.

svn path=/trunk/kdebase/kwin/; revision=93891
2001-04-25 10:41:06 +00:00
Karol Szwed
09141d02c3 Adding titlebar button autoshow/autohide when the title width
increases/decreases. This makes small apps like the GIMP look much better,
and allows small windows to be shrunk much smaller than previously
allowed.

svn path=/trunk/kdebase/kwin/; revision=93712
2001-04-24 08:17:17 +00:00
Karol Szwed
60121852e5 Renamed CustomButtonOrder to CustomButtonPositions to make button order
configurable after kwindecoration change.

svn path=/trunk/kdebase/kwin/; revision=93571
2001-04-23 12:05:55 +00:00
Karol Szwed
7bbb0cfa0f Adding support for the IceWM keys ColorActiveTitleBarShadow and
ColorNormalTitleBarShadow as requested by users.

svn path=/trunk/kdebase/kwin/; revision=93566
2001-04-23 11:36:29 +00:00
Karol Szwed
45dea027b3 Added patch by Melchior Franz, which was given the ok by Mosfet.
The patch allows the modsystem handle to be shown / hidden, and
adds a config plugin for kwindecoration where this can be configured.

svn path=/trunk/kdebase/kwin/; revision=93544
2001-04-23 07:37:23 +00:00
Karol Szwed
0b810e5444 Modified to remove any global objects - everything global is simply
a pointer now. Forgot to say "added sticky button" in last commit :)

svn path=/trunk/kdebase/kwin/; revision=93431
2001-04-22 13:06:35 +00:00
Karol Szwed
6e83477642 Removed all static and global objects - everything is dynamic now,
and updated to the new plugin interface.

svn path=/trunk/kdebase/kwin/; revision=93428
2001-04-22 13:00:05 +00:00
Karol Szwed
be5a517b8a Updating my Quartz client by adding customizable button positions, and
converted it to use the new kwin plugin interface.

svn path=/trunk/kdebase/kwin/; revision=93391
2001-04-22 09:31:42 +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
Waldo Bastian
93f4cf1dce No static objects... will add a way to delete this stuff as well.. stay tuned.
svn path=/trunk/kdebase/kwin/; revision=93364
2001-04-22 02:26:16 +00:00
Waldo Bastian
78bc944501 No static objects
svn path=/trunk/kdebase/kwin/; revision=93363
2001-04-22 02:17:08 +00:00
Waldo Bastian
12396373a2 No static objects
svn path=/trunk/kdebase/kwin/; revision=93361
2001-04-22 02:05:16 +00:00
Waldo Bastian
6ea629b81b No static objects.
svn path=/trunk/kdebase/kwin/; revision=93360
2001-04-22 01:59:07 +00:00
Waldo Bastian
90379156ab No static objects.
svn path=/trunk/kdebase/kwin/; revision=93359
2001-04-22 01:53:54 +00:00
Karol Szwed
227e203328 Adding WhatsThis help messages to widgets.
svn path=/trunk/kdebase/kwin/; revision=93207
2001-04-21 08:59:53 +00:00
Karol Szwed
52b0f8ac06 Made the IceWM client and its config plugin more consistant with kwindecoration
svn path=/trunk/kdebase/kwin/; revision=93190
2001-04-21 06:52:45 +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
Luboš Luňák
08e9327f24 use setBackgroundMode( NoBackground ) - reduces flickering and doesn't
seem to cause repaint problems

svn path=/trunk/kdebase/kwin/; revision=92918
2001-04-19 19:31:30 +00:00
Karol Szwed
95ff482ac7 Fixed a small directory creation bug...
svn path=/trunk/kdebase/kwin/; revision=92605
2001-04-18 03:33:01 +00:00
Karol Szwed
ca911cbf0e Cleaned up the code a little bit
svn path=/trunk/kdebase/kwin/; revision=92473
2001-04-17 10:05:05 +00:00
Karol Szwed
a7d491a8b4 Adding my new Gallium-IceWM kwin client, which can directly read IceWM themes.
Go and download some themes from icewm.themes.org! The client has customisable
button positions, and uses my newly added kwindecoration module to configure
its settings. Enjoy!!!

svn path=/trunk/kdebase/kwin/; revision=92316
2001-04-16 14:55:07 +00:00
Rik Hemsley
352086d08b Off-by-one fix for resizebar.
Hide resizebar when window is fixed size.

svn path=/trunk/kdebase/kwin/; revision=91783
2001-04-13 01:51:27 +00:00
Karol Szwed
857e657e3f Added my new Quartz kwin client with support for toolwindows, and updated
my win2k client to support toolwindows as well. Enjoy!

svn path=/trunk/kdebase/kwin/; revision=87420
2001-03-17 11:49:51 +00:00
Dirk Mueller
eae14cbb77 include fixups
svn path=/trunk/kdebase/kcontrol/; revision=85914
2001-03-08 13:25:52 +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
Script Kiddy
6bfb54fe77 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=83062
2001-02-16 03:13:52 +00:00
Waldo Bastian
09595efd93 Implement iconChange().
svn path=/trunk/kdebase/kwin/; revision=83036
2001-02-15 22:48:31 +00:00
Waldo Bastian
6ab086647b Implement iconChange()
svn path=/trunk/kdebase/kwin/; revision=83016
2001-02-15 20:53:22 +00:00
Script Kiddy
60f0c741e0 CVS_SILENT made messages
svn path=/trunk/kdelibs/kstyles/; revision=81664
2001-02-07 03:27:26 +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
Script Kiddy
1d95469d9f CVS_SILENT made messages
svn path=/trunk/kdelibs/kstyles/; revision=81120
2001-02-03 03:09:32 +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
dc0ce11c7b Install kwmtheme
svn path=/trunk/kdebase/kwin/; revision=78490
2001-01-16 23:52:34 +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
Waldo Bastian
6576b45348 Proper error checking.
svn path=/trunk/kdebase/kwin/; revision=78357
2001-01-16 06:17:18 +00:00
Malte Starostik
4e97288705 Added win2k kwin client by Karol Szwed <karlmail@usa.net>
According to him, okayed by Mosfet and Matthias Ettrich,
I add it now to get it in before the freeze as he's got no account (yet)

svn path=/trunk/kdebase/kwin/; revision=77435
2001-01-11 12:24:04 +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
Script Kiddy
29a44aa4bb CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=75305
2000-12-19 23:32:07 +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
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