4 #ifndef GOSU_WINDOW_HPP
5 #define GOSU_WINDOW_HPP
31 const std::auto_ptr<Impl> pimpl;
37 Window(
unsigned width,
unsigned height,
bool fullscreen,
103 typedef std::tr1::shared_ptr<std::tr1::function<void()> > SharedContext;
104 SharedContext createSharedContext();
107 #ifdef GOSU_IS_IPHONE
108 void* rootViewController()
const;
113 virtual void touchBegan(
Touch touch) {}
114 virtual void touchMoved(Touch touch) {}
115 virtual void touchEnded(Touch touch) {}
118 const Audio&
audio()
const;
125 #ifdef GOSU_IS_IPHONE