Hi Joost,
On Tue, May 15, 2012 at 8:42 PM, Joost Eekhoorn
<joost.eekhoorn@gmail.com> wrote:
P.S. I am still searching for a realy easy task for calc, with C++ and/or
Python2.7 or Python3
What about this one:
https://bugs.freedesktop.org/show_bug.cgi?id=48256
Summary: EasyHack: clean out Hide/Show Cursor ...
Whiteboard: EasyHack,DifficultyBeginner,SkillCpp,TopicCleanup
Description:
"In the bad old days of calc, everything was rendered explicitly to the screen,
and then the cursor was rendered over the top using XOR rendering. To get this
right, before we rendered new things we would need to call:
HideCursor();
// do the incremental render
ShowCursor();
These days, we should never do that - all rendering should be done in response
to an idle handler, and should paint from scratch instead of trying to be
'clever' like this (it will increasingly not work & just waste resources on
modern systems).
So - we need to audit the code for these Hide/Show pairs. Clearly some
instances of hiding the cursor are prolly still applicable, but we should check
all of them in sc/ 'git grep -5 HideCursor' - and remove and re-test all
instances.
Potentially we want to add some calls to Invalidate() on the cursor region when
this causes problems :-)
Thanks !"
ciao
Christian
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.