MCPcopy 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
63void Mouse::MouseWheelEvent(int x_amount, int y_amount) {
64 wheel_delta_x_ += x_amount;
65 wheel_delta_y_ += y_amount;
66}
67
68void Mouse::MouseDownEvent(int sdl_button_index) {
69 AddKeyCodeBufferItem(sdl_button_index);

Callers 1

HandleEventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected