* Sets a function to be called every time the left arrows are mouse clicked. * @param handler Action handler. */
| 673 | * @param handler Action handler. |
| 674 | */ |
| 675 | void TextList::onLeftArrowClick(ActionHandler handler) |
| 676 | { |
| 677 | _leftClick = handler; |
| 678 | for (std::vector<ArrowButton*>::iterator i = _arrowLeft.begin(); i < _arrowLeft.end(); ++i) |
| 679 | { |
| 680 | (*i)->onMouseClick(handler, 0); |
| 681 | } |
| 682 | } |
| 683 | |
| 684 | /** |
| 685 | * Sets a function to be called every time the left arrows are mouse pressed. |
no test coverage detected