Hi,
as you probably know, the fonts are not scrolled in the native build
in About window after Ctrl+SDT.
I made it working:
http://tmp.janik.cz/OpenOffice.org/MacOSX/About.png
The problem is that we do not draw text to the offscreen bitmap.
Patch is here:
http://tmp.janik.cz/OpenOffice.org/MacOSX/salatslayout-offscreen.diff
plipli: please review it, because this is only copy&paste approach -
I do not know almost any function I pasted.
Some more details/steps to find the source of this problem:
1. I started in the About window
2. it is ModalDialog
3. it is Window
4. it has Scroll(), ImplScroll()
5. it is implemented as copyArea()
6. copyArea() can be simplified to getBitmap() and drawBitmap()
7. getBitmap() is using offscreen mrBitmapContext as the source of
the data, and texts are not drawn into it, only bitmaps.
Nice and at the end I know a bit more again ;-)
Good night.
--
Pavel Janík
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]