add font_type to base_type_define
This commit is contained in:
parent
5f9b2b682b
commit
45e964a8fb
@ -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:
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user