Re: [Pharo-users] Spec + Graphics?
Thanks, Sean! I think I've found the adapter you referred to - MorphicTickingWindowAdapter. It seems that TickingSpecWindow and TickingWindowModel would be used in conjunction with it. Cheers, Dan On Fri, Nov 30, 2018 at 11:13 PM Sean P. DeNigris via Pharo-users < pharo-users@lists.pharo.org> wrote:
Dan Wilczak wrote
I'm interested in using Pharo to create a simulation
Sounds like a cool project!
Dan Wilczak wrote
Can I use Spec for such a thing?
Yes, for the vanilla parts you described e.g. toolbar
Dan Wilczak wrote
I don't see any way to embed a graphical pane in a Spec application
There is a Morphic adapter, but I don't have an image at hand to give you more detail.
Dan Wilczak wrote
Bloc and Sparta look very appealing but aren't officially released yet.
Yes, ATM Morphic is the standard option. Hopefully, Bloc will be ready to replace it soon.
----- Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Dan Wilczak wrote
I think I've found the adapter you referred to
I think you send #asSpecAdapter to your Morph, which returns an instance of MorphicGenericAdapter. HTH ----- Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
On 2 Dec 2018, at 02:19, Sean P. DeNigris <sean@clipperadams.com> wrote:
Dan Wilczak wrote
I think I've found the adapter you referred to
I think you send #asSpecAdapter to your Morph, which returns an instance of MorphicGenericAdapter. HTH
Yes, you can add any morph to a spec presentation by sending #asSpecAdapter. Esteban
----- Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
participants (3)
-
Dan Wilczak -
Esteban Lorenzano -
Sean P. DeNigris