Esempio n. 1
0
 protected override void onMouseButtonUp(Glfw.MouseButton button)
 {
     if (crow.ProcessMouseButtonUp((MouseButton)button))
     {
         return;
     }
     base.onMouseButtonUp(button);
 }
Esempio n. 2
0
 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);
     }
 }
Esempio n. 3
0
 protected virtual void onMouseButtonUp(Glfw.MouseButton button)
 {
 }