Commit graph

589 commits

Author SHA1 Message Date
Luboš Luňák
81e475c523 Make it possible to find out window type also in createDecoration().
svn path=/trunk/kdebase/kwin/; revision=254816
2003-09-29 11:21:46 +00:00
Luboš Luňák
a406bee353 Let decoration get show/hide events when showing/hiding the frame.
svn path=/trunk/kdebase/kwin/; revision=254814
2003-09-29 11:21:11 +00:00
Gunnar Schmidt
bb54822810 Added the wide-borders feature to the KDE2 decoration
svn path=/trunk/kdebase/kwin/; revision=254590
2003-09-28 14:06:52 +00:00
Gunnar Schmidt
80e11df49c Corrected the size of the diagonal resize corners
svn path=/trunk/kdebase/kwin/; revision=254588
2003-09-28 13:58:33 +00:00
Harald Fernengel
ccdafde758 build
svn path=/trunk/kdebase/kwin/; revision=254548
2003-09-28 11:11:46 +00:00
Gunnar Schmidt
5b518b57b0 Added the wide-borders feature to the Keramik decoration
svn path=/trunk/kdebase/kwin/; revision=254531
2003-09-28 09:59:11 +00:00
Gunnar Schmidt
219d1f6cca Added the border size feature to the Modern System decoration
The current implementation does not offer the largest two sizes as for those the buttons need to be scaled (which requires bigger changes as the buttons are based on pixmaps).

svn path=/trunk/kdebase/kwin/; revision=254093
2003-09-26 12:09:20 +00:00
Gunnar Schmidt
46d91e95da Added the border size feature to the Redmond decoration
svn path=/trunk/kdebase/kwin/; revision=254092
2003-09-26 12:06:58 +00:00
Gunnar Schmidt
556c95ec32 added the borderSizes() method to the Plastik decoration and corrected the parameters of the borderSizes() method in the KStep decoration
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=253697
2003-09-24 20:02:35 +00:00
Luboš Luňák
67e894e1c6 Update for recent API change.
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=253675
2003-09-24 18:59:07 +00:00
Luciano Montanaro
866fc75200 'static' and 'const' added to local variables and pixmap data.
svn path=/trunk/kdebase/kwin/; revision=253599
2003-09-24 14:35:18 +00:00
Luboš Luňák
cefae8f1e4 Allows the decorations to specify which border sizes they support.
Also added GUI for the border size, not perfect, but it's there.

svn path=/trunk/kdebase/kwin/; revision=253572
2003-09-24 12:41:56 +00:00
Luciano Montanaro
89cd9ee65b Made bitmap data constant etc.
svn path=/trunk/kdebase/kwin/; revision=253545
2003-09-24 11:06:08 +00:00
Luboš Luňák
22979730ee Don't use the already installed headers.
svn path=/trunk/kdebase/kwin/; revision=253537
2003-09-24 10:54:13 +00:00
Sandro Giessl
b8c3c6667b Removed pieces of Knifty which I forgot to remove earlier...
Has caused plugin loading problems for some people.

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=253453
2003-09-23 21:16:46 +00:00
Sandro Giessl
863057e660 - The decoration should be useable in reverse layout mode now.
- Readding the possibility to close windows by double clicking the menu
  button on request, setting disabled by default.

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=253432
2003-09-23 20:39:13 +00:00
Gunnar Schmidt
89601d5312 Changed the KStep and Plastik window decorations to respect the two new (extra wide) border sizes
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=253351
2003-09-23 14:45:56 +00:00
Gunnar Schmidt
1f560dbba0 Changed the Web window decoration to respect the two new (extra wide) border sizes
svn path=/trunk/kdebase/kwin/; revision=253349
2003-09-23 14:40:18 +00:00
Luciano Montanaro
adf7e8bad8 Override default drawbounds().
Now when "Display contents of moving/resizing" windows is disabled, a polygon
approximating the window shape is shown instead of the normal rectangle.

svn path=/trunk/kdebase/kwin/; revision=252937
2003-09-21 20:43:44 +00:00
Luciano Montanaro
ef476127f8 Found the correct method to send mousepresses to kwin. I still miss the
mouserelease, though.

svn path=/trunk/kdebase/kwin/; revision=252930
2003-09-21 20:14:26 +00:00
Kevin Puetz
3b502ae558 b2 needs to check in the right include path also
svn path=/trunk/kdebase/kwin/; revision=252759
2003-09-21 03:42:11 +00:00
Luciano Montanaro
b3792f72bb Enabled the compilation of b2
svn path=/trunk/kdebase/kwin/; revision=252656
2003-09-20 17:46:38 +00:00
Luciano Montanaro
bfd4eccd49 CCMAIL: kwin@kde.org
Ported b2 to the new api.  Well, some stuff does not yet work, but I'll work on
that later, and I'll need some assistance for the Automatic titlebar movement.

There is also a bug when shading the window, but on the bright side,
the client more or less works.

svn path=/trunk/kdebase/kwin/; revision=252655
2003-09-20 17:44:49 +00:00
Luboš Luňák
9fac9d2a43 Fixes for mousePosition().
Since Qt propagates mouse events up the widget hierarchy, it's better
to filter out Qt events rather than X events for the decoration.

svn path=/trunk/kdebase/kwin/; revision=252346
2003-09-19 11:11:07 +00:00
Fredrik Höglund
c6390bdf4c - Use KDecorationFactory::resetDecorations() instead of a custom signal/slot.
- Fixed the crashes reported on the kwin mailing list.
- Various cleanups.

svn path=/trunk/kdebase/kwin/; revision=252169
2003-09-18 17:07:49 +00:00
Sandro Giessl
5f6bd80480 activate Quartz
svn path=/trunk/kdebase/kwin/; revision=252150
2003-09-18 15:27:39 +00:00
Sandro Giessl
1ba98c8ef6 - Ported to the new style API, hope everything is ok.
- Hide borders for maximized windows if the kwin "allow moving and resizing of maximized
windows" setting is disabled.

svn path=/trunk/kdebase/kwin/; revision=252148
2003-09-18 15:27:12 +00:00
Sandro Giessl
09d670bc4c activate Web.
svn path=/trunk/kdebase/kwin/; revision=252140
2003-09-18 15:00:05 +00:00
Sandro Giessl
d82cbed7c0 - Ported to the new style API, hope everything is ok.
- Respect KWins' border size suggestion.

svn path=/trunk/kdebase/kwin/; revision=252139
2003-09-18 14:59:47 +00:00
Sandro Giessl
f23a3b153a - Ported to the new kwin style API.
- Don't close the window when double clicking on the menu button.
- Reorganized the settings dialog:
  * "border size" has moved to the kwin core.
  * "shrink borders for maximized windows" has moved to the kwin "allow moving and resizing of maximized windows" setting.

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=251940
2003-09-17 18:43:17 +00:00
Stefan Gehn
89f3ba455a somebody forgot installing its desktop file
svn path=/trunk/kdebase/kwin/; revision=251937
2003-09-17 18:41:27 +00:00
Luboš Luňák
56609fc014 Some updates.
svn path=/trunk/kdebase/kwin/; revision=251890
2003-09-17 15:47:27 +00:00
Luciano Montanaro
4aa26e6ddb Fixed resize artifacts
svn path=/trunk/kdebase/kwin/; revision=251862
2003-09-17 14:25:14 +00:00
Luboš Luňák
87fa54326f As kdelibs/NAMING says, using lib<appname>.la as name for a library is bad.
Library name changed to libkdecorations.la .

svn path=/trunk/kdebase/kwin/; revision=251859
2003-09-17 14:23:53 +00:00
Luboš Luňák
c33987fd9e I forgot to enable compilation of Redmond.
svn path=/trunk/kdebase/kwin/; revision=251858
2003-09-17 14:12:51 +00:00
Luboš Luňák
48af013ee1 Fix reseting.
svn path=/trunk/kdebase/kwin/; revision=251826
2003-09-17 11:44:33 +00:00
Luciano Montanaro
5f0056e873 Appied Lubos patch for the renamed slots.
svn path=/trunk/kdebase/kwin/; revision=251789
2003-09-17 09:23:08 +00:00
Luciano Montanaro
af5c35303f Enabled laptop client
svn path=/trunk/kdebase/kwin/; revision=251778
2003-09-17 08:54:18 +00:00
Luciano Montanaro
6becc8bb5f Ported client to kwin_iii
svn path=/trunk/kdebase/kwin/; revision=251777
2003-09-17 08:53:04 +00:00
Luboš Luňák
8c0404ee31 Improve reseting of the decoration.
svn path=/trunk/kdebase/kwin/; revision=251774
2003-09-17 08:37:56 +00:00
Luboš Luňák
7b0773facd Redmond style merged back from kwin_iii to HEAD, done by Chris Lee.
svn path=/trunk/kdebase/kwin/; revision=251771
2003-09-17 08:27:26 +00:00
Frerich Raabe
6c74979d72 - --warnings
svn path=/trunk/kdebase/kwin/; revision=251634
2003-09-16 19:57:44 +00:00
Luboš Luňák
d05a0d438a Enable only ported decorations, and also merge back the testing
decoration.

