Commit graph

40 commits

Author SHA1 Message Date
Hugo Pereira Da Costa
fcb275abe7 - use kcfg for shadow configuration
- move Shadow configuration UI to libs
- removed useDropShadow and useOxygenShadow options, and replaced by activeShadow::enable and inactiveShadow::enable
- use kcfg for decoration configuration. The handling of exceptions requires dedicated readConfig and writeConfig methods, implemented in oxygenutils
- changed sizegrip combobox into a check box and rephrased for clarification
2013-01-07 12:12:12 +01:00
Christophe Giboudeaux
e79997c9bf Add a fixme 2013-01-01 15:01:16 +01:00
Hugo Pereira Da Costa
2099e9dab0 moved Oxygen::ShadowCache and Oxygen::ShadowConfiguration from kwin/clients/oxygen to libs/oxygen
This is necessary to implement client-side shadows (for menus and drop-down lists)
2011-02-23 10:04:00 +01:00
Hugo Pereira Da Costa
fdddfcf9ee Added oxygen-shadow-demo to demonstrate shadow painting, add the possibility to save pixmaps
into files, and for debugging.

svn path=/trunk/KDE/kdebase/workspace/; revision=1217934
2011-01-29 18:12:23 +00:00
Hugo Pereira Da Costa
56095681ed changed helper.h/.cpp into oxygendecohelper.h/.cpp for consistency with classname.
svn path=/trunk/KDE/kdebase/workspace/; revision=1121943
2010-05-02 18:50:01 +00:00
Hugo Pereira Da Costa
43d7384663 oxygen.h/.cpp renamed to oxygenfactory.h/.cpp for consistency.
svn path=/trunk/KDE/kdebase/workspace/; revision=1121941
2010-05-02 18:38:05 +00:00
Hugo Pereira Da Costa
8d1314a26b added local oxygendecohelper, that derives from libs/oxygen/oxygenhelper and implements methods used here but not in the style. Modified relevant headers accordingly
svn path=/trunk/KDE/kdebase/workspace/; revision=1099028
2010-03-04 22:49:18 +00:00
Aaron J. Seigo
bfbe44dacc * move kstyles from runtime into workspace
* make a proper library out of the oxygen helper lib
* make the oxygen widget and kwin style link against it

svn path=/trunk/KDE/kdebase/workspace/; revision=1097791
2010-03-02 03:40:34 +00:00
Hugo Pereira Da Costa
80b5f81f72 Moved title transitin handling to separate class (oxygentitleanimationdata).
Use blended pixmaps to do the transition instead of QPainter::drawText with alpha blended colors.
This fixes glitches when title is changed while animation is running. (thanks to Wilder for reporting). 


svn path=/trunk/KDE/kdebase/workspace/; revision=1063441
2009-12-18 15:20:04 +00:00
Hugo Pereira Da Costa
045daadccb used external lib/oxygenanimation class to handle animations in place of QTimeLine. This will make transition to Qt Kinetic easier
svn path=/trunk/KDE/kdebase/workspace/; revision=1050690
2009-11-17 21:56:04 +00:00
Lucas Murray
a0d07d12a2 Merged r970865:1049322 from /branches/work/kwin-tabbing
Adds window tabbing support to KWin.
FEATURE: 42023

