Moved some variables in datamodelinstance from public to private
This commit is contained in:
@@ -696,13 +696,10 @@ void Application::onKeyPressed(int key)
|
|||||||
{
|
{
|
||||||
deleteInstance();
|
deleteInstance();
|
||||||
}
|
}
|
||||||
if (GetHoldKeyState(VK_RCONTROL))
|
if (GetHoldKeyState(VK_RCONTROL) && key=='O')
|
||||||
{
|
|
||||||
if (key=='O')
|
|
||||||
{
|
{
|
||||||
_dataModel->getOpen();
|
_dataModel->getOpen();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
void Application::onKeyUp(int key)
|
void Application::onKeyUp(int key)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -22,10 +22,7 @@ public:
|
|||||||
bool readXMLFileStream(std::ifstream* file);
|
bool readXMLFileStream(std::ifstream* file);
|
||||||
void drawMessage(RenderDevice*);
|
void drawMessage(RenderDevice*);
|
||||||
WorkspaceInstance* getWorkspace();
|
WorkspaceInstance* getWorkspace();
|
||||||
WorkspaceInstance* workspace;
|
|
||||||
LevelInstance * level;
|
|
||||||
LevelInstance * getLevel();
|
LevelInstance * getLevel();
|
||||||
GuiRoot* guiRoot;
|
|
||||||
std::string message;
|
std::string message;
|
||||||
std::string _loadedFileName;
|
std::string _loadedFileName;
|
||||||
bool showMessage;
|
bool showMessage;
|
||||||
@@ -51,4 +48,7 @@ private:
|
|||||||
std::string _errMsg;
|
std::string _errMsg;
|
||||||
bool _legacyLoad;
|
bool _legacyLoad;
|
||||||
float _modY;
|
float _modY;
|
||||||
|
WorkspaceInstance* workspace;
|
||||||
|
LevelInstance * level;
|
||||||
|
GuiRoot* guiRoot;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user