Satoshi
mmm, I still have a "rotated 270 degree" problem. May I read your source?
rotated 270 degree on Windows (I try in lab), Ned also predicts this. Reading all restoreEndiannes, I choose
restoreEndianness "This word object was just read in from a stream. Bitmaps are always compressed and serialized in a machine-independent way. Do not correct the Endianness." "^ self" ^ self
In Bitmap class. All versions from 3.2 gamma, perform the same, no problem for me,
Sorry if I wasting you time.
I think what following all the way what happened when we save a ³.project² , found the problem. Also, I not sure what difference in ³.project², ³pr², and ³.morph² Saving all like ³.pr² , the Big Endian don¹t catch us.
I send current cs. Also includes a missing PolygonMorph flipX , a SmartTrashCan what eats all morphs of the same class (I do puzzles and games and end with many equal morphs in World), a InfoMorph what inform mouse position and camera. Load this and then the .pr. And if useful to you , change for flap sharing in all projects,
When I have time read http://nishis.hoops.ne.jp/misqueak/reports20020822.html,
You can have a morph which responses to red yellow, blue buttons and do something on this? I could do responsens to click, doubleclick, but no click and have a menu (yellow),
Using
handlesMouseDown: anEvent self eventHandler ifNotNil: [^ self eventHandler handlesMouseDown: anEvent]. anEvent yellowButtonPressed ifTrue: ["Yellow button - Agregar codigos de menu" self color: Color yellow. ^ true]. anEvent blueButtonPressed ifTrue: [self color: Color blue. ^ true]. anEvent redButtonPressed ifTrue: ["Red button - Cambiar codigo de click" self color: Color red. ^ true]. self mouseDown: anEvent
The morph changes color , but can¹t don next logical action (ej: click or menu)
Sorry to much Spanish in code.
Cheers
Edgar