...correct color index which needs to be transparent.
I always use index 255 for transparent so I used:
GpTransBlt(NULL,
&gpDraw[nflip],
cursorcol * BALL_WIDTH, cursorrow * BALL_HEIGHT,
BALL_WIDTH, BALL_HEIGHT,
(unsigned char*)gpi.pImage,
7 * BALL_WIDTH, 0,
balls_width, balls_height...