MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / input_mouse_button_callback

Method input_mouse_button_callback

src/World.cpp:335–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333}
334
335void World::input_mouse_button_callback(const InputManager::MouseButtonCallbackArgs& button) {
336 if(!clientStillConnecting) {
337 drawProg.input_mouse_button_callback(button);
338 drawData.cam.input_mouse_button_on_canvas_callback(*this, button);
339 }
340}
341
342void World::input_mouse_motion_callback(const InputManager::MouseMotionCallbackArgs& motion) {
343 if(!clientStillConnecting) {

Tested by

no test coverage detected