decoration.h | [was: Review Request for KDecoration]

Martin Gräßlin mgraesslin at kde.org
Wed Nov 12 07:19:54 GMT 2014


On Tuesday 11 November 2014 23:23:09 Thomas Lübking wrote:
> On Dienstag, 11. November 2014 13:30:09 CEST, Martin Gräßlin wrote:
> > Added a QRegion parameter (thought is to be able to render the complete
> 
> > decoration in one go if needed):
> Why a region? The core sends a rect (needs implicit QRegion construction)
> and the deco will likely call boundingRect() or similar for comaprism.

My thought was that it's going to be
* rect for top
* rect for left
* rect for right
* rect for bottom

leaving out the center element. Thus a QRegion to render it in one go.

I don't mind changing to QRect, though.

Cheers
Martin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20141112/e0a50f04/attachment.sig>


More information about the kde-core-devel mailing list