Page 1 of 1

PostPosted: Fri Feb 24, 2006 2:09 am
by tonyhunterajh
How in the world do I create color icons? I created .bmp files 32x32, 15x9, 64x64. I used 16 bit and true color but my icons show up black and white. Are there any good tips on what I should do?


PostPosted: Fri Feb 24, 2006 4:09 pm
by MN OrbUser
Tony, here is some code from one of my apps:

icon {
small1 = "Qcalc_small1.bmp"
small8 = "Qcalc_small256.bmp"
large1 = "Qcalc_large1.bmp"
largeh16 = "Qcalc_largeh256.bmp"

The main thing (other than the device has to support color) is that in smallX, largeX or largehX is that the X is 8 or 16 for color (4, 2, and 1 are for b/w or shades of gray). This is documented in the help file under PocektC Architect Basics\OrbC resource language (or use the index tab in the help file and look up icon).