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

◆ inspect_events()

MAYAFLUX_API void MayaFlux::Portal::Forma::inspect_events ( )

Open or show the EventManager inspection window.

First call creates a dedicated window, builds the InspectResult, and schedules tap_all() via Bridge. Subsequent calls show() the existing window.

Definition at line 345 of file Forma.cpp.

346{
347 if (g_inspect_events_window) {
348 g_inspect_events_window->show();
349 return;
350 }
351 g_inspect_events_window = g_window_manager->create_window(
352 Core::WindowCreateInfo { .title = "EventManager", .width = k_inspect_w, .height = k_inspect_h });
353 g_inspect_events_window->show();
354 auto surface = create_surface(g_inspect_events_window, "EventManager");
355 LayoutCursor cursor;
356 auto& result = g_inspect->event_manager(surface, cursor);
357 g_bridge->spawn_sync(result.group.header.header_id, [&result] { result.tap_all(); });
358}
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: