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

Method onRightArrowRelease

src/Interface/TextList.cpp:740–747  ·  view source on GitHub ↗

* Sets a function to be called every time the right arrows are mouse released. * @param handler Action handler. */

Source from the content-addressed store, hash-verified

738 * @param handler Action handler.
739 */
740void TextList::onRightArrowRelease(ActionHandler handler)
741{
742 _rightRelease = handler;
743 for (std::vector<ArrowButton*>::iterator i = _arrowRight.begin(); i < _arrowRight.end(); ++i)
744 {
745 (*i)->onMouseRelease(handler);
746 }
747}
748
749/**
750 * Removes all the rows currently stored in the list.

Callers 5

SellStateMethod · 0.80
TransferItemsStateMethod · 0.80
CraftEquipmentStateMethod · 0.80
PurchaseStateMethod · 0.80

Calls 1

onMouseReleaseMethod · 0.80

Tested by

no test coverage detected