protected override void onMouseButtonUp(Glfw.MouseButton button) { if (crow.ProcessMouseButtonUp((MouseButton)button)) { return; } base.onMouseButtonUp(button); }
static void HandleMouseButtonDelegate(IntPtr window, Glfw.MouseButton button, InputAction action, Modifier mods) { if (action == InputAction.Press) { currentWindow.buttons[(int)button] = true; currentWindow.onMouseButtonDown(button); } else { currentWindow.buttons[(int)button] = false; currentWindow.onMouseButtonUp(button); } }
protected virtual void onMouseButtonUp(Glfw.MouseButton button) { }