Esempio n. 1
0
 internal void selectAll(TimelineSelectionCollection selectionCollection)
 {
     foreach (TimelineViewButton button in buttons)
     {
         selectionCollection.addButton(button);
     }
 }
Esempio n. 2
0
 internal void addSelection(TimelineSelectionCollection selectionCollection, TimelineSelectionBox timelineSelectionBox)
 {
     foreach (TimelineViewButton button in buttons)
     {
         if (timelineSelectionBox.intersects(button))
         {
             selectionCollection.addButton(button);
         }
     }
 }
Esempio n. 3
0
 void actionButton_Clicked(TimelineViewButton sender, MouseEventArgs e)
 {
     if (AddSelection.HeldDown)
     {
         selectionCollection.addButton(sender);
     }
     else if (RemoveSelection.HeldDown)
     {
         selectionCollection.removeButton(sender);
     }
     else
     {
         if (!sender.StateCheck)
         {
             selectionCollection.clearSelection(false);
         }
         selectionCollection.setCurrentButton(sender);
     }
 }