svn path=/trunk/kdebase/kwin/; revision=251627
2003-09-16 19:41:07 +00:00
Luboš Luňák
aa986329ac Merging back the KDE2 default decoration from kwin_iii to HEAD.
The config/ subdir is not updated, is kept from HEAD.

svn path=/trunk/kdebase/kwin/; revision=251624
2003-09-16 19:40:44 +00:00
Luboš Luňák
216d330162 Merging back the Keramik decoration from kwin_iii to HEAD.
svn path=/trunk/kdebase/kwin/; revision=251623
2003-09-16 19:40:07 +00:00
Luboš Luňák
813ce7ccce Merging back the ModernSys decoration from kwin_iii to HEAD.
The config/ subdir is not updated (and thus it keeps the changes done
in HEAD).

svn path=/trunk/kdebase/kwin/; revision=251622
2003-09-16 19:37:46 +00:00
Dirk Mueller
34427cb289 compile
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=250061
2003-09-10 17:58:07 +00:00
Waldo Bastian
d05d96d5e2 Don't crash on pixmaps without a mask.
svn path=/trunk/kdebase/kwin/; revision=250023
2003-09-10 15:11:42 +00:00
Luciano Montanaro
165188c4f5 Draw resize handle for resizable tool windows.
svn path=/trunk/kdebase/kwin/; revision=249995
2003-09-10 13:48:57 +00:00
Luciano Montanaro
e46772fe73 Hide resize handles for unresizable windows
svn path=/trunk/kdebase/kwin/; revision=249446
2003-09-08 15:54:55 +00:00
Sandro Giessl
b7547a0a87 CVS_SILENT removed exception for KDE 3.1 which worked around a problem of "eating" window borders,
no more necessary.

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=246927
2003-08-30 17:49:33 +00:00
Stephan Binner
013f743897 CVS_SILENT i18n style guide fix
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=246725
2003-08-30 08:30:08 +00:00
Sandro Giessl
7d0cb12105 Adding my Plastik window decoration to kdeartwork. :)
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=246655
2003-08-29 22:49:03 +00:00
Dirk Mueller
6bbbe69c0e unbreak compilation (gcc 3.4+)
svn path=/trunk/kdebase/kcontrol/; revision=239225
2003-07-26 10:41:28 +00:00
Dirk Mueller
f9cef6de17 fix shape extension detection for Solaris
CCMAIL: 53617-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=238414
2003-07-21 20:34:58 +00:00
Aaron J. Seigo
ddec9444f7 lather, rinse, repeat fred's fix: close on button release not press
svn path=/trunk/kdebase/kwin/; revision=237267
2003-07-15 18:18:26 +00:00
Aaron J. Seigo
8dc1858ae3 since KDE2 does double-click-on-menu-is-close emulate this behaviour
as we do with other emulation styles. i AM closing BR#56922

svn path=/trunk/kdebase/kwin/; revision=236180
2003-07-08 21:06:03 +00:00
Fredrik Höglund
cafa67e113 - Fixed bugs #40125, #45621 and #46215 in the redmond style as well.
svn path=/trunk/kdebase/kwin/; revision=235470
2003-07-04 18:32:29 +00:00
Aaron J. Seigo
fdbe58d03f apparently setColSpacing is new in Qt3.2. this one goes out to everyone
still compiling with 3.1

