[Newbies] Adding new types of Connectors

Rob Rothwell r.j.rothwell at gmail.com
Sat Mar 21 16:56:48 UTC 2009


Oh...I see...the Connectors package works with any Morph...!

I'll try what you mentioned...thanks!

Rob

On Sat, Mar 21, 2009 at 12:19 PM, Bert Freudenberg <bert at freudenbergs.de>wrote:

>
> On 21.03.2009, at 15:37, Rob Rothwell wrote:
>
> Hi all,
>
> Any advice on where to start to add new types of Connectors?  I'd just like
> a "Decision" connector ( a diamond shape that I could type some text into)
> to graphically create some algorithms for a project I am working on.
>
>
> You mean like the "Text Ellipse" and "Text Rectangle"? Look
> at NCEllipseMorph, you basically just need to change the drawOn: method.
>
> OTOH you can do this without coding, just take a polygon to make the
> diamond shape and embed the text in it. For convenience, adjust the layout
> to keep the text centered, and your done.
>
> - Bert -
>
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20090321/99c28be5/attachment.htm


More information about the Beginners mailing list