ES-DE/src/Window.h

38 lines
670 B
C
Raw Normal View History

#ifndef _WINDOW_H_
#define _WINDOW_H_
2013-06-02 15:08:32 +00:00
#include "GuiComponent.h"
#include "InputManager.h"
#include "resources/ResourceManager.h"
#include <vector>
class Window
{
public:
Window();
~Window();
2013-06-02 15:08:32 +00:00
void pushGui(GuiComponent* gui);
void removeGui(GuiComponent* gui);
GuiComponent* peekGui();
void input(InputConfig* config, Input input);
void update(int deltaTime);
void render();
2013-04-08 17:40:15 +00:00
void init();
void deinit();
InputManager* getInputManager();
ResourceManager* getResourceManager();
private:
InputManager* mInputManager;
ResourceManager mResourceManager;
2013-06-02 15:08:32 +00:00
std::vector<GuiComponent*> mGuiStack;
std::vector< std::shared_ptr<Font> > mDefaultFonts;
};
#endif