* Sets a function to be called every time the right arrows are mouse pressed. * @param handler Action handler. */
| 725 | * @param handler Action handler. |
| 726 | */ |
| 727 | void TextList::onRightArrowPress(ActionHandler handler) |
| 728 | { |
| 729 | _rightPress = handler; |
| 730 | for (std::vector<ArrowButton*>::iterator i = _arrowRight.begin(); i < _arrowRight.end(); ++i) |
| 731 | { |
| 732 | (*i)->onMousePress(handler); |
| 733 | } |
| 734 | } |
| 735 | |
| 736 | /** |
| 737 | * Sets a function to be called every time the right arrows are mouse released. |
no test coverage detected