add define fonts

This commit is contained in:
chatlanin 2023-03-24 15:57:38 +03:00
parent 96937c38cf
commit 70d5e7d7f2

View File

@ -64,3 +64,6 @@
#define BEGIN_IMGUI_WIN() if (!ImGui::Begin(name.c_str(), &f.p_open, window_flags)) ImGui::End() #define BEGIN_IMGUI_WIN() if (!ImGui::Begin(name.c_str(), &f.p_open, window_flags)) ImGui::End()
#define END_IMGUI_WIN() ImGui::End() #define END_IMGUI_WIN() ImGui::End()
#define TR_PUSH_FONT(def_font, def_size) ImGui::PushFont(try_engine::style::fonts::get_font(font_type::def_font, def_size))
#define TR_POP_FONT() ImGui::PopFont()