Commit Graph

29 Commits

Author SHA1 Message Date
Aaron J. Seigo
6e14d1c773 fixups
svn path=/trunk/KDE/kdelibs/; revision=1178748
2010-09-23 19:59:54 +00:00
Aaron J. Seigo
67736c1a15 fill our pixmaps with nothingness
svn path=/trunk/KDE/kdelibs/; revision=1178747
2010-09-23 19:51:39 +00:00
Aaron J. Seigo
9983bc7dc8 fewer pixmaps. same great taste.
svn path=/trunk/KDE/kdelibs/; revision=1178341
2010-09-22 19:35:47 +00:00
Marco Martin
13113abbf4 check alpha channels too
svn path=/trunk/KDE/kdelibs/; revision=1133527
2010-06-01 21:58:05 +00:00
Marco Martin
35537630f6 repaint the pixmaps even if they are the same size, but one hasn't alpha channel
svn path=/trunk/KDE/kdelibs/; revision=1133522
2010-06-01 21:41:59 +00:00
Marco Martin
76ead449e5 repaint the pixmap over transparency if it doesn't have an alpha cannel
svn path=/trunk/KDE/kdelibs/; revision=1133517
2010-06-01 21:21:15 +00:00
Daniel Laidig
911b361064 fading works fine if one of the pixmaps is empty
in this case, the emtpy pixmap behaves just like a transparent one

svn path=/trunk/KDE/kdelibs/; revision=1114906
2010-04-14 20:53:45 +00:00
Fredrik Höglund
b6ab41d131 Don't crash in PaintUtils::transition() if the pixmap doesn't have a
paint engine.

This is sometimes the case when called from AbstractTaskItem::drawTask().

svn path=/trunk/KDE/kdelibs/; revision=1081054
2010-01-27 16:26:41 +00:00
Aaron J. Seigo
5eb78f23ea zooming is gone; activity switching can be done for now using the activity switcher or the keyboard shortcuts. a new activity manager will be built up from here
svn path=/trunk/KDE/kdelibs/; revision=1080793
2010-01-26 23:35:32 +00:00
Marco Martin
d991db97ff a function to center two pixmaps. the final size will be the maximum width and height between the two and they will be centered
transition now uses it

svn path=/trunk/KDE/kdelibs/; revision=1078294
2010-01-21 23:13:56 +00:00
Marco Martin
3a27e22612 if from and to dimensions are different, and we return only to, we should anyways do a new pixmap of the from dimension and center to in it.
this resolves the flickering PushButton even tough removes some optimizations

svn path=/trunk/KDE/kdelibs/; revision=1064770
2009-12-21 18:42:45 +00:00
Marco Martin
3c84247ae6 move halopainter unchanged in libplasma, keep it private and expose
drawhalo in PaintUtils
iconwidgets uses it if there is no backgroundcolor explicitly setted
CCMAIL:fredrik@kde.org

svn path=/trunk/KDE/kdelibs/; revision=1054830
2009-11-26 21:57:36 +00:00
Fredrik Höglund
0317154954 Fix an error that can cause an occasional visual glitch.
svn path=/trunk/KDE/kdelibs/; revision=1053367
2009-11-23 22:53:01 +00:00
Aaron J. Seigo
e41352c6ec move our data files into a common place with some decent organization
svn path=/trunk/KDE/kdelibs/; revision=1019549
2009-09-03 20:40:22 +00:00
Marco Martin
6b5a36dbd3 check that the image is not null
BUG:201045

svn path=/trunk/KDE/kdelibs/; revision=1016811
2009-08-29 00:04:19 +00:00
Aaron J. Seigo
970766d468 be careful with the to/from
svn path=/trunk/KDE/kdelibs/; revision=986690
2009-06-24 21:53:18 +00:00
Alexis Ménard
4e6da919f3 QImage.fill take a uint not a QColor so this color (Qt::transparent enum with 19 as a value) is invalid.
svn path=/trunk/KDE/kdelibs/; revision=908392
2009-01-09 16:50:27 +00:00
Aaron J. Seigo
acc16d69ab "fix" pixels getting cut off for some people
svn path=/trunk/KDE/kdelibs/; revision=902719
2008-12-29 00:59:22 +00:00
Aaron J. Seigo
4edaeb129d allow defining the font to use with the shadow text
svn path=/trunk/KDE/kdelibs/; revision=900826
2008-12-23 18:31:59 +00:00
Alexis Ménard
4b0bd4867c SVN_SILENT minor fix according to montel
svn path=/trunk/KDE/kdelibs/; revision=889768
2008-11-27 15:33:30 +00:00
Alexis Ménard
5a2ae9f976 Don't try to create a nice shadow on a text if the text is empty (avoid some warnings)
Rev by aseigo

svn path=/trunk/KDE/kdelibs/; revision=889759
2008-11-27 14:52:08 +00:00
Aaron J. Seigo
1b523b9054 ok, this time JUST the plasma dir ;)
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9 bum-de-dum! plasma to kdelibs.
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Allen Winter
a7aebfa60a a bunch more coding style fixes. still some lines longer than 100 chars.
this is definitely helping me find false positives in the Krazy style checker.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870161
2008-10-11 22:48:38 +00:00
Marco Martin
7d9e7a74cb put the to pixmap in the center if the two pixmap have a different size
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866779
2008-10-01 21:40:08 +00:00
Marco Martin
c1a7cb7ce7 pixmap fading transition effect in paintutils taken from
KFileItemDelegate::Private::transition()
now icon widget uses it

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866344
2008-09-30 16:15:00 +00:00
Dirk Mueller
93a8a87368 stop crashing due to undefined destruction order
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845983
2008-08-12 18:41:56 +00:00
Andrew Lake
c6897f66ae Correct text and shadow composition to accomodate negative offsets.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827890
2008-07-04 03:55:14 +00:00
Aaron J. Seigo
922c85c705 it makes no sense to have the blur stuff in one header/namespace and the roundedRectangle stuff in another: it's all painting related. putting them together, however, makes "ImageEffects" really not accurate. ImageEffects will also clash, concept-wise, with a real effects lib.
therefore, introducing Plasma::PaintUtils.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827859
2008-07-03 23:50:13 +00:00