[lazarus] Win32 fpimage support + cleanups (affects gtk)

Micha Nelissen M.Nelissen at student.tue.nl
Fri Nov 14 02:09:46 EST 2003


Mattias Gaertner wrote:

> On Thu, 13 Nov 2003 21:34:01 +0100
> Micha Nelissen <M.Nelissen at student.tue.nl> wrote:
> 
> 
>>Mattias Gaertner wrote:
>>
>>>The penguin is like any other penguin black and white.
>>>If you got colors, then
>>>- the xpm color map loading is buggy
>>>- the creation of the pixels is buggy.
>>
>>Do the raw images support ByteOrder already? I changed it, but it 
>>doesn't seem to have an effect. I also can't find any mention of 
>>ByteOrder intfgraphics.pas.
> 
> 
> No, it does not yet. I thought, we need it for powerpc, not intel. Feel free
> to implement.

That's because intel is the 'illogical' way, the bytes are reversed 
relative what you think it should be, like: 3 2 1 0 7 6 5 4 ... 3 is 
least significant; i use low significance = low memory address :). 
Powerpc is the 'right' way.

Micha.







More information about the Lazarus mailing list