Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - msm_setgraphcur http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                             msm_setgraphcur

   Usage
   #include <msmouse.h>
   void msm_setgraphcur(int hotx, int hoty, int *pmasks);

   Description
   Set the graphics cursor block. On entry to the function hotx and  hoty
   should point to the location of the 'hot spot' of cursor. Values  must
   be in the range -16...16. Location 0,0 is the upper left corner of the
   cursor  with  positive values extending right and down.  The  variable
   pmasks  should point to an array of 32 words which contain  bit  masks
   defining  the  cursor. The first 16 words define the  mask,  that  is,
   which  bits  of the background 'shine' through the cursor. A  1  means
   shine through, a 0 means not. The second 16 words define the bitmap of
   the cursor, 1 being on and 0 being off. The cursor is 16*16, the first
   word forms the top row, bit 15 forms the left-most column.


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson