Morphic help
Lynn Hales
lhales at earthlink.net
Sun Oct 24 22:15:43 UTC 2004
Hello Stéphane, Wow, very interesting work. Thanks for the reply.
You've given me a lot to look at. Thanks again. Lynn
Saturday, October 23, 2004, 12:28:15 AM, you wrote:
SR> I'm not familiar with system windows, but I did exactly what you
SR> describe using book morphs
SR> if you have a fast access, get the image at this page:
SR> http://www.zogotounga.net/comp/squeak/sqgeo.htm
SR> (it's a 19 Mb download)
SR> then open the left-side 'MGraph' flap and grab a bookmorph there (the
SR> last object, bottom right).
SR> click the '...' button at the top right of the book. more buttons
SR> appear. click the '+' one: you get a menu, select 'scrollable page'.
SR> drop any morph there and play with the scroll bars...
SR> you can also resize the book morph at will
SR> if you can not download the image, tell me and I'll send you some code.
SR> if you do get the image, well you will have won an experimental musical
SR> composition system. congratulations :)
SR> hope this helps,
SR> Stef
SR> Lynn Hales wrote:
>> I'm going crazy trying to simply create a SystemWindow with horizontal
>> and vertical scroll bars and programmatically add morphs and
>> connector morphs to it. I want to be
>> able to select and move morphs without having to alt left click until
>> I get the popup menu for the morph. I
>> also want to be able to resize the System Window and have all
>> submorphs behave.
>>
>> It seems to me I need to:
>> 1. create SystemWindow
>> 2. add a pasteUpMorph to it.
>> 3. set the pasteUpMorph to be large ( larger than the systemWindow,
>> but have its upper left corner always coincide with the upper left
>> corner of the systemWindow.
>> 4. have the scroll bars on the systemWindow scroll around to different
>> locations on the pasteUpMorph.
>> 5. Be able to drop or programmatically add morphs to the pasteUpMorph
>> at the dropped positions or at the programmatically determined
>> positions.
>>
>> Could someone give me some pseudo code for me to work from or
>> pointers or tell me where my assumptions are wrong.
>>
>>
--
Best regards,
Lynn mailto:lhales at earthlink.net
More information about the Squeak-dev
mailing list
|