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

Method onLeftArrowRelease

src/Interface/TextList.cpp:701–708  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

699 * @param handler Action handler.
700 */
701void TextList::onLeftArrowRelease(ActionHandler handler)
702{
703 _leftRelease = handler;
704 for (std::vector<ArrowButton*>::iterator i = _arrowLeft.begin(); i < _arrowLeft.end(); ++i)
705 {
706 (*i)->onMouseRelease(handler);
707 }
708}
709
710/**
711 * Sets a function to be called every time the right arrows are mouse clicked.

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