mirror of
https://github.com/ocornut/imgui.git
synced 2024-12-01 02:37:24 +01:00
Merge fixes from ,master branch
This commit is contained in:
parent
7de68fbe3d
commit
444792f75f
@ -1000,8 +1000,7 @@ void ImGui::ShowTestWindow(bool* p_open)
|
||||
ImGui::NextColumn();
|
||||
char buf[32];
|
||||
sprintf(buf, "%08x", i*5731);
|
||||
if (ImGui::Button(buf, ImVec2(-1.0f, 0.0f)))
|
||||
printf("Pressed '%s'\n", buf);
|
||||
ImGui::Button(buf, ImVec2(-1.0f, 0.0f));
|
||||
}
|
||||
ImGui::EndChild();
|
||||
ImGui::PopStyleVar();
|
||||
@ -1469,7 +1468,7 @@ void ImGui::ShowTestWindow(bool* p_open)
|
||||
ImGui::OpenPopup("Stacked 2");
|
||||
if (ImGui::BeginPopupModal("Stacked 2"))
|
||||
{
|
||||
ImGui::Text("Hello from Stacked The Second!\nWe are piling a modal over another here,\nand also testing if the menu-bar works.");
|
||||
ImGui::Text("Hello from Stacked The Second!");
|
||||
if (ImGui::Button("Close"))
|
||||
ImGui::CloseCurrentPopup();
|
||||
ImGui::EndPopup();
|
||||
|
Loading…
Reference in New Issue
Block a user