svn path=/trunk/kdebase/kwin/; revision=234785
2003-07-01 02:54:32 +00:00
Aaron J. Seigo
ad483c520d dude up the config pages of these puppies. now that they appear on the
first tab of the kcm it became wildly obvious how much TLC they needed.

svn path=/trunk/kdebase/kwin/; revision=234652
2003-06-30 08:16:28 +00:00
Luboš Luňák
5596abd78e Don't link against kdeinit modules.
svn path=/trunk/kdebase/kwin/; revision=233861
2003-06-26 08:52:13 +00:00
Claudiu Costin
056cddfe3c i18n context for Kwin default client.
At least Romanian will benefit from this.

svn path=/trunk/kdebase/kwin/; revision=233039
2003-06-22 20:19:30 +00:00
Nadeem Hasan
79a98219bb Fix margin.
svn path=/trunk/kdebase/kwin/; revision=231462
2003-06-14 23:55:32 +00:00
Ian Reinhart Geiser
966365f741 This is a cleanup/fix of all ui files in kdebase. We have the ability to use the
standard KDE spacing and margins.  From what I could tell was 99% of the people had
these nubmers already hardcoded and we should not see any difference.

I was able to test and it looks like everything is normal here.  If there are any
issues or if I horribly broke someone's layout please do not revert!  Just touch them
up with designer and let me know.  This was done to cleanup the UI to ensure layouts
are always consistent, and to allow me to use some layout hacks for small screens.
More on this later, but the bottom line here is standard stuff is cool.  Next stop is
to remove all those hardcoded pixmaps and use KIconLoader :)

CCMAIL: kde-core-devel@kde.org

svn path=/trunk/kdebase/kcontrol/; revision=230069
2003-06-07 02:39:32 +00:00
Luboš Luňák
32217c89bf No resize handle for non-resizable windows.
CCMAIL: 57765-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=227030
2003-05-21 09:12:44 +00:00
Luboš Luňák
dbc0817e28 Actually, the patch from #57690 is right too, there was no support for spacers.
svn path=/trunk/kdebase/kwin/; revision=222733
2003-04-29 11:45:08 +00:00
Luboš Luňák
c1fc368392 Fix #57690 - don't let the dragable area of titlebar vanish completely.
svn path=/trunk/kdebase/kwin/; revision=222730
2003-04-29 11:40:39 +00:00
Matthias Kretz
2faf685614 Don't use white as the border color. This fixes dark color schemes (it's very
anoying to have that white border on an otherwise dark screen). It also fit's
more in all other color schemes.
Authorized by Fredrik and quertz.

svn path=/trunk/kdebase/kwin/; revision=213632
2003-03-13 16:54:54 +00:00
Luboš Luňák
31a47d9819 Don't show the resize cursor inside windows.
svn path=/trunk/kdebase/kwin/; revision=206454
2003-02-12 10:06:57 +00:00
Ralf Nolden
b93157d70e qabstractlayout.h -> qlayout.h
svn path=/trunk/kdebase/kwin/; revision=205388
2003-02-07 10:40:24 +00:00
Melchior Franz
d4d96f7148 fix dialog layout for rtl languages;
replace numeric by symbolic constants

svn path=/trunk/kdebase/kwin/; revision=204603
2003-02-03 11:55:34 +00:00
Laurent Montel
6108ee9793 Use KCmdLineLastOption
svn path=/trunk/kdebase/ksysguard/; revision=202148
2003-01-23 07:11:25 +00:00
Luboš Luňák
3bbbec2792 Styles moved to kdeartwork.
svn path=/trunk/kdebase/kwin/; revision=199828
2003-01-14 12:43:45 +00:00
nobody
82ee2f00fe This commit was manufactured by cvs2svn to accommodate
a server-side copy/move.

svn path=/trunk/kdebase/kwin/; revision=199822
2003-01-14 12:31:45 +00:00
Reza Arbab
c83fb9c2e2 Changed to avoid initialization of static const variables in class definition.
svn path=/trunk/kdebase/kwin/; revision=198519
2003-01-09 15:50:11 +00:00
Hans Petter Bieker
3bc5e13c20 i18n() returns QString.
svn path=/trunk/kdebase/kwin/; revision=197076
2003-01-02 23:41:27 +00:00
Alex Zepeda
5354333dd5 More namespace fun with Qt. It seems like Q*Stream* wants "endl" and
std::cout wants std::endl.  So be it.

svn path=/trunk/kdebase/kwin/; revision=191602
2002-12-02 12:00:18 +00:00
Alex Zepeda
6c9a60ba18 I'll vote for <iostream> over <iostream.h>. Why? Here's why:
warning: #warning This file includes at least one deprecated or
antiquated header. Please consider using one of the 32 headers
found in section 17.4.1.2 of the C++ standard.  Examples include
substituting the <X> header for the <X.h> header for C++ includes,
or <sstream> instead of the deprecated header <strstream.h>.
To disable this warning use -Wno-deprecated.

And grep shows:

kcontrol/kfontinst/kfontinst/FontListWidget.cpp:#include <iostream>
kdm/kfrontend/liloinfo.cpp:#include <iostream>
kioslave/sftp/ksshprocesstest.cpp:#include <iostream>
kioslave/mac/kio_mac.cpp:#include <iostream>
libkonq/konq_propsview.cc:#include <iostream>
konsole/konsole/TEHistory.cpp:#include <iostream>

svn path=/trunk/kdebase/kcontrol/; revision=191581
2002-12-02 10:50:03 +00:00
Fredrik Höglund
62fdca507a - Fixed a minor bidi bug.
svn path=/trunk/kdebase/kwin/; revision=189186
2002-11-16 00:05:16 +00:00
Script Kiddy
30b954b49e CVS_SILENT made messages
svn path=/trunk/kdebase/kcontrol/; revision=189111
2002-11-15 12:56:38 +00:00
Karol Szwed
9cb1740124 Draw unpainted areas when a window is shaded.
Approved by Maksim.

svn path=/trunk/kdebase/kwin/; revision=186526
2002-10-30 16:15:58 +00:00
Script Kiddy
c8bc0e4f38 CVS_SILENT made messages
svn path=/trunk/kdebase/kcontrol/; revision=186511
2002-10-30 13:33:46 +00:00
Stephan Kulow
82ae93ab72 don't refer to kde2.desktop
svn path=/trunk/kdebase/kwin/; revision=186442
2002-10-29 21:31:40 +00:00
Karol Szwed
8458bf78d7 We don't need this anymore
svn path=/trunk/kdebase/kwin/; revision=186383
2002-10-29 14:52:04 +00:00
Fredrik Höglund
0d932bef73 Make the old default kwin style available again as KDE 2.
svn path=/trunk/kdebase/kwin/; revision=186225
2002-10-28 19:23:45 +00:00
Script Kiddy
b95c6d8443 CVS_SILENT made messages
svn path=/trunk/kdebase/ksysguard/; revision=184723
2002-10-20 10:54:38 +00:00
Simon Hausmann
78cfbe9177 - now that KDE_CHECK_HEADERS takes care of defining HAVE_FOO_H (thx coolo)
we can use KDE_* here to make it look in more paths. Helps freebsd.
-AC_CHECK_HEADERS(X11/extensions/shape.h)
+KDE_CHECK_HEADERS(X11/extensions/shape.h)

svn path=/trunk/kdebase/kwin/; revision=184443
2002-10-18 08:30:38 +00:00
Script Kiddy
045810a50e CVS_SILENT made messages
svn path=/trunk/kdebase/ksysguard/; revision=184313
2002-10-17 11:19:57 +00:00
Script Kiddy
b32ed8c275 CVS_SILENT made messages
svn path=/trunk/kdebase/kcontrol/; revision=181890
2002-10-03 11:24:08 +00:00
Fredrik Höglund
76a41a4709 - Changed the filename regexp based on a suggestion from Charles.
svn path=/trunk/kdebase/kwin/; revision=178060
2002-09-15 19:19:52 +00:00
Fredrik Höglund
ae8a8f227d - Rewrote the mouse position code and increased the size of
the bottom diagonal resize corners for usability reasons.

svn path=/trunk/kdebase/kwin/; revision=178059
2002-09-15 19:13:38 +00:00
Fredrik Höglund
d1ef7e8236 - Made the bottom grab bar optional by popular demand.
- Implemented a (hopefully) temporary solution to
  tooltip setting changes not being applied to the
  titlebar buttons while the style is in use.

