Hi Matteo,
On Fri, 2011-12-09 at 21:29 +0100, Matteo Casalin wrote:
* Share code between draw/nodraw on window devices (this needs review
for sure, I didn't understand clearly the conditions to be met for
the nodraw case);
I think you got it right; the idea is simply not to draw but to do all
the size calculation just the same and return the resulting content area
size in rRect. eg. see the brdwin.cxx usage [ a reasonably common
pattern in complex widget painting FWIW ].
Otherwise this looks like a lovely clean, pushed it to master ! :-)
Thanks !
Michael.
--
michael.meeks@suse.com <><, Pseudo Engineer, itinerant idiot
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.