/* call-seq: * input.getMouseX() -> fixnum * * The returned position is relative to the left border of the owner window. */ static VALUE Input_GetMouseX( VALUE self, VALUE aMouseButton ) { sf::Input *object = NULL; Data_Get_Struct( self, sf::Input, object ); return INT2FIX( object->GetMouseX() ); }