[lazarus] GTK team: please specify!

Micha Nelissen M.Nelissen at student.tue.nl
Tue Nov 4 08:16:35 EST 2003

Mattias Gaertner 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.
> Now we have to implement the new coord function for the win32 and the gtk
> interface and then it should work under both. The function should return the
> origin of a DC relative to the screen or the form. At the moment under gtk
> this is GetWindowOrgEx. But as Micha pointed out, this is wrong and need to
> be fixed.

I have implemented GetDesignerDC for win32. Screen relative positions. 
Works reasonably well. I can see the grid alignment lines now :). But: 
things drawn onto controls are left behind. I assume nothing is drawn 
into controls DC's anymore, only to the designer DC?


More information about the Lazarus mailing list