Panel background - mask problem [PATCH]

Ivan Čukić ivan.cukic at gmail.com
Thu Dec 11 21:56:48 CET 2008


FrameSvg is not a pleasant thing for modifications, at least not this type of 
modification.

Here is a patch that works, but is a bit dirty since I wanted to change as 
little as I can (and i'm not satisfied with that) - it sets a new prefix and 
renders the mask-prefix elements, and then assigns the mask of that render to 
the original FrameData.

I had to add the new maskFrame to d->frames so that updateSizes() can work.

What to do about that - should I remove it immediately after rendering or 
what?

Cheerio!

-- 
While you were hanging yourself on someone else's words
Dying to believe in what you heard
I was staring straight into the shining sun
    -- The Pink Floyd

-------------- next part --------------
A non-text attachment was scrubbed...
Name: framesvg.patch
Type: text/x-patch
Size: 1927 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20081211/ced2a5cc/attachment.patch 


More information about the Plasma-devel mailing list