housekeeping

This commit is contained in:
scawful
2024-07-19 16:41:08 -04:00
parent d73a970e57
commit 1f61d3bd27
5 changed files with 29 additions and 41 deletions

View File

@@ -5,8 +5,6 @@
#include "absl/strings/string_view.h"
#define BASIC_BUTTON(w) if (ImGui::Button(w))
#define TAB_BAR(w) if (ImGui::BeginTabBar(w)) {
#define END_TAB_BAR() \
ImGui::EndTabBar(); \
@@ -17,11 +15,6 @@
ImGui::EndTabItem(); \
}
#define MENU_BAR() if (ImGui::BeginMenuBar()) {
#define END_MENU_BAR() \
ImGui::EndMenuBar(); \
}
#define MENU_ITEM(w) if (ImGui::MenuItem(w))
#define MENU_ITEM2(w, v) if (ImGui::MenuItem(w, v))