MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / vButtonTop

Function vButtonTop

src/OpenLoco/src/Ui/ScrollView.cpp:393–397  ·  view source on GitHub ↗

0x004C8B26

Source from the content-addressed store, hash-verified

391
392 // 0x004C8B26
393 static void vButtonTop(Ui::Window& window, const size_t scrollAreaIndex, const WidgetIndex_t widgetIndex)
394 {
395 window.scrollAreas[scrollAreaIndex].flags |= ScrollFlags::vscrollbarUpPressed;
396 verticalNudgeUp(window, scrollAreaIndex, widgetIndex);
397 }
398
399 void verticalNudgeDown(Ui::Window& window, const size_t scrollAreaIndex, const WidgetIndex_t widgetIndex)
400 {

Callers 2

scrollLeftBeginFunction · 0.85
scrollLeftContinueFunction · 0.85

Calls 1

verticalNudgeUpFunction · 0.85

Tested by

no test coverage detected