SDLPP: Add function for retreiving events that works on all platforms

This commit is contained in:
2020-10-20 11:43:22 +02:00
parent 5ec4182519
commit 2b2f5aa940
2 changed files with 9 additions and 0 deletions
+1
View File
@@ -35,6 +35,7 @@ std::tuple< int, int, int, int > getColorsHEX( const std::string &color );
SDL_Color getSDLColorHEX( const std::string &color );
std::tuple< int, int, int, int > getColorsSDLColor( const SDL_Color &color );
SDL_Color getSDLColorTuple( const std::tuple< int, int, int, int > &tuple );
bool getSDLEvent( SDL_Event &e );
class Window {
public: