MCPcopy Create free account
hub / github.com/Aloshi/EmulationStation / resetCursor

Method resetCursor

src/components/ComponentListComponent.cpp:187–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187void ComponentListComponent::resetCursor()
188{
189 if(mEntries.size() == 0)
190 {
191 mCursor = Eigen::Vector2i(-1, -1);
192 return;
193 }
194
195 mCursor << mEntries.at(0).pos[0], mEntries.at(0).pos[1];
196}
197
198void ComponentListComponent::moveCursor(Eigen::Vector2i dir)
199{

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected