MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / testSelectMultiple

Method testSelectMultiple

apps/tools/Studio/StudioApp.hpp:114–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 bool testGridDetailMode() const { return gridDetailMode; }
113 int testGridDetailIndex() const { return gridDetailIndex; }
114 void testSelectMultiple(const std::vector<int>& indices)
115 {
116 selectedIndices.clear();
117 for (int i : indices)
118 selectedIndices.insert(i);
119 if (!indices.empty())
120 {
121 selectedIndex = indices.back();
122 lastClickedIndex = indices.back();
123 }
124 }
125 void testClearSelection()
126 {
127 selectedIndices.clear();

Callers

nothing calls this directly

Calls 2

clearMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected