1er commit
This commit is contained in:
31
include/window/Display.h
Normal file
31
include/window/Display.h
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Display.h
|
||||
*
|
||||
* Created on: 4 nov. 2020
|
||||
* Author: simon
|
||||
*/
|
||||
|
||||
#ifndef WINDOW_DISPLAY_H_
|
||||
#define WINDOW_DISPLAY_H_
|
||||
|
||||
|
||||
namespace Display{
|
||||
|
||||
void create();
|
||||
void render();
|
||||
void update();
|
||||
void destroy();
|
||||
void pollEvents();
|
||||
|
||||
bool isCloseRequested();
|
||||
|
||||
const bool isMouseDown(int button);
|
||||
|
||||
float getAspectRatio();
|
||||
int getWindowWidth();
|
||||
int getWindowHeight();
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif /* WINDOW_DISPLAY_H_ */
|
||||
Reference in New Issue
Block a user