* Sets a function to be called every time the right arrows are mouse released. * @param handler Action handler. */
| 738 | * @param handler Action handler. |
| 739 | */ |
| 740 | void 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. |
no test coverage detected