svn path=/trunk/kdebase/kwin/; revision=175167
2002-09-01 22:50:34 +00:00
Dirk Mueller
6acf67398b fix dependencies
svn path=/trunk/kdebase/kwin/; revision=174973
2002-09-01 00:02:14 +00:00
Fredrik Höglund
8f531f38dd - Attempting to fix a problem reported by Eugenia about
the white borders appearing to be wider on the sides
  than on the titlebar with dark color schemes.

- Switched to using a custom embed tool that generates
  code without global static objects and that further
  reduces the risk of namespace collisions.

- Fixed an off-by-one error in the mouse position code.

svn path=/trunk/kdebase/kwin/; revision=174962
2002-08-31 22:37:35 +00:00
Dirk Mueller
aefcf5f8a0 remove outdated #ifdef
svn path=/trunk/kdebase/kwin/; revision=174483
2002-08-29 16:32:24 +00:00
Luboš Luňák
f374dba2f2 Double-click to close is back.
svn path=/trunk/kdebase/kwin/; revision=174417
2002-08-29 08:59:31 +00:00
Luboš Luňák
3b57952b03 Take care of #46042. [...resisted to say here something about Motif >;> ]
svn path=/trunk/kdebase/kwin/; revision=174310
2002-08-28 15:17:31 +00:00
Karol Szwed
36aebe0323 Namespace cleanup to prevent crashes due to symbol clashes with RTLD_GLOBAL
svn path=/trunk/kdebase/kwin/; revision=174118
2002-08-27 18:08:20 +00:00
Karol Szwed
ec918cec3b suppress warnings
svn path=/trunk/kdebase/kwin/; revision=174085
2002-08-27 15:31:58 +00:00
Karol Szwed
d3210cbb64 remove warning
svn path=/trunk/kdebase/kwin/; revision=174081
2002-08-27 15:18:17 +00:00
Karol Szwed
a33f4313ab - Removing patch by Diego Iastrubini that attempted to fix the bidi issues in
clients by adding an unnecessary 'enable-bidi' checkbox which was never agreed
  upon on the kwin mailing list.

  The use of --reverse is sufficient without needing this checkbox.
  Please discuss largish patches like these first, especially during a feature
  freeze!

  (Everyone also seems to forget the kwin-styles in kdeartwork)

- Make clients look the same with --reverse instead of the broken state they
  were in previously. If the button ordering is not to your liking in reverse
  mode, just change the button positions. (Or send patches for those clients
  that have not got these features yet).

- Clean up popupMenu handling somewhat.

- Remove a global static object in keramik.

svn path=/trunk/kdebase/kwin/; revision=174079
2002-08-27 15:12:14 +00:00
Diego Iastrubni
27998b71ac dded a new checkbox to kcontrol-> wm -> decorations ->general. By defaut this checkbox is on.
if it's on, kwin clients will reverse thire display when the desktop is reversed (arabic, hebrew etc).

Clinets updated to use this options, and options.h has a few more lines :)
see clients for the changes.

svn path=/trunk/kdebase/kwin/; revision=173581
2002-08-24 12:02:26 +00:00
Luboš Luňák
220206e6dd Make sure the window operations popup works for the active window.
Plugin developers should use only Workspace::showWindowMenu() instead
of calling Workspace::clientPopup() and playing with the popup.

svn path=/trunk/kdebase/kwin/; revision=173296
2002-08-22 17:16:47 +00:00
Karol Szwed
35653960f1 Fix animate and restore bug #21511
svn path=/trunk/kdebase/kwin/; revision=172906
2002-08-20 18:02:12 +00:00
Stephan Binner
eae55b938c CVS_SILENT Style guide fix, use "cvslastchange" or X-WebCVS header line to view
svn path=/trunk/kdebase/kwin/; revision=172126
2002-08-15 16:18:23 +00:00
Aaron J. Seigo
147a11b20f if i can convince Matthias Ettrich that this is a good thing, i can
probably convince anyone ;-)

bye-bye non-standard menu showing, hello usability

svn path=/trunk/kdebase/kwin/; revision=168271
2002-07-22 23:02:38 +00:00
Karol Szwed
6df2574dba Enable help button by default
svn path=/trunk/kdebase/kwin/; revision=167524
2002-07-19 13:33:45 +00:00
Daniel Molkentin
aa44779287 CVS_SILENT: s/LIB_KFILE/LIB_KIO/g
Der Rest vom Schuetzenfest...

