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
c5bf8d012e
Changed all "Oxygen::OxygenXXX" classnames into "Oxygen::XXX" for consistancy with style class
...
naming scheme. Also made indentation consistent.
svn path=/trunk/KDE/kdebase/workspace/; revision=1121935
2010-05-02 18:34:08 +00:00
Hugo Pereira Da Costa
99a0cddd77
Reduce cache size and truncate opacity settings for shadow focus transition, based on the
...
animation durations. For default duration (200msec), this reduces the size of the cache by about a
factor 10, and still corresponds to a 120Hz frame rate.
BUG: 234187
svn path=/trunk/KDE/kdebase/workspace/; revision=1114935
2010-04-14 22:21:08 +00:00
Hugo Pereira Da Costa
49411bcda5
Added checkbox to disable shadow drawing (as a replacement to setting shadow size to zero), consistently with the checkbox used to
...
disable the active window glow.
svn path=/trunk/KDE/kdebase/workspace/; revision=1107183
2010-03-25 00:51:27 +00:00
Hugo Pereira Da Costa
6f788c9fdd
fixed use of oxygendecohelper
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1099040
2010-03-04 22:57:33 +00:00
Hugo Pereira Da Costa
84868a37c6
explicitely use oxygendecohelper rather than oxygenhelper
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1099031
2010-03-04 22:51:08 +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
Alexis Ménard
b014d1e56c
ARM Compile fix.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1057628
2009-12-02 23:33:43 +00:00
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