Most programs? Can you give some examples?

OK, I'll change it to "some programs" draw directly to the screen (outside of Paint methods).

Peter

----- Original Message ----- From: "Mattias Gaertner" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, October 11, 2007 3:25 PM
Subject: Re: [lazarus] Drawing Strategy in Carbon Lazarus


On Thu, 11 Oct 2007 08:53:35 -0700
Peter Gannon <[EMAIL PROTECTED]> wrote:

>>> So some workarounds should be done to implement painting outside
>>> paint
event.

>>>>Possible workarounds:
>>>>- perform all painting outside paint event to special image and
>>>>later (in paint event handler) apply this painting to widget
>>>>window
>>>>- if painting outside paint event is happen then a) request
>>>>window redraw, so paint event should be called b) wait until
>>>>paint event happen

>>>>I dont know, maybe other can suggest something better.

==========================================


Yes, hopefully some solution will arise to allow direct drawing to
the screen outside of paint events. Most programs do some kind of
direct painting at some stage, so when porting, those areas would
need to be rewritten specifically to overcome this limitation on the
Mac/Carbon/Lazarus.

Most programs? Can you give some examples?


Mattias

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to