svn path=/trunk/kdebase/ksysguard/; revision=166284
2002-07-12 17:52:05 +00:00
Ryan Cumming
ffff5455b4 Dither the titlebar graident on 15 and 16bpp displays. Thanks to gallium for the Qt::OrderedDither tip.
svn path=/trunk/kdebase/kwin/; revision=164671
2002-07-04 02:43:54 +00:00
Stephan Binner
a25d76c410 CVS_SILENT Style guide fix
svn path=/trunk/kdebase/kwin/; revision=164124
2002-07-01 10:43:57 +00:00
Fredrik Höglund
4c1d786510 - Made the style always use small caption bubbles on maximized
windows.

  This leaves more space for the actual window contents, and
  fixes the usability problem Carsten Pfeiffer pointed out
  on kde-core-devel.

- Rewrote the masking code to use precalculated bounding rects
  to set the window shape.

  This should result a huge performance increase on low-end
  systems and improve snappyness in general.

- Added some more namespace fixes as suggested by Karol Szwed.

svn path=/trunk/kdebase/kwin/; revision=163885
2002-06-29 22:25:38 +00:00
Dirk Mueller
f0b557abf7 fix messages
svn path=/trunk/kdebase/kwin/; revision=163711
2002-06-28 23:32:50 +00:00
Matthias Kretz
e125eb2bc4 no implementation for slotReset ... so I commented it out
svn path=/trunk/kdebase/kwin/; revision=163297
2002-06-26 15:38:26 +00:00
Karol Szwed
861d667ef6 "Make it work"(tm) on theme change
svn path=/trunk/kdebase/kwin/; revision=163071
2002-06-25 13:14:19 +00:00
Fredrik Höglund
a5b30e1002 These pixmaps are no longer needed.
svn path=/trunk/kdebase/kwin/; revision=162949
2002-06-24 18:35:11 +00:00
Fredrik Höglund
6cfa430e49 - Completely rewrote the pixmap creation code to recolor the
caption bubble and the titlebar separately and then composite
  the resulting images to form the final tiles.

- New pixmaps from Qwertz with a more discreet design for the
  titlebars; more subtle gradients and no stipple effect
  on the titlebar base.

- Only one set of pixmaps is now used for both the active and
  the inactive state. All pixmaps are now stored in grayscale
  format.

- Fixed a minor bug which would cause the question mark on the
  help button to be reversed in RTL mode.

- Improved horizontal space utilization slightly.

- Enabled recoloring of the titlebars and caption bubble to
  match the color scheme.

svn path=/trunk/kdebase/kwin/; revision=162948
2002-06-24 18:33:20 +00:00
Simon Hausmann
63796fb0b2 - micro namespace cleanup
svn path=/trunk/kdebase/kwin/; revision=162590
2002-06-23 08:39:44 +00:00
Dirk Mueller
8fc62651e4 compile keramik
svn path=/trunk/kdebase/kwin/; revision=158818
2002-05-31 20:08:53 +00:00
Stephan Kulow
e0daa02a8f CVS_SILENT oops
svn path=/trunk/kdebase/kwin/; revision=157225
2002-05-23 20:07:29 +00:00
Stephan Kulow
04e2d29f24 fixing dependencies
svn path=/trunk/kdebase/kwin/; revision=157222
2002-05-23 20:02:35 +00:00
Aaron J. Seigo
3482e99a19 and now make "newer" *cough*redhat*cough* -v's of gcc shut up
svn path=/trunk/kdebase/kwin/; revision=156077
2002-05-18 06:41:41 +00:00
Aaron J. Seigo
4f5f20fadd compile even on my old crappy compiler.
(p.s. c-style casts suck ;-)

