Commit graph

9 commits

Author SHA1 Message Date
Hugo Pereira Da Costa
60bf914cee fixed bug on shadow rendering when size < 5 - in which case only the round corner should be rendered
svn path=/trunk/KDE/kdebase/workspace/; revision=1037681
2009-10-19 19:43:59 +00:00
Hugo Pereira Da Costa
e26538e368 port design changes from tabbing branch to trunk: new title outline design; simplification of layout metrics; proper handling of text ellision; simplification of shadow cache; addition of to local button types. In oxygen.h also temporarily added missing enumeration to ease compilation against kde4.3
svn path=/trunk/KDE/kdebase/workspace/; revision=1035658
2009-10-15 16:03:30 +00:00
Hugo Pereira Da Costa
7f6ff0dd02 removed usage of static global variables (static is bad afaik). Everything is controled by the factory.
svn path=/trunk/KDE/kdebase/workspace/; revision=1034554
2009-10-13 01:45:01 +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
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
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