diff --git a/src/utils/define.hpp b/src/utils/define.hpp index 4bd0cf2..d56e099 100755 --- a/src/utils/define.hpp +++ b/src/utils/define.hpp @@ -7,10 +7,11 @@ std::bind(&application::on_event, this, std::placeholders::_1) #define VE_FN_OVERIDE()\ - void on_attach() override;\ - void on_detach() override;\ - void render() override;\ - void on_event(VE::event e) override + public:\ + void on_attach() override;\ + void on_detach() override;\ + void render() override;\ + void on_event(VE::event e) override #define VE_PUSH_FONT(def_font, def_size)\ ImGui::PushFont(VE::style::fonts::get_font(VE::style::fonts::font_type::def_font, def_size))