Custom mouse pointer handling?

BlitzMax Forums/BlitzMax Programming/Custom mouse pointer handling?

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

I am trying to figure out how to implement a routine that handles a custom mouse pointer onscreen, which of course follows the mouse and updates nice and responsively.

Obviously the first thing you'd do is hide the default mouse pointer. And you can then read the mouse coordinates. And you could then draw an image at the mouse coordinates and flip the screen to see it. So long as the app runs at enough frames-per-second it should show the custom mouse flying around.

Well, okay, easy enough. But how would you get this custom mouse pointer to do the same thing, if

a) your main app does not run at a high framerate but you still want a fast and responsive mouse
b) you haven't got hardware interrupts in BlitzMax
c) you want the mouse to update at a fixed framerate
d) you only want to update the mouse-pointer graphic without having to do a whole entire `Flip` just to see the pointer

????????