diff --git a/src/try_engine/utils/define.hpp b/src/try_engine/utils/define.hpp index 7bfd767..2cd3399 100644 --- a/src/try_engine/utils/define.hpp +++ b/src/try_engine/utils/define.hpp @@ -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;\ 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()