From 34a20703048d9f6259ae5bc8c2fe334f4a36a3f9 Mon Sep 17 00:00:00 2001 From: Justin Scofield Date: Mon, 25 Jul 2022 19:18:16 -0400 Subject: [PATCH] Update about popup --- src/app/editor/master_editor.cc | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/app/editor/master_editor.cc b/src/app/editor/master_editor.cc index 64163987..6460c7b3 100644 --- a/src/app/editor/master_editor.cc +++ b/src/app/editor/master_editor.cc @@ -117,10 +117,13 @@ void MasterEditor::DrawAboutPopup() { if (about_) ImGui::OpenPopup("About"); if (ImGui::BeginPopupModal("About", nullptr, ImGuiWindowFlags_AlwaysAutoResize)) { - ImGui::Text("Yet Another Zelda3 Editor: Version 0.4"); - ImGui::Text("Written by: Justin Scofield (scawful)"); + ImGui::Text("Yet Another Zelda3 Editor - v0.01"); + ImGui::Text("Written by: scawful"); + ImGui::Spacing(); + ImGui::Text("Special Thanks: Zarby89"); + ImGui::Separator(); - if (ImGui::Button("Close", ImVec2(120, 0))) { + if (ImGui::Button("Close", ImVec2(200, 0))) { about_ = false; ImGui::CloseCurrentPopup(); } @@ -135,7 +138,7 @@ void MasterEditor::DrawInfoPopup() { ImGui::Text("Title: %s", rom_.GetTitle()); ImGui::Text("ROM Size: %ld", rom_.GetSize()); - if (ImGui::Button("Close", ImVec2(120, 0))) { + if (ImGui::Button("Close", ImVec2(200, 0))) { rom_info_ = false; ImGui::CloseCurrentPopup(); } @@ -159,8 +162,8 @@ void MasterEditor::DrawFileMenu() const { ".sfc,.smc", "."); } - MENU_ITEM2("Save", "Ctrl+S") - MENU_ITEM("Save As..") + MENU_ITEM2("Save", "Ctrl+S") {} + MENU_ITEM("Save As..") {} ImGui::Separator();