[Lazarus] What's going on with GTK on lazarus 1.0.2 from SVN?
Torsten Bonde Christiansen
tc at epidata.info
Mon Oct 22 11:05:55 CEST 2012
On 2012-10-19 20:55, Krzysztof wrote:
> Hi,
>
> Are some serious changes implementing in GTK interface right now? I'm
> the author and maintainer of BGRA Controls package which are using
> BGRA Bitmap package for drawing. Issues:
>
> 1. First, I can't compile BGRA Bitmap package without comment line:
>
> {ifdef LCL_GTK2}
> type TGtkDeviceContext = TGtk2DeviceContext;
> {$endif}
>
> What happened with TGtk2DeviceContext? This same with other non-BGRA
> controls like VirtualTreeView (but there is more GTK errors than only
> TGtk2DeviceContext )
>
> 2. BGRA Controls are using simple BGRA Bitmap api for drawing:
> BGRABitmap.Draw(Canvas, 0,0,false). This code worked from a several
> years, but now seems that GTK coordinates are different. If I drag (or
> in runtime) some BGRA Control on center of the form, I don't see what
> is drawed, just transparent frame, but If I move control to left-top
> corner then I see control body. Seems that GTK is starting drawing
> from form canvas, not control.
>
> I notified this a few days ago, I thought that this is some temporary
> issue, but with today trunk is the same problem.
>
> Regards, Dibo
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
This also affects LCLExtension (v0.5) from
http://code.google.com/p/luipack/downloads/list
which cannot compile due to this.
Regards,
Torsten.
More information about the Lazarus
mailing list