public void HandleEvents()
        {
            RectangleToolFlags flags = m_CurveEditor.settings.rectangleToolFlags;

            if (flags == RectangleToolFlags.NoRectangleTool)
            {
                return;
            }

            m_SelectionScaleTop.HandleEvents();
            m_SelectionScaleBottom.HandleEvents();

            if (rippleTime)
            {
                m_SelectionRippleLeft.HandleEvents();
                m_SelectionRippleRight.HandleEvents();
            }
            else
            {
                m_SelectionScaleLeft.HandleEvents();
                m_SelectionScaleRight.HandleEvents();
            }

            m_SelectionBox.HandleEvents();
        }
示例#2
0
        public void HandleEvents()
        {
            if (rippleTime)
            {
                m_SelectionRippleLeft.HandleEvents();
                m_SelectionRippleRight.HandleEvents();
            }
            else
            {
                m_SelectionScaleLeft.HandleEvents();
                m_SelectionScaleRight.HandleEvents();
            }

            m_SelectionBoxes[0].HandleEvents();
            m_SelectionBoxes[1].HandleEvents();
        }
        public void HandleOverlayEvents()
        {
            RectangleToolFlags flags = m_CurveEditor.settings.rectangleToolFlags;

            if (flags == RectangleToolFlags.NoRectangleTool)
            {
                return;
            }

            if (flags == RectangleToolFlags.FullRectangleTool)
            {
                m_VBarBottom.HandleEvents();
                m_VBarTop.HandleEvents();
                m_VBar.HandleEvents();

                m_HBarLeft.HandleEvents();
                m_HBarRight.HandleEvents();
                m_HBar.HandleEvents();
            }
        }