Gosu/Window.hpp in gosu-0.8.7.2 vs Gosu/Window.hpp in gosu-0.9.0.pre1
- old
+ new
@@ -55,11 +55,11 @@
//! \param width Width of the window in points; that is, pixels on a normal display, and 'virtual pixels' on a
//! high-resolution display.
//! \param height See width.
//! \param updateInterval Interval in milliseconds between two calls
//! to the update member function.
- Window(unsigned width, unsigned height, bool fullscreen,
+ Window(unsigned width, unsigned height, bool fullscreen = false,
double updateInterval = 16.666666);
virtual ~Window();
std::wstring caption() const;
void setCaption(const std::wstring& caption);
@@ -110,16 +110,9 @@
const Graphics& graphics() const;
Graphics& graphics();
const Input& input() const;
Input& input();
-
- #ifdef GOSU_IS_UNIX
- // Context for creating shared contexts.
- // Only on Unices (so far).
- typedef std::tr1::shared_ptr<std::tr1::function<void()> > SharedContext;
- SharedContext createSharedContext();
- #endif
#ifdef GOSU_IS_IPHONE
void* rootViewController() const;
// iPhone-only callbacks for touch events.
// Note that it does not hurt to override them even if you compile