/* call-seq: * window.getWidth() -> fixnum * * Get the width of the rendering region of the window. * * The width doesn't include the titlebar and borders of the window. */ static VALUE Window_GetWidth( VALUE self ) { sf::Window *object = NULL; Data_Get_Struct( self, sf::Window, object ); return INT2FIX( object->GetWidth() ); }