/* call-seq:
 *   window.showMouseCursor( show )
 *
 * Show or hide the mouse cursor.
 *
 * The mouse cursor is shown by default.
 */
static VALUE Window_ShowMouseCursor( VALUE self, VALUE aShowFlag )
{
        sf::Window *object = NULL;
        Data_Get_Struct( self, sf::Window, object );
        if( aShowFlag == Qfalse )
        {
                object->ShowMouseCursor( false );
        }
        else if( aShowFlag == Qtrue )
        {
                object->ShowMouseCursor( true );
        }
        else
        {
                rb_raise( rb_eTypeError, "Expected true or false" );
        }
        return Qnil;
}