[Pharo-users] How to draw a Morph with Athens?

MartinW wm at fastmail.fm
Sun Mar 30 11:34:29 EDT 2014


Igor Stasenko wrote
> u you u no draw morphs by athens :)
> 
> - use AthensWrapMorph.
> put as many submorphs into it, and they all will be drawn via Athens.
> eventually, the need in wrap morph will disappear once WorldMorph (the
> root
> of all morphs) start using Athens directly.

Ok, thank you, that's nice.
What is the intended use - subclass AthensWrapMorph instead of Morph for my
own Morphs, or make my Morphs subclasses of Morph as usual and always create
a AthensWrapMorph and then add them as submorphs?

M.




--
View this message in context: http://forum.world.st/How-to-draw-a-Morph-with-Athens-tp4751463p4751715.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.




More information about the Pharo-users mailing list