MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / GUI_Button_Load_MouseWheel

Method GUI_Button_Load_MouseWheel

Source/GUI_Element.cpp:1340–1347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1338
1339
1340void cFodder::GUI_Button_Load_MouseWheel() {
1341 if (mMouse_EventLastWheel.mY > 0) {
1342 GUI_Button_Load_Up();
1343 }
1344 else if (mMouse_EventLastWheel.mY < 0) {
1345 GUI_Button_Load_Down();
1346 }
1347}
1348
1349void cFodder::GUI_Button_Load_Up() {
1350 mGUI_Select_File_CurrentIndex -= (mGUI_Select_File_ShownItems - 1);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected