Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WolfireGames/overgrowth
/ MouseWheelEvent
Method
MouseWheelEvent
Source/UserInput/mouse.cpp:63–66 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
61
}
62
63
void Mouse::MouseWheelEvent(int x_amount, int y_amount) {
64
wheel_delta_x_ += x_amount;
65
wheel_delta_y_ += y_amount;
66
}
67
68
void Mouse::MouseDownEvent(int sdl_button_index) {
69
AddKeyCodeBufferItem(sdl_button_index);
Callers
1
HandleEvent
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected