MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / drawDialog

Method drawDialog

example_plugin/MyPlugin.cpp:27–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 MyStateTool() : StatePlugin( "My State Tool" ) {}
26
27 virtual void drawDialog( ImGuiContext* ) override
28 {
29 if ( !ImGuiBeginWindow_( { .width = 200 * UI::scale() } ) )
30 return;
31 UI::transparentTextWrapped( "Hello World!" );
32 ImGui::EndCustomStatePlugin();
33 }
34};
35
36MR_REGISTER_RIBBON_ITEM( MyTool )

Callers

nothing calls this directly

Calls 3

transparentTextWrappedFunction · 0.85
EndCustomStatePluginFunction · 0.85
scaleClass · 0.50

Tested by

no test coverage detected