Thread View: alt.lang.basic
1 messages
1 total messages
Started by David Steffen
Mon, 04 Jan 1993 15:24
Macintosh Quickbasic: Can you draw in (24 bit) color?
Author: David Steffen
Date: Mon, 04 Jan 1993 15:24
Date: Mon, 04 Jan 1993 15:24
27 lines
1662 bytes
1662 bytes
My 11 year old son and I am enthusiastic users of Microsoft Quick Basic on the Mac. (We are running it on a color LC). For some of the stuff we would like to do, we need access to color quick draw to use the 8 bits of color (256 colors) available on this machine. This version of basic does not support this directly, nor does it in the included libraries, nor does it in the supported ROM calls. Thus, if it is possible to do this at all, one would need to write code resources (e.g. in Think C) to do it. I have figured out how to use color quickdraw in Think C. In order to get more than the 8 colors available in the original quick draw, it is necessary to use a color grafport, which you normally set up when you set up your window. Basic, as best I can tell, does not do this, thus limiting you to old quickdraw. I have thought of some ways around this limitation (e.g. modification of the grafport in the existing window) that I plan to try, but if anyone else has already solved this I would appreciate hearing about this. Thanks! -- David Steffen Department of Cell Biology, Baylor College of Medicine, Houston TX 77030 Telephone = (713) 798-6655, FAX = (713) 790-0545 Internet = steffen@bcm.tmc.edu
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads