From ee450783622008698647010540d9b9a9d55cb323 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Tue, 15 Mar 2022 22:29:53 -0700 Subject: Temporarily switch to cstdio instead of custom FileStream implementation --- core/src/UI/UI_Items.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'core/src/UI/UI_Items.cpp') diff --git a/core/src/UI/UI_Items.cpp b/core/src/UI/UI_Items.cpp index 5b84cb8..a33c61b 100644 --- a/core/src/UI/UI_Items.cpp +++ b/core/src/UI/UI_Items.cpp @@ -1,5 +1,4 @@ #include "UI.hpp" -#include "UI.hpp" #include "Model/GlobalStates.hpp" #include "Model/Project.hpp" @@ -9,7 +8,7 @@ #include #include -namespace { +namespace CPLT_UNITY_ID { enum class ActionResult { @@ -229,7 +228,7 @@ void ItemListEditor(ItemList& list) ItemListEntries(list, selectedIdx); } -} // namespace +} // namespace CPLT_UNITY_ID void UI::ItemsTab() { @@ -237,15 +236,15 @@ void UI::ItemsTab() if (ImGui::BeginTabBar("ItemViewTabs")) { if (ImGui::BeginTabItem(I18N_TEXT("Products", L10N_ITEM_CATEGORY_PRODUCT))) { - ItemListEditor(gs.GetCurrentProject()->Products); + CPLT_UNITY_ID::ItemListEditor(gs.GetCurrentProject()->Products); ImGui::EndTabItem(); } if (ImGui::BeginTabItem(I18N_TEXT("Factories", L10N_ITEM_CATEGORY_FACTORY))) { - ItemListEditor(gs.GetCurrentProject()->Factories); + CPLT_UNITY_ID::ItemListEditor(gs.GetCurrentProject()->Factories); ImGui::EndTabItem(); } if (ImGui::BeginTabItem(I18N_TEXT("Customers", L10N_ITEM_CATEGORY_CUSTOMER))) { - ItemListEditor(gs.GetCurrentProject()->Customers); + CPLT_UNITY_ID::ItemListEditor(gs.GetCurrentProject()->Customers); ImGui::EndTabItem(); } ImGui::EndTabBar(); -- cgit v1.2.3-70-g09d2