Commit graph

26698 commits

Author SHA1 Message Date
Cristian Tibirna
dc7f396179 CT: erase crash in tabbox thanks to Malte Starostik
svn path=/trunk/kdebase/kwin/; revision=39262
2000-01-26 01:43:26 +00:00
Daniel M. Duley
133bce84f6 Opps, I had a couple styles in the SUBDIRS like I hadn't committed yet ;-)
svn path=/trunk/kdebase/kwin/; revision=39127
2000-01-23 23:36:07 +00:00
Daniel M. Duley
49aba34b01 My weekly big ass style commit ;-) This implements what I discussed earlier
today.

First: All decoration pixmaps are now regenerated when the palette color scheme
changes. There is no longer any need to apply color schemes *before* switching
styles or reload the plugin. The schemes can change any time and be handled
correctly by styles that generate their pixmaps based on the color scheme.

Second: The color scheme has been extended to allow separate entries for
different visual styles. For example there are now entries for both titlebar
rectangle fills like those used in the standard KDE style and KStep vs.
titlebar grooves like those used in System. The same thing applies to
foreground colors for buttons that follow the button background settings like
KStep and System vs. those that don't like the standard style.

Right now none of the color schemes have the new entries so defaults are
calculated, usually by judging the intensity of what the decoration is
drawn on and contrasted with that. To check things out look at the standard,
KStep, and System styles under color schemes like default, CDE, and Digital
CDE.

The Be style is not updated because I have a cooler one on my HD ;-)

I hope this makes David happier <grin> :)

svn path=/trunk/kdebase/kwin/; revision=39126
2000-01-23 23:33:29 +00:00
Daniel M. Duley
cdbf1668b5 Don't use a bottom gradient, just a top one. There isn't enough space on the
bottom to get a smooth gradient that is noticeable and it doesn't blend
properly.

svn path=/trunk/kdebase/kwin/; revision=39070
2000-01-23 15:13:59 +00:00
Daniel M. Duley
202be83dae Making this style ultra-cool ;-) If you are on a highcolor display the frame
top and bottom automatically gradient bevels according to the color scheme.
Very cool looking, and no configuration required. If you want to see a pic
look at http://www.mosfet.org/system-gr.gif.

To try it out update, set the system color scheme, and the switch to the System
style via the right mouse menu on the kwin titlebar.

svn path=/trunk/kdebase/kwin/; revision=39064
2000-01-23 13:39:20 +00:00
Charles Samuels
d4e4653ac8 More I18N_NOOP stuff
svn path=/trunk/kdebase/kcontrol/; revision=38961
2000-01-21 23:34:50 +00:00
Daniel M. Duley
e25393dafa Did a real implementation for the question mark button for the standard style.
KPixmap2Bitmap is really useful for this type of thing :)

svn path=/trunk/kdebase/kwin/; revision=38552
2000-01-17 05:31:28 +00:00
Daniel M. Duley
03f09a8927 KWin plugins require -rdynamic because they need to resolve symbols in KWin.
The other plugins (kicker, widget themes, etc...) don't need this.

svn path=/trunk/kdebase/kwin/; revision=38549
2000-01-17 01:27:32 +00:00
Waldo Bastian
7077776bb1 WABA: Use KCmdLineArgs
svn path=/trunk/kdebase/kwin/; revision=38160
2000-01-12 15:08:42 +00:00
Matthias Ettrich
c772a8e8a2 new transients as well
svn path=/trunk/kdebase/kwin/; revision=37997
2000-01-10 03:49:49 +00:00
Matthias Ettrich
8460a9ad3e make transients sticky when their main window becomes sticky
svn path=/trunk/kdebase/kwin/; revision=37996
2000-01-10 03:47:30 +00:00
Stephan Kulow
39ef01ccbe some write more portable Makefiles than others :)
svn path=/trunk/kdebase/kwin/; revision=37819
2000-01-08 17:15:29 +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
Kurt Granroth
4e650b8d0f fixed typo
svn path=/trunk/kdebase/kwin/; revision=37447
1999-12-30 22:46:45 +00:00
Woohyun JANG
ba32bbdd36 using KWM::title() instead of XFetchName() to get a window's name.
svn path=/trunk/kdebase/kwin/; revision=37307
1999-12-27 09:22:19 +00:00
Daniel M. Duley
e5a9e7cd5a Bye bye, you are plugins now.
svn path=/trunk/kdebase/kwin/; revision=37235
1999-12-24 01:38:53 +00:00
Daniel M. Duley
de782ec37b Implemented plugins :) This was a huge pain in the arse because a) I am stupid
and it kept segfaulting because I wasn't releasing windows, and b) The plugins
didn't want to resolve anything in the kwin executable, only to the other
libs. I finally solved this by using -rdynamic in kwin's LDFLAGS, which I hope
is okay ;-)

svn path=/trunk/kdebase/kwin/; revision=37234
1999-12-24 01:36:47 +00:00
Daniel M. Duley
16008373fb Re-enabling sticky button.
svn path=/trunk/kdebase/kwin/; revision=37180
1999-12-22 23:55:18 +00:00
Stephan Kulow
caf3ce1376 let it compile with SparcWorks CC 5.0 (templates, stdlib.h, little ANSI glitches)
svn path=/trunk/kdebase/kwin/; revision=37154
1999-12-22 17:16:23 +00:00
Chris Schlaeger
7a0af99fb9 Code was generating an internal compiler error with egcs-2.91.66 on
my SuSE 6.3. Rearranging the statements fixed it.

svn path=/trunk/kdebase/kwin/; revision=37132
1999-12-22 09:46:21 +00:00
Cristian Tibirna
f9c7091e05 CT: Scott Lamb <slamb@oh.yeah.org> corrected the spelling of
Strickly and wanted to implement
    focus configurability. Here is the (for now) "politically correct" version.

svn path=/trunk/kdebase/kwin/; revision=37123
1999-12-22 04:49:43 +00:00
Daniel M. Duley
91cb1debe1 Small fixes.
svn path=/trunk/kdebase/kwin/; revision=37122
1999-12-22 04:09:47 +00:00
Kurt Granroth
eeca670a3d I have no clue why I thought I had fixed the floating toolbar
before... doesn't it make sense that [menu] would work for the
MENUBARS?  Yeesh... I'm not sure what I was drinking that day.

Anyway, I think I got it now.  Toolbars use [tools] (how about that!) :-)

svn path=/trunk/kdebase/kwin/; revision=37041
1999-12-21 05:54:40 +00:00
Cristian Tibirna
05f34e3f95 CT: the real fix. How the heck did this work?
svn path=/trunk/kdebase/kwin/; revision=36903
1999-12-19 03:04:39 +00:00
Cristian Tibirna
e3d3ed18d1 CT: wasn't smart placement act a bit strange? This fixes it.
svn path=/trunk/kdebase/kwin/; revision=36862
1999-12-18 20:33:54 +00:00
Stephan Kulow
fe7681b639 - const unsigned char *bitmap, int bw=0, int bh = 0)
+                       const unsigned char *bitmap, int bw, int bh)

svn path=/trunk/kdebase/kwin/; revision=36703
1999-12-16 10:27:45 +00:00
Matthias Ettrich
705e85aaf7 even more elaborate
svn path=/trunk/kdebase/kwin/; revision=36674
1999-12-15 18:27:26 +00:00
Matthias Ettrich
e673ba48e8 be more elaborate what you want
svn path=/trunk/kdebase/kwin/; revision=36673
1999-12-15 18:26:19 +00:00
Daniel M. Duley
5093710cf4 Change the shade default steps from 50 to a much snappier 10 ;-) If bg
pixmaps and masks are used (system and the kwm compatible style), 50 is way
too jerky.

svn path=/trunk/kdebase/kwin/; revision=36625
1999-12-15 00:43:48 +00:00
Lars Knoll
0b0548786a removed the subdir images, since it has no makefile. At least it compiles
like that.

svn path=/trunk/kdebase/kwin/; revision=36618
1999-12-14 23:45:14 +00:00
Daniel M. Duley
f182cd2a21 I was going to comment out all the styles except stdclient and system for
Krash since they are compiled in, but after comparing memory usage it's not
worth it. The styles are tiny ;-)

Also, Matthias - If you are reading this I am having a problem implementing
plugins. I get segfaults whenever I delete the old client and don't know why...
it looks okay. Specifically I need to iterate through all the clients, delete
them, then reallocate.

