Esempio n. 1
0
 /// <summary>
 /// Select command and return true if selected
 /// </summary>
 /// <param name="x"></param>
 /// <param name="y"></param>
 /// <returns></returns>
 public bool SelectCommand(float x, float y)
 {
     currentCommand = this.EditorProject.CurrentReportPage.SelectCommand(x, y);
     return currentCommand != null;
 }
Esempio n. 2
0
 /// <summary>
 /// Stop moving command
 /// </summary>
 public void StopMovingCommand()
 {
     if (currentCommand != null)
     {
         currentCommand.StopMoving();
     }
     isMovingCommand = false;
     currentCommand = null;
     OnEditorItemHierarchyChanged();
 }
Esempio n. 3
0
 /// <summary>
 /// Select command and return true if selected
 /// </summary>
 /// <param name="x"></param>
 /// <param name="y"></param>
 /// <returns></returns>
 public bool SelectCommand(float x, float y)
 {
     currentCommand = this.EditorProject.CurrentReportPage.SelectCommand(x, y);
     return(currentCommand != null);
 }