MCPcopy Create free account
hub / github.com/Sven-vh/ImReflect / deque_test

Function deque_test

examples/include/imgui_app.cpp:1552–1575  ·  view source on GitHub ↗

======================================== std::deque ========================================

Source from the content-addressed store, hash-verified

1550// std::deque
1551// ========================================
1552static void deque_test() {
1553 ImGui::SeparatorText("std::deque Test");
1554 ImGui::PushID("deque_test");
1555 ImGui::Indent();
1556 static std::deque<int> my_deque = { 1, 2, 3, 4, 5 };
1557 ImGui::Text("Default");
1558 HelpMarker("Default settings, no extra settings given");
1559 {
1560 ImGui::PushID("default");
1561 ImReflect::Input("my_deque", my_deque);
1562 ImGui::PopID();
1563 }
1564 ImGui::NewLine();
1565 ImGui::Text("Default const");
1566 HelpMarker("Default settings, no extra settings given");
1567 {
1568 ImGui::PushID("default const");
1569 static const std::deque<int> my_deque_const = { 1, 2, 3, 4, 5 };
1570 ImReflect::Input("my_deque_const", my_deque_const);
1571 ImGui::PopID();
1572 }
1573 ImGui::Unindent();
1574 ImGui::PopID();
1575}
1576
1577// ========================================
1578// std::set

Callers 1

renderMethod · 0.85

Calls 2

HelpMarkerFunction · 0.85
InputFunction · 0.85

Tested by

no test coverage detected