32 lines
391 B
C++
32 lines
391 B
C++
/*
|
|
* 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();
|
|
|
|
bool isMouseDown(int button);
|
|
|
|
float getAspectRatio();
|
|
int getWindowWidth();
|
|
int getWindowHeight();
|
|
|
|
}
|
|
|
|
|
|
#endif /* WINDOW_DISPLAY_H_ */
|