[lazarus] GTK team: please specify!

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Nov 8 17:55:55 EST 2003


On Fri, 07 Nov 2003 18:38:56 +0100
Micha Nelissen <M.Nelissen at student.tue.nl> wrote:

> Mattias Gaertner wrote:
> 
> > On Wed, 05 Nov 2003 17:27:21 +0100
> > Micha Nelissen <M.Nelissen at student.tue.nl> wrote:
> > 
> >>Do you call InvalidateRect too on the control on which is painted? The 
> >>grabbers, for example, are partly on form, partly on control. 
> >>InvalidateRect is being called for the form, but is it called for the 
> >>control too?
> > 
> > 
> > No. The following is used:
> > 
> >      InvalidateRect(FForm.Handle, at OldRect,false);
> 
> Ok, I have implemented an InvalidateRect-invalidates-children-too type 
> of InvalidateRect. I believe it's now compatible to the gtk bugs :), 
> e.g. the small lines left behind.
> 
> > I'm not sure, if the boundings are always correct. This is a non
> > deterministic process. I have to debug this someday.
> 
> Good luck! ;)

Bad luck for you. ;)
The designer works nice. It simply invalidates everything, where it has
painted. All the bugs for the gtk intf are in the gtk itself. So, I guess,
there are some bugs left in the win32 intf.


Mattias



>. I will also see if I can find something, but don't count 
> too much on it :).
> 
> Micha.
> 
> 
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives


-- 






More information about the Lazarus mailing list