Athens question - #openInSceneView

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Athens question - #openInSceneView

Torsten Bergmann
If I understand correctly #openInSceneView wraps a morph in an
Athens scene. I tried some examples:

 "Smalltalk ui icons configIcon asMorph openInSceneView"
 "BorderedMorph new openInSceneView"

First two work, but the third:

 "EllipseMorph new openInSceneView"

brought up a yellow morph - but as rectangle not as ellipse
like in "EllipseMorph new openInWorld".

Havent looked deeper. Incomplete or a bug?

Thx
T.

 



 

Reply | Threaded
Open this post in threaded view
|

Re: Athens question - #openInSceneView

jrick
Incomplete, though EllipseMorph would be quite easy to implement. You would have to implement drawOnAthensCanvas: on EllipseMorph. It is currently just inheriting that from Morph.

Cheers,

Jeff


On Wed, Feb 12, 2014 at 10:09 PM, Torsten Bergmann <[hidden email]> wrote:
If I understand correctly #openInSceneView wraps a morph in an
Athens scene. I tried some examples:

 "Smalltalk ui icons configIcon asMorph openInSceneView"
 "BorderedMorph new openInSceneView"

First two work, but the third:

 "EllipseMorph new openInSceneView"

brought up a yellow morph - but as rectangle not as ellipse
like in "EllipseMorph new openInWorld".

Havent looked deeper. Incomplete or a bug?

Thx
T.










--
Jochen "Jeff" Rick, Ph.D.
http://www.je77.com/
Skype ID: jochenrick
Reply | Threaded
Open this post in threaded view
|

Re: Athens question - #openInSceneView

Igor Stasenko



On 14 February 2014 15:57, J.F. Rick <[hidden email]> wrote:
Incomplete, though EllipseMorph would be quite easy to implement. You would have to implement drawOnAthensCanvas: on EllipseMorph. It is currently just inheriting that from Morph.

Right.
 
Cheers,

Jeff


On Wed, Feb 12, 2014 at 10:09 PM, Torsten Bergmann <[hidden email]> wrote:
If I understand correctly #openInSceneView wraps a morph in an
Athens scene. I tried some examples:

 "Smalltalk ui icons configIcon asMorph openInSceneView"
 "BorderedMorph new openInSceneView"

First two work, but the third:

 "EllipseMorph new openInSceneView"

brought up a yellow morph - but as rectangle not as ellipse
like in "EllipseMorph new openInWorld".

Havent looked deeper. Incomplete or a bug?

Thx
T.










--
Jochen "Jeff" Rick, Ph.D.
http://www.je77.com/
Skype ID: jochenrick



--
Best regards,
Igor Stasenko.