Removed use of obsolete ImGui API.

This commit is contained in:
Branimir Karadžić
2017-12-01 21:04:27 -08:00
parent 2e819904e2
commit 907f835881
26 changed files with 144 additions and 308 deletions

View File

@@ -385,12 +385,15 @@ public:
ImGui::SetNextWindowPos(
ImVec2(m_width - m_width / 5.0f - 10.0f, 10.0f)
, ImGuiSetCond_FirstUseEver
, ImGuiCond_FirstUseEver
);
ImGui::SetNextWindowSize(
ImVec2(m_width / 5.0f, m_height * 0.75f)
, ImGuiCond_FirstUseEver
);
ImGui::Begin("Settings"
, NULL
, ImVec2(m_width / 5.0f, m_height * 0.75f)
, ImGuiWindowFlags_AlwaysAutoResize
, 0
);
ImGui::Separator();