Hugo Pereira Da Costa
88cfb2df63
changed back 'setDirty' method into 'update' method. kwin/paintRedirector should be fixed though, so that buttons created after the deco is registered for redirection are properly accounted for
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1036114
2009-10-16 16:25:02 +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
253892d5dd
More code cleanup: moved declaration of 'reduceContrast' and 'renderDot' global functions to oxygenclient.h. Added 'renderFlags' to control which part of the button is to be drawn. Also added flag to force button as 'inactive' even if belonging to an active window (needed for window tabs)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1035245
2009-10-14 15:36:38 +00:00
Hugo Pereira Da Costa
cef60f90cb
removed useless colorCacheInvalid_ member
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1034964
2009-10-14 02:55:40 +00:00
Hugo Pereira Da Costa
3c3d093d2b
set local reference to client as const. Safer
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1034053
2009-10-11 20:30:38 +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
99c012ab33
Changed inactive button shape to match active button; moved more methods inline; added smooth transition between active and inactive button
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1025846
2009-09-19 21:12:57 +00:00
Hugo Pereira Da Costa
45f5f00f9f
Removed oxygentimeline (was not working). Use qtimeline directly, to handle animations. It is simpler, and it is actually working. Also changed 'repaint' into 'update' for the slot connected to the timeLine FrameChanged signal. More efficient.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1024648
2009-09-17 03:43:55 +00:00
Hugo Pereira Da Costa
e679d07b93
Added animated button glow.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1024489
2009-09-16 17:09:33 +00:00
Hugo Pereira Da Costa
8244e7644f
Changed nitrogen class names and file names into oxygen; adding Oxygen namespace where missing; updated CMakeFiles.txt accordingly
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1023654
2009-09-15 07:12:54 +00:00
Hugo Pereira Da Costa
c7f4edf5e1
Removed oxygen decoration
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1023633
2009-09-15 05:36:30 +00:00
Casper Boemann
d2fd031544
Try to do the same fix for kwin
...
Please svn up and test this out
CCBUG:163538
svn path=/trunk/KDE/kdebase/workspace/; revision=899162
2008-12-20 04:39:14 +00:00
Huynh Huu Long
d29c446e3c
Implement pressed state
...
svn path=/trunk/KDE/kdebase/workspace/; revision=831765
2008-07-13 09:50:51 +00:00
Huynh Huu Long
7d0bd3567a
colored lines added to improve visibility of active windows
...
svn path=/trunk/KDE/kdebase/workspace/; revision=812922
2008-05-26 16:21:49 +00:00
Casper Boemann
a454357d4e
Paint buttons of inactive windows different too
...
Prepare for caching of those colors - doesn't connect to actual KGS
signal yet - so are never invalidated
svn path=/trunk/KDE/kdebase/workspace/; revision=726729
2007-10-18 19:09:41 +00:00
Matthew Woehlke
cb8d764ba1
Keep around the helper as a reference member of OxygenClient and OxygenButton, instead of having two global statics. Also refer to the client (from the button) as a reference to ensure that it exists (namely, so that we can grab our own reference to its helper).
...
svn path=/trunk/KDE/kdebase/workspace/; revision=723558
2007-10-10 00:05:24 +00:00
Casper Boemann
f5c53e76d6
change windec to inherit kcommondecoration, which brings us several
...
pleasenties
svn path=/trunk/KDE/kdebase/workspace/; revision=713524
2007-09-17 18:16:26 +00:00
Arto Hytönen
f3fbc3665b
explicit ctors
...
svn path=/trunk/KDE/kdebase/workspace/; revision=707717
2007-09-02 19:11:09 +00:00
Casper Boemann
fb78c8f6ad
update windec to have same background as new style
...
get rid of xrender stuff
did this to get smooth painting:
widget()->setAttribute( Qt::WA_PaintOnScreen, false);
svn path=/trunk/KDE/kdebase/workspace/; revision=688425
2007-07-16 02:12:45 +00:00
Dirk Mueller
628e1a28c9
compile++
...
svn path=/trunk/KDE/kdebase/workspace/; revision=678540
2007-06-21 16:35:18 +00:00
Laurent Montel
c5e1b4b204
Renome not necessary forward declaration
...
Fix warning
svn path=/trunk/KDE/kdebase/workspace/; revision=676230
2007-06-16 10:59:08 +00:00
André Wöbbeking
08d6ebfd8d
-pedantic
...
svn path=/trunk/KDE/kdebase/workspace/; revision=676182
2007-06-16 08:12:13 +00:00
Casper Boemann
994a11916c
Move it correctly this time
...
svn path=/trunk/KDE/kdebase/workspace/; revision=676058
2007-06-15 20:48:52 +00:00