MCPcopy Create free account
hub / github.com/bluescan/tacentview / ExampleAppDocuments

Method ExampleAppDocuments

Contrib/imgui/imgui_demo.cpp:7777–7785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7775 ImVector<MyDocument> Documents;
7776
7777 ExampleAppDocuments()
7778 {
7779 Documents.push_back(MyDocument("Lettuce", true, ImVec4(0.4f, 0.8f, 0.4f, 1.0f)));
7780 Documents.push_back(MyDocument("Eggplant", true, ImVec4(0.8f, 0.5f, 1.0f, 1.0f)));
7781 Documents.push_back(MyDocument("Carrot", true, ImVec4(1.0f, 0.8f, 0.5f, 1.0f)));
7782 Documents.push_back(MyDocument("Tomato", false, ImVec4(1.0f, 0.3f, 0.4f, 1.0f)));
7783 Documents.push_back(MyDocument("A Rather Long Title", false));
7784 Documents.push_back(MyDocument("Some Document", false));
7785 }
7786};
7787
7788// [Optional] Notify the system of Tabs/Windows closure that happened outside the regular tab interface.

Callers

nothing calls this directly

Calls 2

MyDocumentClass · 0.85
ImVec4Class · 0.85

Tested by

no test coverage detected