Review Request: an overlay effect element for framesvg

Marco Martin notmart at gmail.com
Tue Jan 13 20:49:21 CET 2009


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.vidsolbach.de/r/325/
-----------------------------------------------------------

(Updated 2009-01-13 11:49:21.776481)


Review request for Plasma.


Summary
-------

since it's 4.3 time...
This adds a new characteristic to plasma themes, an overalay image (in the air theme in playground is used to to a watermark like effect, but is quite flexible)
it uses some things:
alphaMask() a pixmap used to retrieve the alpha, can be the panel itself or another one with the mask- prefix

prefix-overlay is an image that will be drawn (with the transparency of alphaMask()) with the following behaviour depending on hints:
never scaled, position 0,0
never scaled, position depending on applet name (eeeh, code for this is not overly pretty and probably can't be, i know :/)
tiled
scaled


Diffs
-----

  /trunk/KDE/kdelibs/plasma/applet.h
  /trunk/KDE/kdelibs/plasma/applet.cpp
  /trunk/KDE/kdelibs/plasma/framesvg.h
  /trunk/KDE/kdelibs/plasma/framesvg.cpp
  /trunk/KDE/kdelibs/plasma/private/framesvg_p.h

Diff: http://reviewboard.vidsolbach.de/r/325/diff


Testing
-------


Screenshots
-----------


  http://reviewboard.vidsolbach.de/r/325/s/98/


Thanks,

Marco



More information about the Plasma-devel mailing list