Beispiel #1
0
 public SquareResizer(TwoPaneSplitView splitView, float minFirstDimension, float minSecondDimension)
 {
     m_MinFirstDimension  = minFirstDimension;
     m_MinSecondDimension = minSecondDimension;
     m_SplitView          = splitView;
     m_Pane = splitView.m_LeftPane;
     activators.Add(new ManipulatorActivationFilter {
         button = MouseButton.LeftMouse
     });
     m_Active = false;
 }
Beispiel #2
0
 public SquareResizer(TwoPaneSplitView splitView, int dir, float minFirstDimension, float minSecondDimension, Orientation orientation)
 {
     m_Orientation        = orientation;
     m_MinFirstDimension  = minFirstDimension;
     m_MinSecondDimension = minSecondDimension;
     m_SplitView          = splitView;
     m_Pane      = splitView.m_FixedPane;
     m_Direction = dir;
     activators.Add(new ManipulatorActivationFilter {
         button = MouseButton.LeftMouse
     });
     m_Active = false;
 }
 public SquareResizer(TwoPaneSplitView splitView, int dir, float minWidth, Orientation orientation, int buffer)
 {
     m_Orientation = orientation;
     m_MinWidth    = minWidth;
     m_Buffer      = buffer;
     m_SplitView   = splitView;
     m_Pane        = splitView.m_FixedPane;
     m_Direction   = dir;
     activators.Add(new ManipulatorActivationFilter {
         button = MouseButton.LeftMouse
     });
     m_Active = false;
 }