From c6112550ebfedae96ca4f3486966bdbaaee94b14 Mon Sep 17 00:00:00 2001 From: ocornut Date: Thu, 26 Mar 2015 19:02:54 +0000 Subject: [PATCH] Added Haddock in the (popup) Aquarium --- imgui.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index c8f998c9..b27a3edf 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -9473,7 +9473,7 @@ void ImGui::ShowTestWindow(bool* opened) { static bool popup_open = false; static int selected_fish = -1; - const char* fishes[] = { "Bream", "Mackerel", "Pollock", "Tilefish" }; + const char* fishes[] = { "Bream", "Haddock", "Mackerel", "Pollock", "Tilefish" }; if (ImGui::Button("Select..")) popup_open = true; ImGui::SameLine(); @@ -9481,6 +9481,8 @@ void ImGui::ShowTestWindow(bool* opened) if (popup_open) { ImGui::BeginPopup(&popup_open); + ImGui::Text("Aquarium"); + ImGui::Separator(); for (size_t i = 0; i < IM_ARRAYSIZE(fishes); i++) { if (ImGui::Selectable(fishes[i], false))