View Full Version : Colour Pointers in C Graphics
vsriharsha
03-27-2002, 12:38 PM
This is something i really need.
Can someone tell me how to use coloured cursors instead of the boaring B/W cursors through C under DOS.
I believe no service under interrupt 0x33 (mouse interrupt) is given for colours...
DavidP
03-27-2002, 04:45 PM
you make your own bitmap and floodfill it with whatever color you want the cursor to be.
lol...when i first read the title i was like, "you mean pointers to variables can be different colors! cooooll...." but you meant cursors....:(
i wanted to make my int pointers green...
vsriharsha
03-28-2002, 12:53 AM
I've not left that Idea Buddy...
I've created a bitmap that I want (using all colours etc) and was overlapping it on the mouse cursor but the problem started when I was moving my mouse fast. If i move it slowly the effect is cool but when i increase the speed its making a mess on the screen...
So, need to dig in more...
Warm Regards
DavidP
03-28-2002, 10:44 AM
what graphics mode are you using? I dont see why it would get messy with moving fast...
You just put in on a surface...then blit the surface to the screen at the new mouse coords....
denny
04-17-2002, 08:10 AM
hey buddy,
check out the site
www.brackeen.com.
it has the answer 4 ur ?
Hey i'm 4rm india
Magos
04-22-2002, 04:55 AM
Originally posted by denny
hey buddy,
check out the site
www.brackeen.com.
it has the answer 4 ur ?
Hey i'm 4rm india
Hmm, you replied the exact thing to another thread :D...
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.