GUI separated from Application.cpp

This commit is contained in:
MusicalProgrammer
2019-11-04 23:57:31 -05:00
parent 1fe59aa9ff
commit aa11f5f120
26 changed files with 674 additions and 542 deletions

View File

@@ -3,6 +3,9 @@
#include "LevelInstance.h"
#include "PartInstance.h"
#include "rapidxml/rapidxml.hpp"
#include "GuiRoot.h"
class GuiRoot;
class DataModelInstance :
public Instance
@@ -22,12 +25,12 @@ public:
WorkspaceInstance* workspace;
LevelInstance * level;
LevelInstance * getLevel();
Instance* guiRoot;
GuiRoot* guiRoot;
std::string message;
std::string _loadedFileName;
bool showMessage;
G3D::GFontRef font;
Instance* getGuiRoot();
GuiRoot* getGuiRoot();
float mousex;
float mousey;
Vector2 getMousePos();