[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Some questions about repainting tools
From:       Florian Merz <FlorianMerz () web ! de>
Date:       2008-01-28 17:14:45
Message-ID: 200801281814.46075.FlorianMerz () web ! de
[Download RAW message or body]

Hi everyone,

I was playing around with the Flake library, and I thought maybe someone can 
answer me some questions:

The documentation says the repaintDecorations() function can be used to 
trigger a canvas update, but the implementation in KoTool is empty. It also 
seems like it is never called, except when I switch to another tool, and In 
that case it is called two times in a row. If the function is empty, and no 
one calls it while the tool is being used, what is it there for?

What is the best way to trigger a repaint of the tool's decoration from 
inside the tool?

Why does the KoInteractionTool call the KoTool::repaintDecorations() 
function if that function doesn't do anything at all?

Thanks for your help,
 Florian
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic