add remder permit

This commit is contained in:
chatlanin
2025-01-22 14:48:22 +03:00
parent 10e51b4c74
commit a000e961d8
8 changed files with 18 additions and 11 deletions

View File

@@ -85,7 +85,7 @@ namespace sandbox
class opengl_panel : public VE::layer
{
VE_FN_OVERIDE();
VE_FN_OVERIDE(opengl_panel, true);
cube m_cb_1;
cube m_cb_2;

View File

@@ -5,7 +5,7 @@ namespace sandbox
{
void test_panel::on_attach()
{
hack::log()("on_attach");
hack::log()("on_attach", VE::application::get()->get_glfw()->width());
}
void test_panel::on_detach()

View File

@@ -6,7 +6,7 @@ namespace sandbox
{
class test_panel : public VE::layer
{
VE_FN_OVERIDE();
VE_FN_OVERIDE(test_panel, false);
ImVec2 m_size = ImVec2{ 600.f, 100.f };
ImVec2 m_pos = ImVec2{ 100.f, 100.f };

View File

@@ -6,7 +6,7 @@ namespace sandbox
{
class test_panel_2 : public VE::layer
{
VE_FN_OVERIDE();
VE_FN_OVERIDE(test_panel_2, true);
ImVec2 m_size = ImVec2{ 400.f, 400.f };
ImVec2 m_pos = ImVec2{ 400.f, 400.f };