add font_type to base_type_define

This commit is contained in:
chatlanin 2023-03-21 14:11:33 +03:00
parent 5f9b2b682b
commit 45e964a8fb
2 changed files with 1 additions and 2 deletions

View File

@ -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:

View File

@ -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<float>;\
using event_manager = try_engine::app_event::event;\
using system_event = try_engine::system_event::event