add define fonts
This commit is contained in:
parent
96937c38cf
commit
70d5e7d7f2
@ -64,3 +64,6 @@
|
||||
|
||||
#define BEGIN_IMGUI_WIN() if (!ImGui::Begin(name.c_str(), &f.p_open, window_flags)) 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()
|
||||
|
Reference in New Issue
Block a user