* Sets a function to be called every time the right arrows are mouse clicked. * @param handler Action handler. */
| 712 | * @param handler Action handler. |
| 713 | */ |
| 714 | void TextList::onRightArrowClick(ActionHandler handler) |
| 715 | { |
| 716 | _rightClick = handler; |
| 717 | for (std::vector<ArrowButton*>::iterator i = _arrowRight.begin(); i < _arrowRight.end(); ++i) |
| 718 | { |
| 719 | (*i)->onMouseClick(handler, 0); |
| 720 | } |
| 721 | } |
| 722 | |
| 723 | /** |
| 724 | * Sets a function to be called every time the right arrows are mouse pressed. |
no test coverage detected