Hi, I hope this isn’t a stupid question but I am writing an application which uses a rectangular cursor to scroll around data on the glcanvas. At present, I am simply using glRecti to draw a rectangle at specific co-ordinates. However, it has been suggested by a guy that he would like to see a “blinking” cursor, thus making it easier to spot on the screen - that seems like a reasonable request as most cursors do seem to blink. But could this turn out to be a pain to implement for such a small issue?
My initial impression was be to use a thread, containing a timer but I wondered whether there would be any messy synchronization issues as the user moved the cursor around the screen (whilst the same cursor was being blinked from another thread) and I just wondered if there was some opengl method to switch a color on and off in the form of a small, rectangular cursor.
Any tips or advice appreciated,
Sally