Nikita Egorov schrieb:
>>> I'm using FLTK 1.1.9, ELDK (http://www.denx.de/wiki/DULG/ELDK) and a
>>> Freescale MPC5200.
> 
>>> It looks a bit like a little/big-endian problem. Is this known Problem?
>>> And are there some special libraries I can use for PowerPC (I guess the
>>> problem is in library fltk_images...?)
> 
> I worked with this MPC5200 and had similar problem too. My problem with the 
> device was in _twisted_ bytes in colors representation. Graphics subsystem 
> works with color as LitteEndian. But CPU, as you know, is BigEndian. The FLTK 
> image library cannot work with such bytes sequence. To resolve these troubles 
> I had made special workarounds.
> 

@ Nikita Egorov: What were your special workarounds?

I want to use Pixmap and Bitmap (32bit)... It seems that somewhere the 4 
bytes (alpha-chanel included) are changed. Both pixmap and bitmap are 
shown in the wrong colors. But if i want to show white, it is yellow... 
For me that is a hint, that alphachanel is also exchanged with the 
color-bytes.

Does anyone of you have an idea, where i have to make the change? I'm no 
very familiar with this "deep inside code" (but i hope one day i will be 
:-) )

FLTK: 1.1.8
Crosscompiler: ELDK
Prcessor: MPC5200

Thanks!
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to