fix revert

This commit is contained in:
2025-02-26 14:20:46 +03:00
parent 1bdf330eb8
commit 121d4af325
8 changed files with 88 additions and 34 deletions

View File

@@ -6,9 +6,6 @@ namespace sandbox
void test_panel_2::on_attach()
{
hack::log()("on_attach");
// set layer params
// m_passport.m_name = "test_panel";
}
void test_panel_2::on_detach()
@@ -22,24 +19,8 @@ namespace sandbox
ImGui::SetNextWindowSize(m_size);
if (!ImGui::Begin("#test_panel_2", &m_p_open, m_window_flags)) ImGui::End();
if (ImGui::Button("RUN", ImVec2(28, 30)))
{
VE::event e { "target_id", test_event::TEST_EVEN , std::string("test event message") };
execute(e);
}
VE_PUSH_FONT(ICON, 18);
if (ImGui::Button(VE::style::icon::ICON_STOP, ImVec2(28, 30)))
{
VE::event e { "target_id", test_event::TEST_EVEN , std::string("test icon button") };
execute(e);
}
ImGui::Text(VE::style::icon::ICON_PAINT_BRUSH, " Paint" );
ImGui::Text("\xef\x87\xbc");
VE_POP_FONT();
m_local_panel.render();
ImGui::End();
}