diff --git a/src/sandbox/layers/test_panel/test_panel.hpp b/src/sandbox/layers/test_panel/test_panel.hpp index c0e56c0..33081b7 100644 --- a/src/sandbox/layers/test_panel/test_panel.hpp +++ b/src/sandbox/layers/test_panel/test_panel.hpp @@ -6,8 +6,6 @@ namespace tr::layers { class test_panel : public try_engine::layer { - using font_type = try_engine::style::fonts::font_type; - BASE_TYPE_DEFINE(); public: diff --git a/src/try_engine/utils/define.hpp b/src/try_engine/utils/define.hpp index 7dc9a12..db2bc85 100644 --- a/src/try_engine/utils/define.hpp +++ b/src/try_engine/utils/define.hpp @@ -10,6 +10,7 @@ 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