From f0dad9a007ae03b3d24b7fd02feba71f3839e0f7 Mon Sep 17 00:00:00 2001 From: Justin Scofield Date: Mon, 25 Jul 2022 11:26:56 -0400 Subject: [PATCH] MENU_ITEM constants --- src/app/core/constants.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/core/constants.h b/src/app/core/constants.h index 2b2895f0..4986be5a 100644 --- a/src/app/core/constants.h +++ b/src/app/core/constants.h @@ -22,6 +22,9 @@ ImGui::EndMenuBar(); \ } +#define MENU_ITEM(w) if (ImGui::MenuItem(w)) +#define MENU_ITEM2(w, v) if (ImGui::MenuItem(w, v)) + using ushort = unsigned short; using uint = unsigned int; using uchar = unsigned char;