MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ inspect() [4/4]

MAYAFLUX_API void MayaFlux::Portal::Forma::inspect ( const std::shared_ptr< Vruta::Event > &  ev,
std::string_view  name 
)

Open a dedicated window inspecting a single Event.

Definition at line 395 of file Forma.cpp.

396{
397 const std::string title = name.empty() ? "Event" : "Event: " + std::string(name);
398 auto window = g_window_manager->create_window(
399 Core::WindowCreateInfo { .title = title, .width = k_inspect_w, .height = k_inspect_h });
400 window->show();
401 auto surface = create_surface(window, title);
402 LayoutCursor cursor;
403 auto result = std::make_shared<InspectResult>(g_inspect->event(ev, name, surface, cursor));
404 g_bridge->spawn_sync(result->group.header.header_id, [result] { result->tap_all(); });
405}
std::string title
Window title/identifier.
Configuration for creating a single window instance.

References create_surface(), and MayaFlux::Core::WindowCreateInfo::title.

+ Here is the call graph for this function: