aboutsummaryrefslogtreecommitdiff
path: root/core/src/UI/UI_MainWindow.cpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2021-04-08 08:49:10 -0700
committerrtk0c <[email protected]>2021-04-08 08:49:10 -0700
commitce8660cc5bfc12e6e3f75d4cce22492783ca9066 (patch)
treef5c1088def48e60570a1225d6440f304b37b5b5c /core/src/UI/UI_MainWindow.cpp
parent2f4b9db39239ed5150094a81743beea42a3eedc2 (diff)
Initial work on table visualizer
Diffstat (limited to 'core/src/UI/UI_MainWindow.cpp')
-rw-r--r--core/src/UI/UI_MainWindow.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/core/src/UI/UI_MainWindow.cpp b/core/src/UI/UI_MainWindow.cpp
index a47efab..30505d6 100644
--- a/core/src/UI/UI_MainWindow.cpp
+++ b/core/src/UI/UI_MainWindow.cpp
@@ -195,12 +195,12 @@ void UI::MainWindow() {
ImGui::SetNextWindowPos({ 0, 0 });
ImGui::Begin("##MainWindow", nullptr, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoResize);
if (ImGui::BeginTabBar("##MainWindowTabs")) {
- if (ImGui::BeginTabItem(ls->TabSettings.Get())) {
+ if (ImGui::BeginTabItem(ls->SettingsTab.Get())) {
UI::SettingsTab();
ImGui::EndTabItem();
}
- if (ImGui::BeginTabItem(ls->TabProject.Get(), nullptr)) {
+ if (ImGui::BeginTabItem(ls->ProjectTab.Get(), nullptr)) {
if (uis.CurrentProject) {
ProjectTab_Normal();
} else {
@@ -213,21 +213,16 @@ void UI::MainWindow() {
goto endTab;
}
- if (ImGui::BeginTabItem(ls->TabDatabaseView.Get())) {
+ if (ImGui::BeginTabItem(ls->DatabaseViewTab.Get())) {
UI::DatabaseViewTab();
ImGui::EndTabItem();
}
- if (ImGui::BeginTabItem(ls->TabItems.Get())) {
+ if (ImGui::BeginTabItem(ls->ItemsTab.Get())) {
UI::ItemsTab();
ImGui::EndTabItem();
}
- if (ImGui::BeginTabItem(ls->TabExport.Get())) {
- UI::ExportTab();
- ImGui::EndTabItem();
- }
-
endTab:
ImGui::EndTabBar();
}