Update about popup
This commit is contained in:
@@ -117,10 +117,13 @@ void MasterEditor::DrawAboutPopup() {
|
|||||||
if (about_) ImGui::OpenPopup("About");
|
if (about_) ImGui::OpenPopup("About");
|
||||||
if (ImGui::BeginPopupModal("About", nullptr,
|
if (ImGui::BeginPopupModal("About", nullptr,
|
||||||
ImGuiWindowFlags_AlwaysAutoResize)) {
|
ImGuiWindowFlags_AlwaysAutoResize)) {
|
||||||
ImGui::Text("Yet Another Zelda3 Editor: Version 0.4");
|
ImGui::Text("Yet Another Zelda3 Editor - v0.01");
|
||||||
ImGui::Text("Written by: Justin Scofield (scawful)");
|
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;
|
about_ = false;
|
||||||
ImGui::CloseCurrentPopup();
|
ImGui::CloseCurrentPopup();
|
||||||
}
|
}
|
||||||
@@ -135,7 +138,7 @@ void MasterEditor::DrawInfoPopup() {
|
|||||||
ImGui::Text("Title: %s", rom_.GetTitle());
|
ImGui::Text("Title: %s", rom_.GetTitle());
|
||||||
ImGui::Text("ROM Size: %ld", rom_.GetSize());
|
ImGui::Text("ROM Size: %ld", rom_.GetSize());
|
||||||
|
|
||||||
if (ImGui::Button("Close", ImVec2(120, 0))) {
|
if (ImGui::Button("Close", ImVec2(200, 0))) {
|
||||||
rom_info_ = false;
|
rom_info_ = false;
|
||||||
ImGui::CloseCurrentPopup();
|
ImGui::CloseCurrentPopup();
|
||||||
}
|
}
|
||||||
@@ -159,8 +162,8 @@ void MasterEditor::DrawFileMenu() const {
|
|||||||
".sfc,.smc", ".");
|
".sfc,.smc", ".");
|
||||||
}
|
}
|
||||||
|
|
||||||
MENU_ITEM2("Save", "Ctrl+S")
|
MENU_ITEM2("Save", "Ctrl+S") {}
|
||||||
MENU_ITEM("Save As..")
|
MENU_ITEM("Save As..") {}
|
||||||
|
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user