[Pharo-dev] Roassal Question

Alexandre Bergel alexandre.bergel at me.com
Tue Nov 26 11:56:57 EST 2013


Does the following helps?
-=-=-=-=-=-=-=-=-=-=-=-=
| view  shape morph |
view := ROView new.
100 timesRepeat: [ 
	shape := ROEllipse new size: 40; color: (Color green alpha: 0.5).
	view add: shape element ].
view elements do: [ :el | el translateTo: 500 atRandom @ 500 atRandom ].


morph := ROAthensMorph on: view.
morph extent: 500 @ 500.
morph openInWindow
-=-=-=-=-=-=-=-=-=-=-=-=

If you do not use Athens, then replace “ROAthensMorph” by “ROMorph”

Alexandre

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Nov 26, 2013, at 12:51 PM, Goubier Thierry <thierry.goubier at cea.fr> wrote:

> Hi all,
> 
> does anybody knows how to integrate a ROView inside a Morphic GUI ?
> 
> Regards,
> 
> Thierry
> -- 
> Thierry Goubier
> CEA list
> Laboratoire des Fondations des Systèmes Temps Réel Embarqués
> 91191 Gif sur Yvette Cedex
> France
> Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
> 





More information about the Pharo-dev mailing list