Page 1 of 1

PostPosted: Thu May 02, 2002 12:18 pm
by Ringmaster
I'm trying to write an app that will work on both color and grayscale systems. I have two questions:

1) If I want to set clrFG to a grayscale value that will work on a grayscale palm, what color index do I use?

2) How do I determine the bit depth from within a gadget? (The app object isn't declared until the project definition, so it's not defined within a gadget.)