aboutsummaryrefslogtreecommitdiff
path: root/core/src/UI/UI_MainWindow.cpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-03-15 22:29:53 -0700
committerrtk0c <[email protected]>2022-03-15 22:29:53 -0700
commitee450783622008698647010540d9b9a9d55cb323 (patch)
tree67088fa2da506a5229fea47b6a812d38b18304a0 /core/src/UI/UI_MainWindow.cpp
parent9dcdcf68f6a60741cbdd287e7eda23b4a21a080e (diff)
Temporarily switch to cstdio instead of custom FileStream implementation
Diffstat (limited to 'core/src/UI/UI_MainWindow.cpp')
-rw-r--r--core/src/UI/UI_MainWindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/UI/UI_MainWindow.cpp b/core/src/UI/UI_MainWindow.cpp
index ce6e2e0..d059359 100644
--- a/core/src/UI/UI_MainWindow.cpp
+++ b/core/src/UI/UI_MainWindow.cpp
@@ -13,7 +13,7 @@
namespace fs = std::filesystem;
-namespace {
+namespace CPLT_UNITY_ID {
void ProjectTab_Normal()
{
auto& gs = GlobalStates::GetInstance();
@@ -181,7 +181,7 @@ void ProjectTab_NoProject()
ImGui::EndPopup();
}
}
-} // namespace
+} // namespace CPLT_UNITY_ID
void UI::MainWindow()
{
@@ -199,9 +199,9 @@ void UI::MainWindow()
if (ImGui::BeginTabItem(ICON_FA_FILE " " I18N_TEXT("Project", L10N_MAIN_WINDOW_TAB_PROJECT), nullptr)) {
if (gs.HasCurrentProject()) {
- ProjectTab_Normal();
+ CPLT_UNITY_ID::ProjectTab_Normal();
} else {
- ProjectTab_NoProject();
+ CPLT_UNITY_ID::ProjectTab_NoProject();
}
ImGui::EndTabItem();
}