45 void create(
const std::string &window_name,
int width,
int height,
Definition: window.hpp:22
void swapBuffer()
swap the buffer
Definition: window.cpp:84
Definition: window.hpp:28
void create(const std::string &window_name, int width, int height, unsigned flags=WindowFlags::SHOWN)
create the window, initialize the handle and update the width and height
Definition: window.cpp:26
Definition: window.hpp:23
WindowFlags
Definition: window.hpp:20
SDL_Window * window_
window handle
Definition: window.hpp:32
~Window()
destroys the window handle
Definition: window.cpp:21
Definition: window.hpp:21
void clearBuffer()
clear buffer
Definition: window.cpp:90
Project namespace.
Definition: body.cpp:13
Window & operator=(const Window &)=delete
Definition: window.hpp:24