MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / ddio_MouseSetLimits

Function ddio_MouseSetLimits

ddio/lnxmouse.cpp:136–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134void ddio_MouseClose() { DDIO_mouse_init = false; }
135
136void ddio_MouseSetLimits(int left, int top, int right, int bottom, int zmin, int zmax) {
137 DDIO_mouse_state.l = left;
138 DDIO_mouse_state.t = top;
139 DDIO_mouse_state.r = right;
140 DDIO_mouse_state.b = bottom;
141}
142
143void ddio_MouseGetLimits(int *left, int *top, int *right, int *bottom, int *zmin, int *zmax) {
144 *left = DDIO_mouse_state.l;

Callers 2

ddio_MouseResetFunction · 0.85
ddio_MouseSetVCoordsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected