----- Original Message -----
From: "Panagiotis Sidiropoulos" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, March 04, 2006 9:41 AM
Subject: [lazarus] ipHTMLPanel Selection paint
> On Windows version of Lazarus I added a small part of code in order to
> paint selected part of page viewed. it seem it is never called. This
> same addition to Linux version of Lazarus does not afect selection is
> painted.
>
> Addition made in ipHTML unit about line 8040.
>
> {$IFDEF IP_LAZARUS}
> file://DebugLn('TIpHtml.PaintSelection PatBlt not implemented');
> BitMapToInvert := TBitMap.Create;
> BitMapToInvert.Width := R.Right - R.Left;
> BitMapToInvert.Height := R.Bottom - R.Top;
> BitMapToInvert.Canvas.CopyMode := cmMergePaint;
> BitMapToInvert.Canvas.CopyRect( Rect( 0, 0, BitMapToInvert.Width,
> BitMapToInvert.Height ), PaintBuffer, R );
> PaintBuffer.CopyRect( R, BitMapToInvert.Canvas, Rect( 0, 0,
> BitMapToInvert.Width, BitMapToInvert.Height ) );
> BitMapToInvert.Free;
> {$ELSE}
> PatBlt(PaintBuffer.Handle, R.Left, R.Top, R.Right - R.Left, R.Bottom -
> R.Top, DSTINVERT);
> {$ENDIF}
>
> By default ipHTMLPanel paints selected region (white chars on black
> background), but SelectAll methos oes not paint. Project is compiled for
> gtk2.
>
> Panagiotis
>
This section of code it's not called anymore since selection is now painted at
the same time content is rendered, if selectAll do not work it's a bug. Please
submit a bug report.
Jesus Reyes A.
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.yahoo.com.mx/
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives