32 lines
392 B
C++
32 lines
392 B
C++
/*
|
|
* Display.h
|
|
*
|
|
* Created on: 4 nov. 2020
|
|
* Author: simon
|
|
*/
|
|
|
|
#ifndef WINDOW_DISPLAY_H_
|
|
#define WINDOW_DISPLAY_H_
|
|
|
|
|
|
namespace Display {
|
|
|
|
bool 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_ */
|