svn path=/trunk/KDE/kdebase/workspace/; revision=1049334
2009-11-15 03:24:04 +00:00
Hugo Pereira Da Costa
2d88428b6d removed 'x11util'. Use kdecoration API instead
svn path=/trunk/KDE/kdebase/workspace/; revision=1036345
2009-10-17 03:56:04 +00:00
Hugo Pereira Da Costa
5fdf18e65f readded '-1' pixel offset; reverted to old CMakeList.txt; removed unecessary ifdef in oxygen.h (should not have been commited in the first place.
svn path=/trunk/KDE/kdebase/workspace/; revision=1032315
2009-10-07 14:26:52 +00:00
Hugo Pereira Da Costa
f957a7b7cd fixed drawFloatFrame for shaded maximized windows
svn path=/trunk/KDE/kdebase/workspace/; revision=1032310
2009-10-07 14:23:14 +00:00
Hugo Pereira Da Costa
9eec5543bf Moved all shadow handling into global cache oxygenShadowCache. This allows to share same
shadow tilesets between clients, thus reducing the memory usage; to simplify the oxygenclient
class; and leave room for optimizing active/inactive shadow transitions. The global class is
declared using K_GLOBAL_STATIC_WITH_ARGS.

Also cleaned-up unnecessary headers.


svn path=/trunk/KDE/kdebase/workspace/; revision=1025063
2009-09-17 22:40:06 +00:00
Hugo Pereira Da Costa
45f5f00f9f Removed oxygentimeline (was not working). Use qtimeline directly, to handle animations. It is simpler, and it is actually working. Also changed 'repaint' into 'update' for the slot connected to the timeLine FrameChanged signal. More efficient.
svn path=/trunk/KDE/kdebase/workspace/; revision=1024648
2009-09-17 03:43:55 +00:00
Hugo Pereira Da Costa
e679d07b93 Added animated button glow.
svn path=/trunk/KDE/kdebase/workspace/; revision=1024489
2009-09-16 17:09:33 +00:00
Hugo Pereira Da Costa
8244e7644f Changed nitrogen class names and file names into oxygen; adding Oxygen namespace where missing; updated CMakeFiles.txt accordingly
svn path=/trunk/KDE/kdebase/workspace/; revision=1023654
2009-09-15 07:12:54 +00:00
Hugo Pereira Da Costa
8eecf6375c Moved Nitrogen to Oxygen deco, and removed Nitrogen.
It is believed that Nitrogen is versatile enough to satisfy most users, and that it is 
good-looking enough to make Nuno happy.

CCMAIL: kwin@kde.org
BUG: 160627

svn path=/trunk/KDE/kdebase/workspace/; revision=1023636
2009-09-15 06:25:06 +00:00
Hugo Pereira Da Costa
c7f4edf5e1 Removed oxygen decoration
svn path=/trunk/KDE/kdebase/workspace/; revision=1023633
2009-09-15 05:36:30 +00:00
Huynh Huu Long
74cb4ddd81 Update the decoration to use KWin´s new API
Things to take care of:
* the shadow caching code has to be revised
* shadows sometimes don´t redraw correctly
* error messages like: Couldn't resolve property: linearGradient4203


svn path=/trunk/KDE/kdebase/workspace/; revision=979988
2009-06-10 21:02:50 +00:00
Laurent Montel
569e6589a5 Remove QT3_SUPPORT
svn path=/trunk/KDE/kdebase/workspace/; revision=902437
2008-12-28 12:53:45 +00:00
Huynh Huu Long
ecfa8aa80f add configuration option for stripes
svn path=/trunk/KDE/kdebase/workspace/; revision=818156
2008-06-07 23:06:31 +00:00
Urs Wolfer
6e87d16cec * enable deprecated warnings
* less Q3 support

svn path=/trunk/KDE/kdebase/workspace/; revision=763174
2008-01-18 20:14:40 +00:00
Luboš Luňák
d6b7ef180d No kde3/qt3 support in kwin core. Saves about 150M of memory in gdb
by not loading the support libraries and the complete kdelibs stack it depends
on. Gdb taking 0.5M and lousy handling of near-OOM in Linux kernel
can be a pretty bad combination :(.


svn path=/trunk/KDE/kdebase/workspace/; revision=741856
2007-11-26 15:42:44 +00:00
Fathi Boudra
ea2ebe5e62 Rename kwin_oxy to kwin_oxygen.
More consistent with other kwin decoration name.

svn path=/trunk/KDE/kdebase/workspace/; revision=732858
2007-11-04 22:32:55 +00:00
Casper Boemann
0e65033534 Add hover effect to win deco buttons
svn path=/trunk/KDE/kdebase/workspace/; revision=727100
2007-10-19 19:56:50 +00:00
Matthew Woehlke
9e34414113 don't link to kdefx, which is no more
svn path=/trunk/KDE/kdebase/workspace/; revision=719906
2007-10-02 03:31:32 +00:00
Casper Boemann
4449f0b214 playing with symbols on windeco buttons
also fix compile

svn path=/trunk/KDE/kdebase/workspace/; revision=713206
2007-09-16 17:08:43 +00:00
Matthew Woehlke
d9d5dddc3b Merge nuno-approved radio buttons and windeco buttons (approved except background needs to be a touch darker) into the style/windeco, from the buttontest toy. Since the windeco button is not used by the style, this means the windeco now has a helper subclass. As well there is some significant restructuring of the helper code.
svn path=/trunk/KDE/kdebase/workspace/; revision=704482
2007-08-25 01:11:58 +00:00
Matthew Woehlke
c6b791dfda ok, use external, no ugly path
svn path=/trunk/KDE/kdebase/workspace/; revision=703082
2007-08-21 21:48:45 +00:00
Matthew Woehlke
2591f59209 Fix build now that kstyles/ moved. This made the svn external invalid, but since the style is now also in kdebase, we can use an (ugly) relative path.
svn path=/trunk/KDE/kdebase/workspace/; revision=703072
2007-08-21 21:29:00 +00:00
Matthew Woehlke
1cfffc602e move oxygen code that will be shared by the style into its own .cpp/.h
svn path=/trunk/KDE/kdebase/workspace/; revision=689747
2007-07-19 01:32:16 +00:00
Allen Winter
5c93175949 remove kde4_automoc()
svn path=/trunk/KDE/kdebase/workspace/; revision=685984
2007-07-10 09:14:12 +00:00
Dirk Mueller
1e3214ed73 include cleanup to separate workspace
svn path=/trunk/KDE/kdebase/workspace/; revision=678951
2007-06-22 16:32:06 +00:00
Tim Beaulen
4a8a26b558 Build it
svn path=/trunk/KDE/kdebase/workspace/; revision=676200
2007-06-16 09:21:24 +00:00
Laurent Montel
cd90e32833 Already defined in top
svn path=/trunk/KDE/kdebase/workspace/; revision=676179
2007-06-16 08:00:24 +00:00
Casper Boemann
994a11916c Move it correctly this time
svn path=/trunk/KDE/kdebase/workspace/; revision=676058
2007-06-15 20:48:52 +00:00
Casper Boemann
faa0516b5d move it back for now - sorry
svn path=/trunk/KDE/kdebase/workspace/; revision=676057
2007-06-15 20:47:59 +00:00
Casper Boemann
83cd5b0ba2 Import Oxygen windec into kdebase
svn path=/trunk/KDE/kdebase/workspace/; revision=676051
2007-06-15 20:11:33 +00:00