D28314: Allow setting separate corner radii for ShadowedRectangle

Kai Uwe Broulik noreply at phabricator.kde.org
Mon Mar 30 13:12:08 BST 2020


broulik added a comment.


  Cool

INLINE COMMENTS

> shadowedrectangle.h:157
> +private:
> +    float m_topLeft = -1.0;
> +    float m_topRight = -1.0;

How about using NaN to define "not set"? though you can't have negative radius, so probably fine

REPOSITORY
  R169 Kirigami

REVISION DETAIL
  https://phabricator.kde.org/D28314

To: ahiemstra, #kirigami
Cc: broulik, plasma-devel, fbampaloukas, GB_2, domson, dkardarakos, ngraham, apol, ahiemstra, davidedmundson, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200330/84b544eb/attachment-0001.html>


More information about the Plasma-devel mailing list