add HOVER_HINT macro

This commit is contained in:
scawful
2023-11-26 16:49:32 -05:00
parent 97757e10e3
commit 992e4dfca0

View File

@@ -48,6 +48,9 @@
ImGui::EndTable(); \
}
#define HOVER_HINT(string) \
if (ImGui::IsItemHovered()) ImGui::SetTooltip(string);
#define PRINT_IF_ERROR(expression) \
{ \
auto error = expression; \