Hugo Pereira Da Costa
8839e86e50
removed KDebug
2013-08-01 20:20:27 +02:00
Martin Gräßlin
2c7e3edcaa
Drop QByteArray argument from DecoHelper ctor
...
Has been removed from Helper parent class.
2013-07-30 07:11:28 +02:00
Hugo Pereira Da Costa
e06ca2e82c
properly deal with invalid colors when calculating cache keys.
...
using color.rgba() for an invalid color corresponds to solid black, which in turns conflicts with the cache
value for such color. We use "transparent black" instead.
CCBUG: 304868
2012-08-29 14:51:14 +02:00
Hugo Pereira Da Costa
f2e93e1b73
Revert "fine tune button shadows."
...
This reverts commit 8c2841a58f75466c5ad87aff35bad8859f9c6822.
2011-09-20 09:14:24 +02:00
Hugo Pereira Da Costa
c62bd64896
fine tune button shadows.
2011-09-20 09:10:09 +02:00
Hugo Pereira Da Costa
58e2393d56
re-ordered button.
...
No "parentUpdate" in non-compositing mode (cause unneeded)
2011-09-19 16:23:29 +02:00
Hugo Pereira Da Costa
e22573e586
buttons
2011-09-19 15:31:18 +02:00
Hugo Pereira Da Costa
3f8b4de381
try install better glow.
2011-09-16 18:31:12 +02:00
Hugo Pereira Da Costa
a05eecf4f0
improved and simplified window decoration buttons.
2011-09-16 17:49:45 +02:00
Hugo Pereira Da Costa
0393983755
use QPainter::setWindow to actually perform scaling.
2011-09-16 17:19:02 +02:00
Hugo Pereira Da Costa
bd6653ef59
Moved painting of windeco buttons to own cache in Style and deco helper;
...
Simplified decoration windeco buttons painting to use only one cache;
Renamed windeco button painting to dockWidgetButton painting for style.
2011-09-15 23:22:45 +02:00
Hugo Pereira Da Costa
24543ebbb9
Use QPalette::Button colors for button (!) rendering.
2011-04-28 17:28:46 +02:00
Hugo Pereira Da Costa
1aeb5fedcc
::(Style/Deco/)Helper - variable names cleanup
...
moved all caches to Private; added protected accessor, and updated daughter classes
accordingly. Also renamed variables for consistency with other classes
2011-02-24 17:08:41 +01:00
Hugo Pereira Da Costa
1c9f4c1684
added consts
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1198441
2010-11-18 13:14:33 +00:00
Hugo Pereira Da Costa
5e3f71614e
Optimized button rendering.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1198423
2010-11-18 11:22:17 +00:00
Hugo Pereira Da Costa
85adc68a06
Added dynamically allocated debug area
...
fixed some coding style.
changed fabs into abs.
svn path=/trunk/KDE/kdebase/workspace/; revision=1175805
2010-09-16 01:24:56 +00:00
Hugo Pereira Da Costa
2947ec516b
- Simplified titleBar title color handling, moved to oxygenHelper, and cached.
...
- added some missing consts in Client.
svn path=/trunk/KDE/kdebase/workspace/; revision=1169247
2010-08-28 19:58:22 +00:00
Hugo Pereira Da Costa
97371a74c2
Moved hover and focus brush from Oxygen::StyleHelper to OxygenHelper so that they can be used in in the decoration, for
...
optimization.
Added "NegativeText" brush, to optimize rendering of close buttons.
Renamed OxygenHelper to Oxygen::Helper for consistency with the other classes. (needs full update of workspace/libs/oxygen,
kstyles/oxygen and kwin/clients/oxygen, but this is already true for the above ...)
svn path=/trunk/KDE/kdebase/workspace/; revision=1125082
2010-05-10 16:36:56 +00:00
Hugo Pereira Da Costa
f6d60a9524
re-added window mask when drawing non-oxygen shadows. This makes poorer corners, but better shadows (can't have everything at the same time right now)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1124748
2010-05-10 01:56:24 +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