[lazarus] My opinions

Florian Klaempfl Florian.Klaempfl at gmx.de
Mon Oct 25 15:59:21 EDT 1999


Shane Miller wrote:
> 
> 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.

This should be no problem, you make simple an abstract class where all procedures are
declared as abstract.

> 
> I like the send message function because then we only need to have one real public function in the object interface 

What's the problem with having more public functions ? I would even propose don't putting
everything in 
gtkinterface class, but is a matter of taste I think, but it would lead to a little bit
more structured
class library.


I don't know who is currently working on the graphics unit, if you want me I can implement
the graphics
stuff at least for win32/gtk as I propose.


> (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....







More information about the Lazarus mailing list