MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / lstItemsLeftArrowPress

Method lstItemsLeftArrowPress

src/Basescape/TransferItemsState.cpp:381–385  ·  view source on GitHub ↗

* Starts increasing the item. * @param action Pointer to an action. */

Source from the content-addressed store, hash-verified

379 * @param action Pointer to an action.
380 */
381void TransferItemsState::lstItemsLeftArrowPress(Action *action)
382{
383 _sel = _lstItems->getSelectedRow();
384 if (action->getDetails()->button.button == SDL_BUTTON_LEFT && !_timerInc->isRunning()) _timerInc->start();
385}
386
387/**
388 * Stops increasing the item.

Callers

nothing calls this directly

Calls 4

getSelectedRowMethod · 0.80
getDetailsMethod · 0.80
isRunningMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected