예제 #1
0
 protected MouseListener(Subscribe subscribe)
     : base(subscribe)
 {
     m_PreviousPosition = new Point(-1, -1);
     m_DoubleDown = new ButtonSet();
     m_SingleDown = new ButtonSet();
 }
예제 #2
0
 protected MouseListener(Subscribe subscribe)
     : base(subscribe)
 {
     m_PreviousPosition = new Point(-1, -1);
     m_DoubleDown       = new ButtonSet();
     m_SingleDown       = new ButtonSet();
 }
        protected MouseListener(Subscribe subscribe)
            : base(subscribe)
        {
            m_xDragThreshold = NativeMethods.GetXDragThreshold();
            m_yDragThreshold = NativeMethods.GetYDragThreshold();
            m_IsDragging     = false;

            m_PreviousPosition  = m_UninitialisedPoint;
            m_DragStartPosition = m_UninitialisedPoint;

            m_DoubleDown = new ButtonSet();
            m_SingleDown = new ButtonSet();
        }
예제 #4
0
        protected MouseListener(Subscribe subscribe)
            : base(subscribe)
        {
            m_xDragThreshold = NativeMethods.GetXDragThreshold();
            m_yDragThreshold = NativeMethods.GetYDragThreshold();
            m_IsDragging = false;

            m_PreviousPosition = m_UninitialisedPoint;
            m_DragStartPosition = m_UninitialisedPoint;

            m_DoubleDown = new ButtonSet();
            m_SingleDown = new ButtonSet();
        }