* Updates the visibility of the arrow buttons according to * the current scroll position. */
| 827 | * the current scroll position. |
| 828 | */ |
| 829 | void TextList::updateArrows() |
| 830 | { |
| 831 | _up->setVisible(_rows.size() > _visibleRows /*&& _scroll > 0*/); |
| 832 | _down->setVisible(_rows.size() > _visibleRows /*&& _scroll < _rows.size() - _visibleRows*/); |
| 833 | _scrollbar->setVisible(_rows.size() > _visibleRows); |
| 834 | _scrollbar->invalidate(); |
| 835 | _scrollbar->blit(this); |
| 836 | } |
| 837 | |
| 838 | /** |
| 839 | * Updates the amount of visible rows according to the |
nothing calls this directly
no test coverage detected