mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-27 16:45:38 +00:00
33 lines
457 B
C++
33 lines
457 B
C++
#ifndef _WINDOW_H_
|
|
#define _WINDOW_H_
|
|
|
|
#include "Gui.h"
|
|
#include "InputManager.h"
|
|
#include <vector>
|
|
|
|
class Window
|
|
{
|
|
public:
|
|
Window();
|
|
~Window();
|
|
|
|
void pushGui(Gui* gui);
|
|
void removeGui(Gui* gui);
|
|
Gui* peekGui();
|
|
|
|
void input(InputConfig* config, Input input);
|
|
void update(int deltaTime);
|
|
void render();
|
|
|
|
void init();
|
|
void deinit();
|
|
|
|
InputManager* getInputManager();
|
|
|
|
private:
|
|
InputManager* mInputManager;
|
|
std::vector<Gui*> mGuiStack;
|
|
};
|
|
|
|
#endif
|