25 lines
581 B
C++
25 lines
581 B
C++
#ifndef SDLPP_HPP_WINDOW
|
|
#define SDLPP_HPP_WINDOW
|
|
|
|
#include "sdlpp_common.hpp"
|
|
|
|
#include <iostream>
|
|
|
|
namespace SDLPP {
|
|
class SDLPPSCOPE Window {
|
|
public:
|
|
Window();
|
|
Window( const std::string &window_name );
|
|
Window( const std::string &window_name, uint32_t width, uint32_t height );
|
|
Window( const std::string &window_name, uint32_t width, uint32_t height,
|
|
uint32_t posx, uint32_t posy );
|
|
void setResizable( bool resizable );
|
|
virtual ~Window();
|
|
SDL_Window *getWindowPtr();
|
|
|
|
private:
|
|
SDL_Window *window = NULL;
|
|
};
|
|
} // namespace SDLPP
|
|
#endif
|