add event target

This commit is contained in:
chatlanin
2025-01-30 23:10:34 +03:00
parent a998115414
commit 5155fdbd49
11 changed files with 31 additions and 22 deletions

View File

@@ -22,7 +22,7 @@ namespace sandbox
if (ImGui::Button("RUN", ImVec2(28, 30)))
{
VE::event e { test_event::TEST_EVEN , std::string("test event message") };
VE::event e { "target_id", test_event::TEST_EVEN , std::string("test event message") };
execute(e);
}

View File

@@ -24,7 +24,7 @@ namespace sandbox
if (!ImGui::Begin("#test_panel_2", &m_p_open, m_window_flags)) ImGui::End();
if (ImGui::Button("RUN", ImVec2(28, 30)))
{
VE::event e { test_event::TEST_EVEN , std::string("test event message") };
VE::event e { "target_id", test_event::TEST_EVEN , std::string("test event message") };
execute(e);
}
@@ -32,7 +32,7 @@ namespace sandbox
if (ImGui::Button(VE::style::icon::ICON_STOP, ImVec2(28, 30)))
{
VE::event e { test_event::TEST_EVEN , std::string("test icon button") };
VE::event e { "target_id", test_event::TEST_EVEN , std::string("test icon button") };
execute(e);
}