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

◆ inspect() [2/4]

MAYAFLUX_API void MayaFlux::Portal::Forma::inspect ( const std::shared_ptr< Nodes::Network::NodeNetwork > &  net)

Open a dedicated window inspecting a NodeNetwork.

Definition at line 384 of file Forma.cpp.

385{
386 auto window = g_window_manager->create_window(
387 Core::WindowCreateInfo { .title = "NodeNetwork", .width = k_inspect_w, .height = k_inspect_h });
388 window->show();
389 auto surface = create_surface(window, "NodeNetwork");
390 LayoutCursor cursor;
391 auto result = std::make_shared<InspectResult>(g_inspect->node_network(net, surface, cursor));
392 g_bridge->spawn_sync(result->group.header.header_id, [result] { result->tap_all(); });
393}
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: