[noob] Using a TransformMorph
greenbes at puzzlingevidence.net
Sun Nov 13 23:49:31 UTC 2005
On 11/13/05, Peace Jerome <peace_the_dreamer at yahoo.com> wrote:
> Hi Steve,
> From what you've written my belief is that you want to have a thumbnail
> of your inactive project and highlight it when the mouse goes over it. While
> expanding the image would highlight it why not just highlight the border by
> changing its color or expanding its width or both.
> The reason I ask is that would performance wise be lighter on the system.
> I am writing also because I recently implemented a couple of thumbnail
> The change sets available right now at http://22.214.171.124/super/657 (see
> the bottom of the page).
> It does resizable thumbnails and popup thumbnails (they pop up the
> original size image when clicked.)
> The red menu has a target sighting item that allows any morph image to be
> I will need some tweaking to make it do what you intend but its not a bad
> place to start.
> I'd stay away from the Transform morph for what you want to do. It has
> some negative side affects on the image.
> You might also look into what bitfillStyle does. Thats another easy way
> to expand and contract an image.
> Yours in service, -(wiz) Jerome Peace
> *Sat Nov 12 15:08:15 CET 2005* *Steve Greenberg wrote*
> >Hi. I'm still messing around with squeak in my spare time and having a
> blast. Honestly, this is the most fun I've had programming in a very long
> Anyway, I have a Morphic question, and I'd apreciate it if somebody could
> point me in the right direction.
> I would like to make an object that can grow and shrink depending upon
> whether it's "active" (as defined by my application).
> When active, it should be a regular morph that I can work with and move
> around the screen. It'll have submorphs, layout, etc.
> When inactive, I want it to shrink down to a thumbnail that can live on my
> squeak desktop - like Projects do. When it's in thumbnail mode, I want
> mouseover to cause it to expand slightly, and contract back to thumbnail
> size when the mouse leaves.
> Yahoo! FareChase - Search multiple travel sites in one click.<http://us.lrd.yahoo.com/_ylc=X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2ODgxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3a//farechase.yahoo.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev