[lazarus] GTK team: please specify!
nc-gaertnma at netcologne.de
Tue Nov 4 15:17:39 EST 2003
On Tue, 04 Nov 2003 14:24:31 +0100
Micha Nelissen <M.Nelissen at student.tue.nl> wrote:
> 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 :).
Grid alignment lines? :)
I guess, you mean the blue and green guide lines.
> things drawn onto controls are left behind. I assume nothing is drawn
> into controls DC's anymore, only to the designer DC?
Markers and grids are painted per control paint messages.
The invalidate rectangles are not big enough. Not a big thing. This is a
known issue. Although with the new technique it appears more often.
More information about the Lazarus