add event target
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user