svn path=/trunk/kdebase/kwin/; revision=156058
2002-05-17 22:05:56 +00:00
Simon Hausmann
947ee7a09e - fixlet for INCLUDES
svn path=/trunk/kdebase/kwin/; revision=156007
2002-05-17 16:53:02 +00:00
Fredrik Höglund
5a534cc7bd Importing the Keramik KWin style.
svn path=/trunk/kdebase/kwin/; revision=156002
2002-05-17 16:33:48 +00:00
Ryan Cumming
3e89b66d03 Argh
svn path=/trunk/kdebase/kwin/; revision=155140
2002-05-12 18:05:56 +00:00
Cristian Tibirna
cd52271a10 CT: flicker-free titlebar. Thanks to Simon Haussman
svn path=/trunk/kdebase/kwin/; revision=155013
2002-05-11 22:05:01 +00:00
Simon Hausmann
d9107f8efc - put those global variables into an anonymous namespace
svn path=/trunk/kdebase/kwin/; revision=154962
2002-05-11 18:21:14 +00:00
Ryan Cumming
e154121711 GUI: Avoid nested groupboxes (ick)
svn path=/trunk/kdebase/kwin/; revision=154724
2002-05-10 02:13:58 +00:00
Rik Hemsley
930a266f7e Fixed (de)iconify animation for Qt 3 with a workaround.
The semantics of setClipRegion were changed, with the default being
different from the previous behaviour. Duh.

svn path=/trunk/kdebase/kwin/; revision=154610
2002-05-09 12:30:34 +00:00
Cristian Tibirna
eb4da42585 CT: customize buttons in KStep decorations (many thanks to Keunwoo Lee <klee@cs.washington.edu>)
svn path=/trunk/kdebase/kwin/; revision=151960
2002-04-26 02:03:01 +00:00
Stephan Binner
2896179100 CVS_SILENT Capitalisation fixes.
svn path=/trunk/kdebase/kcontrol/; revision=151429
2002-04-23 13:02:02 +00:00
Rik Hemsley
b0c9baaadc Disabling iconify animation until I figure out why it leaves lines on
the screen now.

svn path=/trunk/kdebase/kwin/; revision=151082
2002-04-22 05:16:59 +00:00
Malte Starostik
6dfd61dd20 KDirWatch changes as discussed in Nürnberg and posted on core-devel
svn path=/trunk/kdebase/kwin/; revision=144333
2002-03-22 00:09:25 +00:00
Stephan Kulow
c7f9abd849 CVS_SILENT made messages
svn path=/trunk/kdebase/kcontrol/; revision=143855
2002-03-19 16:37:47 +00:00
Lukáš Tinkl
e0f15bb438 a double mistake :)
+       KGlobal::locale()->insertCatalogue("kwin_b2_config");
-       KGlobal::locale()->insertCatalogue("kwinquartz_config");

svn path=/trunk/kdebase/kwin/; revision=140942
2002-03-04 14:13:28 +00:00
David Faure
34bbc5e457 qWarning -> kdWarning
svn path=/trunk/kdebase/kwin/; revision=138408
2002-02-24 18:16:45 +00:00
Karol Szwed
b7fd6761f1 A few libkwin to kwin_ tweaks.
svn path=/trunk/kdebase/kwin/; revision=137833
2002-02-21 14:03:28 +00:00
Stephan Kulow
e3e09f533d use kwin_ instead of libkwin
svn path=/trunk/kdebase/kwin/; revision=137446
2002-02-19 16:56:16 +00:00
Waldo Bastian
6ebc89dac6 CVS_SILENT
Added Encoding header for compliance with Desktop Entry Standard

svn path=/trunk/kdebase/kcontrol/; revision=134824
2002-01-31 18:51:15 +00:00
Rik Hemsley
5cd78ffdd3 Fix mouseposition
svn path=/trunk/kdebase/kwin/; revision=134762
2002-01-31 02:37:02 +00:00
Karol Szwed
16ca23df56 Hmm, this one has been lingering around for months without being used - remove it.
svn path=/trunk/kdebase/kwin/; revision=133039
2002-01-22 02:51:00 +00:00
Rik Hemsley
379b214218 Fix problem where dragging a button makes the whole window drag.
Had to create empty mouseMoveEvent() methods.

svn path=/trunk/kdebase/kwin/; revision=132837
2002-01-21 03:29:55 +00:00
Karol Szwed
2aa91b6f7f MWM is replaced by kdeartwork's CDE.
svn path=/trunk/kdebase/kwin/; revision=132836
2002-01-21 03:17:05 +00:00
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