Hugo Pereira Da Costa
89453d5147
removed use of QPainter::setOpacity to render transitions. This makes the code faster
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1028374
2009-09-26 21:21:39 +00:00
Hugo Pereira Da Costa
4e0f2a4d08
code cleanup: moved singletons from oxigenclient.cpp to oxygen.cpp; added relevant prototypes to oxygen.h and removed from .cpp files
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1028170
2009-09-26 04:23:27 +00:00
Hugo Pereira Da Costa
b4f63cb440
fixed Qt headers; removed WX11 defines; removed 'using namespace std'
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1025937
2009-09-20 07:42:03 +00:00
Hugo Pereira Da Costa
81174a9301
oops. Missing parenthesis
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1025936
2009-09-20 06:54:09 +00:00
Hugo Pereira Da Costa
38a10045bc
More shadow issues fixed: removed unnecessary clipping. Fixed "square" corners when non-zero offsets. Fixed corner
...
bevel to handle rounding errors.
svn path=/trunk/KDE/kdebase/workspace/; revision=1025935
2009-09-20 06:50:42 +00:00
Hugo Pereira Da Costa
f5945d0bbb
oops. Fixed one glitch when using very-large shadows
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1025902
2009-09-20 00:56:52 +00:00
Hugo Pereira Da Costa
2968cb9ce8
More work on shadows. This time both active and inactive shadows should be handled right for
...
borderless windows.
svn path=/trunk/KDE/kdebase/workspace/; revision=1025901
2009-09-20 00:50:33 +00:00
Hugo Pereira Da Costa
52daec1668
re-added 'index' setting for animated shadow (oops)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1025569
2009-09-19 06:05:43 +00:00
Hugo Pereira Da Costa
9f4eea2a5f
moved all hash key inline; fixed glow for borderless windows; improved corner bevel
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1025568
2009-09-19 05:51:31 +00:00
Hugo Pereira Da Costa
bc7425512a
added necessary additional bit to cache hash key for frameBorder, and relevant enum (in place of bool), accordingly. Also used ::Key to get shadow rather than Client, to make sure this does not happen again, and moved 'simpleShadowPixmap' to public.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1025527
2009-09-18 23:55:18 +00:00
Hugo Pereira Da Costa
635c93bc5b
Added smooth transition between active and inactive state. This affects (when enabled) the window shadow,
...
the horizontal separator line, the titlebar text color and the title+border window outline.
svn path=/trunk/KDE/kdebase/workspace/; revision=1025111
2009-09-18 01:32:27 +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