MCPcopy Create free account
hub / github.com/TASEmulators/fceux / ShowCursorAbs

Function ShowCursorAbs

src/drivers/win/gui.cpp:70–90  ·  view source on GitHub ↗

* Changes the state of the mouse cursor. * * @param set_visible Determines the visibility of the cursor ( 1 or 0 ) **/

Source from the content-addressed store, hash-verified

68* @param set_visible Determines the visibility of the cursor ( 1 or 0 )
69**/
70void ShowCursorAbs(int set_visible)
71{
72 static int stat = 0;
73
74 if(set_visible)
75 {
76 if(stat == -1)
77 {
78 stat++;
79 ShowCursor(1);
80 }
81 }
82 else
83 {
84 if(stat == 0)
85 {
86 stat--;
87 ShowCursor(0);
88 }
89 }
90}
91
92/**
93* Displays a folder selection dialog.

Callers 3

SetVideoModeFunction · 0.85
ResetVideoFunction · 0.85
FCEUD_PrintErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected