[lazarus] cvs changes & message for Shane

Marc Weustink weus at quicknet.nl
Fri Dec 31 03:59:32 EST 1999


At 10:16 31-12-99 +0100, you wrote:
>On Thu, Dec 30, 1999 at 02:30:41PM -0600, Shane Miller wrote:
>> sounds like the color problem.  Are you running at 8 bit's color depth?
>
>No, 16bpp.
> 

Try switching to 8bpp or change (temporary) the following line:

constructor TBitmap.Create;
begin
  inherited Create;
  // change to pf16bit
  FPixelFormat := pf8bit; 
  FCanvas := TBitmapCanvas.Create(Self);
end;

I'm working on a pfDevice support,so in a few day it should be fixed.

Marc








More information about the Lazarus mailing list