#CheckMark color probs…
5 messages in this thread
The system checkmark is a public structure, so don't mess with it's pen colors.
You will have to define your own checkmark (easy) and set the
colors/planepick/planeonoff values to reflect what you want.
Tim
Yes, I have defined my own checkmark using an Image structure. I am having a
problem. When the Autodocs say data must be WORD-ALIGNED, does that mean that,
for example, for a 20 x 10 image, the 1st line of the 1st plane is:
0xFFFF,0xF000 where the last 3 zeros refer to nothing? (Assuming I wanted the
1st plane selected for all 20 points), and assuming I wanted the whole plane
filled with 1's (Could use PlaneOnOff, but for the example…), there would be
nine more "0xFFFF,F000"'s? I am having a problem with garbled data in the
Image. I will try a different BRUSH to C program first…Thanks for the help
so far…PM
Yes, the system checkmark is defined with extra 0's on EVERY scan line. The
number of bits Blitted to form the checkmark is determined from Image.Width .
Get it?
Re: CheckMark problem. My whole problem was that I did not specify the Image
data as CHIP memory… The data was correct in my Image structure…
That last one should have read 'number of bits Blitted to from EACH LINE of the
checkmark is Image.Width