[Newbies] Drag and dropped jpg (playing cards) - how to put in
the "new morph" menu and create a PlayingCard class?
p3anoman at gmail.com
Mon Oct 26 01:33:57 UTC 2009
Why not use code to bring in the images. SketchMorph fromFile: aFilename
could be useful in a Workspace.
On Sun, Oct 25, 2009 at 2:29 AM, Mike Stramba <mikestramba at gmail.com> wrote:
> I'm runninng squeak 3.10.2 on windows XP.
> If I drag and drop a jpg onto Squeak, it creates a SketchMorph.
> Specficially, I'm adding a playing card image, well 52 of them, and
> I'd like to be able to add a card from the world menu / new morph
> I'd also like to create a PlayingCard class, that uses the dropped jpg.
> At the moment I'm doing it the "hard way", after dropping the jpg, I'm
> digging through system dictionary, digging out the world objects, and
> "drilling down" to the dropped object.
> Any tips, info appreciated.
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners