[lazarus] gtk interface clean up
Mattias Gaertner
nc-gaertnma at netcologne.de
Sun Aug 17 11:31:55 EDT 2003
On Sun, 17 Aug 2003 11:52:25 +0200
Jeroen van Iddekinge <iddekingej at lycos.com> wrote:
> Hi,
>
>
> I downloaded lazarus again after a long time, and I noticed that much
> was inproved.. it looks verry good....thanx...
> But I noticed that some cleanup was possible for the Gtk Interface, so
> there is also a patch with this email.
Where is gtkmsgqueue.pp?
Can you delete the *~ files in the base directory before creating the patch?
Mattias
> There is still more possible , but the patch was allready big enough.
> Plz comment...
> (p.s. Yesterday I also tried to send this patch but i think something
> went wrong and the list never recieved mine email. )
>
> I have also some questions:
> * Does the win32 interface also have a message queue like the Gtk
> interface? And if not
> should it also have one (for combining paint messages?)
> * Why is there a FinalizePaintTagMessage in PeekMessage for LM_GTKPaint
> and not for LM_Paint?
> * What is the difference between LM_GtkPaint and LM_Paint
>
> Changes:
>
> * Cleaned up some code in GTk interface
> * new unit with TGtkMessageQueue/TGtkMessageQueueItem
> - Moved code from Interface to this unit.
> - Removed duplicate code such as:
> * Hash calculation for fPaintMessage
> * destroy/removal of messages
> * IsPaintMessageCheck
> etc...
> - moved fPaintMessage to TGTkMessageQueue (more transparant
> handeling)- Make adding/removel of message queue less error prone.
> etc.. etc..
>
> Saluti,
>
> Jer
>
--
More information about the Lazarus
mailing list