CompuServe Thread

#CheckMark color probs…

5 messages in this thread
#55936From: Tim CoffeyJul 5, 1989 5:22 PM
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
#55961From: Patrick MaloneyJul 5, 1989 8:17 PM
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
#55991From: Tim CoffeyJul 5, 1989 10:37 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?
#56077From: Patrick MaloneyJul 6, 1989 9:52 PM
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…
#55992From: Tim CoffeyJul 5, 1989 10:38 PM
That last one should have read 'number of bits Blitted to from EACH LINE of the checkmark is Image.Width