diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-04-02 09:19:32 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-04-02 09:19:32 +0100 |
commit | aa67c8bb56cb750ac83ecbd361439f5ecb5e12d9 (patch) | |
tree | f1517a86654cf5457fa0b3aa6cfaea4bfa4eef36 /include/yage/window.hpp | |
parent | 21a147c3c1c2fad2819fe76becab320c51eb131f (diff) | |
download | YAGE-aa67c8bb56cb750ac83ecbd361439f5ecb5e12d9.tar.gz YAGE-aa67c8bb56cb750ac83ecbd361439f5ecb5e12d9.zip |
Renamed includes
Diffstat (limited to 'include/yage/window.hpp')
-rw-r--r-- | include/yage/window.hpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/include/yage/window.hpp b/include/yage/window.hpp deleted file mode 100644 index 6f3058e9..00000000 --- a/include/yage/window.hpp +++ /dev/null @@ -1,30 +0,0 @@ -#ifndef WINDOW_HPP -#define WINDOW_HPP - -#include <SDL2/SDL.h> - -#include <string> - -enum class WindowFlags -{ - SHOWN=0x1, - HIDDEN=0x2, - FULLSCREEN=0x4, - BORDERLESS=0x8, -}; - -class Window -{ -private: - SDL_Window *window_=nullptr; - int width_=1280; - int height_=720; - -public: - Window(); - ~Window(); - - void create(const std::string &window_name, int width, int height, WindowFlags flags=WindowFlags::SHOWN); -}; - -#endif |