Hi Andrew,
On Fri, 2012-04-27 at 11:56 +0100, Andrew Higginson wrote:
I want to draw something like the file attached.
It will be a box that apears when a user goes full screen (basically
to say, you are in full screen mode, press KEY to go back)
I need it to be drawn 'above' any pages, so that when the user
scrolls, it stays in the same
place (so it is not similar to the new header and footer blue boxes,
in that they are per
page, this needs to be one box for the whole document)
But it's the same painting idea.
So what I need to know is in which control's Paint() method do I need
to put the painting code for this?
You will need to create your own control for that with your own Paint()
implementation. You should get some inspiration from the
SwHeaderFooterWin class:
http://cgit.freedesktop.org/libreoffice/core/tree/sw/source/ui/docvw/HeaderFooterWin.cxx
I hope this helps.
--
Cedric
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.