fix font def
This commit is contained in:
parent
70d5e7d7f2
commit
440dd5d79e
@ -10,7 +10,6 @@
|
||||
std::bind(&app::x, this, std::placeholders::_1)
|
||||
|
||||
#define BASE_TYPE_DEFINE()\
|
||||
using font_type = try_engine::style::fonts::font_type;\
|
||||
using time = try_engine::time::timestep<float>;\
|
||||
using event_manager = try_engine::app_event::event;\
|
||||
using system_event = try_engine::system_event::event
|
||||
@ -65,5 +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_PUSH_FONT(def_font, def_size)\
|
||||
ImGui::PushFont(try_engine::style::fonts::get_font(try_engine::style::fonts::font_type::def_font, def_size))
|
||||
#define TR_POP_FONT() ImGui::PopFont()
|
||||
|
Reference in New Issue
Block a user