[lazarus] GTK team: please specify!

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Nov 7 11:01:24 EST 2003


On Wed, 05 Nov 2003 00:18:30 +0100
Marc Weustink <marc at dommelstein.net> wrote:

> At 00:08 4-11-2003, you wrote:
> >On Mon, 03 Nov 2003 23:40:18 +0100
> >Marc Weustink <marc at dommelstein.net> wrote:
> >
> > > > > >Where does that leave us?
> >
> >I have implemented the new interface function GetDesignerDC. The designer
> >now uses this to draw the Grabbers, Guide Lines, Non Visual Component
> >Icons and the Rubberband. This means the designer now paints these items
> >only once and on top. It does not accelerate much, because the designer
> >used clipping. But at least there is now no control left, that hides the
> >icons.
> 
> Wow :-)
> 
> I didn't know that you could draw on top of other controls. I always 
> thought that the controls whithin a window were painted after the form was
> 
> painted.

Correct. (hehe. Now you are confused, right? )


> Something learned today.
> 
> Only one small bug found when you move a component to the right (or 
> bottom),  off the form. The grabbers are pushed off while the icon stays
> at the border

See my other mail. I'm not yet sure, if it is a bug of the paint or the
invalidate part of the designer.


Mattias






More information about the Lazarus mailing list