Page 1 of 1

Disabling/Enabling mouse cursor

Posted: Wed Jun 06, 2007 6:57 pm
by cpu90
Hi all,

I am currently programming with quake 3 arena's menu script to create some menus for a project. There are cases when the menu would be showing a cinematic video, the .roq format that quake 3 plays natively. However I'd like to be able to disable the mouse cursor while the video is being played (the video isn't full screen, it is showing as part of the menu), and then enabling it back when the video is done playing. How would I be able to do that? Is it part of the engine code? or I can do that in the mod? and what variable am I looking at? thanks all.

Re: Disabling/Enabling mouse cursor

Posted: Wed Aug 12, 2009 4:45 am
by Rawing
I've used the find-in-files func to find everything with "cursor" inside, and voilá:

Code: Select all

// draw cursor
UI_SetColor( NULL );
UI_DrawHandlePic( uis.cursorx-cursor_size/2, uis.cursory-cursor_size/2, cursor_size, cursor_size, uis.cursor);
It's in ui_atoms btw.