Commit Graph

10 Commits (bd6653ef598bbb3a776a0c9cef9e621f00e32c0c)

Author SHA1 Message Date
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