Gosu/Window.hpp in gosu-0.14.5 vs Gosu/Window.hpp in gosu-0.14.6.pre1
- old
+ new
@@ -32,17 +32,18 @@
//! 'points' on a high-resolution display.
//! \param height See width.
//! \param update_interval Interval in milliseconds between two calls to the update member
//! function.
Window(unsigned width, unsigned height, bool fullscreen = false,
- double update_interval = 16.666666);
+ double update_interval = 16.666666, bool resizable = false);
virtual ~Window();
unsigned width() const;
unsigned height() const;
bool fullscreen() const;
+ bool resizable() const;
void resize(unsigned width, unsigned height, bool fullscreen);
-
+
double update_interval() const;
void set_update_interval(double update_interval);
std::string caption() const;
void set_caption(const std::string& caption);