svn path=/trunk/kdebase/kwin/; revision=36614
1999-12-14 23:12:12 +00:00
Preston Brown
ee298f43ec moved over from kwm.
svn path=/trunk/kdebase/kwin/; revision=36550
1999-12-14 21:11:15 +00:00
Daniel M. Duley
2ca984814e More extensive README for Krash.
svn path=/trunk/kdebase/kwin/; revision=36509
1999-12-14 14:17:56 +00:00
Daniel M. Duley
5331cf5d13 Use the methods Matthias already provided in StdClient for the context help
button. Didn't know they were there until I was making screenshots, tried the
standard client, and saw the question mark ;-)

svn path=/trunk/kdebase/kwin/; revision=36230
1999-12-10 01:45:35 +00:00
Daniel M. Duley
fd4e1f94a7 Added button for KWin context help.
svn path=/trunk/kdebase/kwin/; revision=36224
1999-12-10 00:27:15 +00:00
Matthias Ettrich
22de3305c5 minor details
svn path=/trunk/kdebase/kwin/; revision=36132
1999-12-08 20:08:04 +00:00
Daniel M. Duley
4afb1ee166 Sync the config after switching styles.
svn path=/trunk/kdebase/kwin/; revision=36090
1999-12-08 04:02:07 +00:00
Daniel M. Duley
9e10f0990c Nextstep style ;-) You can see a screenshot of this with the KStep widget
style at:

http://www.mosfet.org/next.gif

I'll be adding the color scheme used in a sec.

svn path=/trunk/kdebase/kwin/; revision=36087
1999-12-08 02:44:50 +00:00
Matthias Ettrich
167fc3df88 yet another minor focus fix ;-)
svn path=/trunk/kdebase/kwin/; revision=36075
1999-12-07 22:04:07 +00:00
Matthias Ettrich
9764a4f487 fixed a minor focus problem
svn path=/trunk/kdebase/kwin/; revision=36074
1999-12-07 21:54:52 +00:00
Kurt Granroth
126bc26fda It appears that almost nobody uses the floating toolbar as kwin hasn't
had support for it since.. well, ever.  Well, it does now.

svn path=/trunk/kdebase/kwin/; revision=35996
1999-12-07 02:18:27 +00:00
David Faure
61123bd562 Fix for RMB popup "send to desktop" when desktop number != 4
svn path=/trunk/kdebase/kwin/; revision=35971
1999-12-06 20:54:30 +00:00
Matthias Ettrich
83bd1cc680 small fixes to resize handling with the keyboard with weird mousepointer positions
svn path=/trunk/kdebase/kwin/; revision=35958
1999-12-06 15:44:29 +00:00
Matthias Ettrich
935c0a4478 More keyboard commands such as "Window move" and "Window resize".
"Mouse emulation" (defaults to F12 currently) provides mouse emulation with
[Ctrl|Alt]-ArrowKeys.  Unfortunatly, dragging isn't (technically) possible with
X, but at least normal clicks work with Space or Return.

svn path=/trunk/kdebase/kwin/; revision=35919
1999-12-06 00:43:55 +00:00
Simon Hausmann
6d59623f8f - make WorkSpace::numberOfDesktops() not return the hardcoded "4" but
instead the real number of desktops (fixes the desktop selection in the
  popup menu)

svn path=/trunk/kdebase/kwin/; revision=35874
1999-12-05 14:47:12 +00:00
Stephan Kulow
8d629713b5 adding new icons sent by Tackat
svn path=/trunk/kdebase/kcontrol/; revision=35865
1999-12-05 13:39:13 +00:00
Preston Brown
f0cdd75197 implemented desktop cascading and uncluttering.
svn path=/trunk/kdebase/kwin/; revision=35765
1999-12-03 21:08:07 +00:00
David Faure
410a80a76d oops, added group, and tried a sync() in destructor, but since we have
no proper logout...
Anyway, nice to have 6 desktops again :)

svn path=/trunk/kdebase/kwin/; revision=35756
1999-12-03 19:04:03 +00:00
David Faure
0274e04914 Read number of desktops from kwinrc - a first step towards configurability
svn path=/trunk/kdebase/kwin/; revision=35755
1999-12-03 18:51:22 +00:00