コード例 #1
0
        public void TestInitialMousePressOutsideOfControl()
        {
            Control control = new Control();

            control.ProcessMousePress(MouseButtons.Left);
            control.ProcessMouseRelease(MouseButtons.Left);
        }
コード例 #2
0
        public void TestIgnoreMousePress()
        {
            Control control = new Control();

            control.Bounds = new UniRectangle(10.0f, 10.0f, 80.0f, 80.0f);

            control.ProcessMouseMove(100.0f, 100.0f, 20.0f, 20.0f);
            control.ProcessMousePress(MouseButtons.Left);
            control.ProcessMouseRelease(MouseButtons.Left);
        }
コード例 #3
0
    public void TestIgnoreMousePress() {
      Control control = new Control();
      control.Bounds = new UniRectangle(10.0f, 10.0f, 80.0f, 80.0f);

      control.ProcessMouseMove(100.0f, 100.0f, 20.0f, 20.0f);
      control.ProcessMousePress(MouseButtons.Left);
      control.ProcessMouseRelease(MouseButtons.Left);
    }
コード例 #4
0
 public void TestInitialMousePressOutsideOfControl() {
   Control control = new Control();
   control.ProcessMousePress(MouseButtons.Left);
   control.ProcessMouseRelease(MouseButtons.Left);
 }