FAQ: How can I give my Morphic world a wallpaper?
Last updated at 4:37 pm UTC on 12 March 2004
Cooking up a BookMorph: Try the following:
| img |
img := GIFReadWriter formFromFileNamed: 'image.gif'.
World color: (InfiniteForm with: img).
You can also use the FileList's 'background' feature to do so. It supports Squeak's common file format (GIF, JPG, PNG, Form storeOn: (run coded) and BMP). This feature works in MVC world as well. To proceed, you need to open a FileList. Search for your favorite wallpaper and then select it with the yellow button. If you chose a valid supported file, you should see 'background'. Select it and voila. – Ian Trudel
Last update [01-Mar-03] chbu