MCPcopy Create free account
hub / github.com/Aegel5/SimpleSwitcher / DemoWindowWidgetsBullets

Function DemoWindowWidgetsBullets

imgui_tiny_app/imgui/imgui_demo.cpp:1118–1134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1116//-----------------------------------------------------------------------------
1117
1118static void DemoWindowWidgetsBullets()
1119{
1120 if (ImGui::TreeNode("Bullets"))
1121 {
1122 IMGUI_DEMO_MARKER("Widgets/Bullets");
1123 ImGui::BulletText("Bullet point 1");
1124 ImGui::BulletText("Bullet point 2\nOn multiple lines");
1125 if (ImGui::TreeNode("Tree node"))
1126 {
1127 ImGui::BulletText("Another bullet point");
1128 ImGui::TreePop();
1129 }
1130 ImGui::Bullet(); ImGui::Text("Bullet point 3 (two calls)");
1131 ImGui::Bullet(); ImGui::SmallButton("Button");
1132 ImGui::TreePop();
1133 }
1134}
1135
1136//-----------------------------------------------------------------------------
1137// [SECTION] DemoWindowWidgetsCollapsingHeaders()

Callers 1

DemoWindowWidgetsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected