Split sdlpp into smaller files
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#ifndef SDLPP_HPP_WINDOW
|
||||
#define SDLPP_HPP_WINDOW
|
||||
|
||||
#include "sdlpp_common.hpp"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
namespace SDLPP {
|
||||
class 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
|
||||
Reference in New Issue
Block a user