MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / scroll

Method scroll

src/Interface/ArrowButton.cpp:316–326  ·  view source on GitHub ↗

* Scrolls the list. */

Source from the content-addressed store, hash-verified

314 * Scrolls the list.
315 */
316void ArrowButton::scroll()
317{
318 if (_shape == ARROW_BIG_UP)
319 {
320 _list->scrollUp(false);
321 }
322 else if (_shape == ARROW_BIG_DOWN)
323 {
324 _list->scrollDown(false);
325 }
326}
327
328/**
329 * Starts scrolling the associated list.

Callers

nothing calls this directly

Calls 2

scrollUpMethod · 0.80
scrollDownMethod · 0.80

Tested by

no test coverage detected