2009/2/9 Michael Rueger <m.rueger@acm.org>:
Marcus Denker wrote:
http://gforge.inria.fr/frs/download.php/17057/Pharo0.1Core-10231.zip
Wouldn't it make sense to set the display to little endian rather than big endian with all those intel machines out there?
I poked with this logic a little, trying to understand how to make bits ordering be same as platform. But its quite confusing. I'm not really happy seeing in C sources, a routines which reordering bitmap bytes before putting them on screen, and then reverting them back. See ioShowDisplay(), reverse_image_words(), reverse_image_bytes() functions. If depth filed of form is negative, it indicates that form's bitmap is stored in little endian format, and if positive - in big endian.
Michael
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.