Refactor tab handling in Dungeon and Graphics editors for improved readability

This commit is contained in:
scawful
2024-11-13 09:42:54 -05:00
parent 12309f460e
commit e3ed705336
6 changed files with 64 additions and 57 deletions

View File

@@ -1,11 +1,6 @@
#ifndef YAZE_APP_CORE_CONSTANTS_H
#define YAZE_APP_CORE_CONSTANTS_H
#define TAB_BAR(w) if (ImGui::BeginTabBar(w)) {
#define END_TAB_BAR() \
ImGui::EndTabBar(); \
}
#define TAB_ITEM(w) if (ImGui::BeginTabItem(w)) {
#define END_TAB_ITEM() \
ImGui::EndTabItem(); \