Organization: Aiken Computation Lab, Harvard University
Lines: 44
In article <Bs4CJs.67E@news.cso.uiuc.edu>, tinsel@uiuc.edu (Thomas Aaron Insel) writes:
|> patf@silvlis.com (Pat Fitzgibbons) writes:
|>
|> > 2. How do people get artwork into their C programs ?
|> > My girlfriend is an artist and can draw
|> > phenominal things on a computer. How do
|> > I use these drawings in a program ? Does
|> > she just use some sort of paint program
|> > and run something to convert the drawings
|> > or is there a special tool for drawing
|> > things for a C program ?
|>
|> This bit is easy. No conversion, and very few special tools
|> are needed. Draw your picture in a paint or drawing program, and
|> copy it to the clipboard as a PICT (the usual format for
|> cut-n-paste of pictures). Then, use ResEdit to paste these
|> into your program's resource file as PICT resources. When you
|> want to use one, you can load it with GetPicture() and display
|> it one of many ways--Quickdraw has many commands for manipulating
|> and displaying pictures, or you can set a window to automatically
|> display a certain picture (so you don't have to worry about
|> update events and such). The details for just about all of this
|> are in Inside Macintosh I.
|> --
|> Thomas Aaron Insel (tinsel@uiuc.edu)
|> I speak for myself, and not for the State or University of Illinois.
|> "We must not confuse dissent with disloyalty." -- Edward R. Murrow
I don't know about hte rest of you, but I find Inside Mac a bit difficult for a beginner to Macintosh programming. First of all, there is the language problem :
Inside Mac is written in pascal pretty much. It is a pain if you want to translate things as a beginner, such as str255 types, etc. I think the best toolbox programming manual I can find (of course, you should STILL HAVE Inside Mac, just don't rely onit... simply reference it) is called :
Macintosh Programming Primer -- Programming in the Toolbox using Think C
I forget the name of the author
This book has two volumes... the first so far is all I have needed, and it
has a second edition that has special descriptions for System 7, Mac II, color, Resedit 2.1, etc...
However, the second volume still doesn't have a second edition, so it is still stuck in System 6, and worst of all, Resedit 1.something, which is unacceptable to me, since all my Rsedit stuff is 2.1.1, and I am too accustomed to it to try to translate 1.whatever to 2.1.1.
-- Venk Reddy --
PS: This book explains that resource file in Rsedit that Thomas above explained
PPS: Does anyone know if this book/when this book will have a second edition for the second volume? Thanks in advance...