Watergit push!
This commit is contained in:
@@ -41,11 +41,8 @@ struct GUIListener : public Ogre::RenderTargetListener {
|
||||
// ECS::get().get<App>().app->setWindowGrab(true);
|
||||
if (ImGui::Button("Shitty Quit button"))
|
||||
Ogre::Root::getSingleton().queueEndRendering();
|
||||
if (ImGui::Button("Chick-chick")) {
|
||||
ECS::get().get_mut<GUI>().enabled = false;
|
||||
ECS::get().modified<GUI>();
|
||||
// ECS::get().get<App>().app->setWindowGrab(true);
|
||||
}
|
||||
if (ImGui::Button("Chick-chick"))
|
||||
ECS::get().get<GUI>().finish();
|
||||
ImGui::Text("We do stoopid...");
|
||||
ImGui::End();
|
||||
}
|
||||
@@ -74,7 +71,7 @@ struct GUIListener : public Ogre::RenderTargetListener {
|
||||
Ogre::Quaternion nq(yaw, Ogre::Vector3(0, 1, 0));
|
||||
pnode->setOrientation(nq);
|
||||
|
||||
// ECS::get().get<App>().app->setWindowGrab(true);
|
||||
ECS::get().get<GUI>().finish();
|
||||
}
|
||||
void buildings_editor()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user