コード例 #1
0
ファイル: FillerEditor.cs プロジェクト: caillou15/NodeMarkup
 public bool SelectRail(FillerRailSelectPropertyPanel selectPanel, Func <Event, bool> afterAction)
 {
     if (Tool.Mode == FillerRailToolMode && selectPanel == FillerRailToolMode.SelectPanel)
     {
         Tool.SetDefaultMode();
         return(true);
     }
     else
     {
         Tool.SetMode(FillerRailToolMode);
         FillerRailToolMode.Contour          = EditObject.Contour;
         FillerRailToolMode.SelectPanel      = selectPanel;
         FillerRailToolMode.AfterSelectPanel = afterAction;
         selectPanel.Focus();
         return(false);
     }
 }
コード例 #2
0
ファイル: FillerEditor.cs プロジェクト: caillou15/NodeMarkup
 public void LeaveRail(FillerRailSelectPropertyPanel selectPanel) => HoverRailPanel = null;
コード例 #3
0
ファイル: FillerEditor.cs プロジェクト: caillou15/NodeMarkup
 public bool SelectRail(FillerRailSelectPropertyPanel selectPanel) => SelectRail(selectPanel, null);
コード例 #4
0
ファイル: FillerEditor.cs プロジェクト: caillou15/NodeMarkup
 public void HoverRail(FillerRailSelectPropertyPanel selectPanel) => HoverRailPanel = selectPanel;