/* call-seq:
* show_cursor = value -> true or false or nil
*
* Set whether the mouse cursor is displayed or not. If +value+ is true,
* the cursor will be shown; if false, it will be hidden. See also
* #show_cursor?
*/
VALUE rbgm_screen_setshowcursor(VALUE self, VALUE val)
{
int state;
if(val == Qtrue) { state = SDL_ENABLE; }
else if(val == Qfalse || val == Qnil) { state = SDL_DISABLE; }
else { return Qnil; }
return SDL_ShowCursor(state);
}