Re: [Lazarus] RE : RE : gtk2 TCustomControl.Paint, InvalidateRect

2011-07-09 Thread Armin Diehl
-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- GrĂ¼sse Armin Diehl a...@ardiehl.de -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] RE : gtk2 TCustomControl.Paint, InvalidateRect

2011-07-08 Thread Armin Diehl
as.ClipRect returns the area masked by the other window. So, this could even be a window manager "thing". Ludo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/l

Re: [Lazarus] gtk2 TCustomControl.Paint, InvalidateRect

2011-07-07 Thread Armin Diehl
I have tried the same under gtk1, works fine, ClipRect returns only the rect to be updated and not the rect of the full window. Looks like a bug in gtk2 since it works fine under windows and gtk1. Any idea what i can do ? On 07/01/2011 04:37 PM, Armin Diehl wrote: I have a problem with

[Lazarus] gtk2 TCustomControl.Paint, InvalidateRect

2011-07-01 Thread Armin Diehl
I have a problem with InvalidateRect with gtk2 on linux, Canvas.ClipRect always returns the full area and not the rect that needs to be updated. Under windows, everything works fine. My problem is that within a terminal emulation program i have to draw a blinking cursor (250 ms) and blinking cha