On Mon, 05 Feb 2007 09:52:50 -0300
Luiz Americo Pereira Camara <[EMAIL PROTECTED]> wrote:

> Mattias Gaertner wrote:
> >>   - Should i implement GetCurrentObject?
> >>     
> >
> > IMO it would be better to improve TBitmap.
> >   
> Currently TBitmap uses GetObject, so implementing it will also
> benefit TBitmap. I'll take a look and keep you informed.

It uses it, but contrary to the VCL the LCL TBitmap leaves all
implementation details to the widgetset. It uses only parts of the
header information like width and height - the minimum set that works on
all platforms.
We have to extend the tagBitmap record, or replace the GetObject call
in TBitmap with a more platform independent one. IMO the latter would
be better.


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to