[lazarus] My opinions

Shane Miller SMiller1 at stvgb.org
Mon Oct 25 13:34:17 EDT 1999


We could add the SELF to the message stuircture that we send.

Hey Cliff, on an offshoot of this topic, does QT use the fcomponent that we are using for GTK or are you ignoring it?  I'm wondering if it should be moved out into a different class if QT and WIN32 aren't going to use it.

Shane


>>> "Baeseman, Cliff" <Cliff.Baeseman at greenheck.com> 10/25/99 11:40AM >>>
If we do that we also need to make sure to pass the object since in win32
and QT I need to ident the object making the call...

Cliff

-----Original Message-----
From: Shane Miller [mailto:SMiller1 at stvgb.org] 
Sent: Monday, October 25, 1999 11:11 AM
To: lazarus at miraclec.com 
Subject: Re: [lazarus] My opinions


Florian brings up a good point. We COULD call the functions directly in SOME
cases, like drawpixel as long as we made sure that each ???object.pp file
has those functions in them.  This certainly would speed things up.   

I like the send message function because then we only need to have one real
public function in the object interface (gtkinterface class) but if we were
able to call the functions directgly, we would aviod the large CASE
statement but then we would have to make sure that we add a function called
DRAWPIXEL in the win32 interface, the QT interface, etc.  I think in this
case that would work though....

Thoughts?

Shane


>>> Florian Klaempfl <Florian.Klaempfl at gmx.de> 10/23/99 01:43PM >>>
Cliff Baeseman schrieb:
> 
> Trust us we have been up and down the road with this thing. The messaging
> interface does not place a big hit on performance since we are using
> pointers for almost everything.

But the message dispatching takes a lot of time (compared with a direct
virtual call), remember my drawpixel example!

_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject
    archives at http://www.miraclec.com/list_archives/lazarus 

_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject
    archives at http://www.miraclec.com/list_archives/lazarus 

_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject
    archives at http://www.miraclec.com/list_archives/lazarus






More information about the Lazarus mailing list