On Mon, 2011-06-06 at 12:55 +0100, Michael Meeks wrote:
So, I wonder if the UX guys don't mind us never updating a progress bar
more than twice per second (say) [1] we could do this for all progress
bars in one place. Clearly calling a
FooProgres->update(percent) method a bazillion times is not slow, if we
never re-draw anyway.
I personally like this approach better. Then we can leave the current
rate of progress bar update in MoveTab as it is (per column per sheet).
Still, I would like to get my 2nd suggestion (of having the method
receive a pointer to the existing progress bar instance instead of
creating and deleting it per call) implemented, to make unit-testing of
this method possible (by having the unit test code pass a NULL pointer
to this method to ignore progress bar updates).
Kohei
--
Kohei Yoshida, LibreOffice hacker, Calc
<kyoshida@novell.com>
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.