diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-10-12 14:57:26 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-10-12 14:57:26 +0100 |
commit | 1bb0ef8960c71ef505a351702bec54c01ba15e22 (patch) | |
tree | 365811364237f1e55e66f421b93cad8adcf51eda /yage/base/window.h | |
parent | ba733040afb85d4c287a2ec464db05cb86a53fca (diff) | |
download | YAGE-1bb0ef8960c71ef505a351702bec54c01ba15e22.tar.gz YAGE-1bb0ef8960c71ef505a351702bec54c01ba15e22.zip |
Fixing spritesheet and fixed #12
Diffstat (limited to 'yage/base/window.h')
-rw-r--r-- | yage/base/window.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/yage/base/window.h b/yage/base/window.h index 3f448132..84ba8303 100644 --- a/yage/base/window.h +++ b/yage/base/window.h @@ -47,8 +47,7 @@ public: Window &operator=(Window &&) = delete; /// create the window, initialize the handle and update the width and height - void create(const std::string &window_name, int width, int height, - unsigned flags = WindowFlags::SHOWN); + void create(std::string window_name, int width, int height); /// swap the buffer void swapBuffer(); /// clear buffer @@ -57,6 +56,8 @@ public: void hide(); /// show window void show(); + bool shouldClose(); + void pollEvents() const; }; } // namespace yage |