* Blits the scrollbar contents. * @param surface Pointer to surface to blit onto. */
| 170 | * @param surface Pointer to surface to blit onto. |
| 171 | */ |
| 172 | void ScrollBar::blit(Surface *surface) |
| 173 | { |
| 174 | Surface::blit(surface); |
| 175 | if (_visible && !_hidden) |
| 176 | { |
| 177 | _track->blit(surface); |
| 178 | _thumb->blit(surface); |
| 179 | invalidate(); |
| 180 | } |
| 181 | } |
| 182 | |
| 183 | /** |
| 184 | * The scrollbar only moves while the button is pressed. |
nothing calls this directly
no outgoing calls
no test coverage detected