public FormEffectEditor(TimedSequenceEditorForm sequenceEditorForm) { InitializeComponent(); _sequenceEditorForm = sequenceEditorForm; host = new ElementHost { Dock = DockStyle.Fill }; _effectPropertyEditorGridEffectEffectPropertiesEditor = new EffectPropertyEditorGrid { ShowReadOnlyProperties = true, PropertyFilterVisibility = Visibility.Hidden }; _effectPropertyEditorGridEffectEffectPropertiesEditor.KeyDown += Editor_OnKeyDown; host.Child = _effectPropertyEditorGridEffectEffectPropertiesEditor; Controls.Add(host); sequenceEditorForm.TimelineControl.SelectionChanged += timelineControl_SelectionChanged; _effectPropertyEditorGridEffectEffectPropertiesEditor.PropertyValueChanged += EffectPropertyEditorValueChanged; _effectPropertyEditorGridEffectEffectPropertiesEditor.PreviewChanged += EditorPreviewStateChanged; _previewLoopTimer.Elapsed += PreviewLoopTimerOnElapsed; }
public ElementsTimeChangedUndoAction(TimedSequenceEditorForm form, Dictionary <Element, ElementTimeInfo> changedElements, ElementMoveType moveType) : base() { m_changedElements = changedElements; m_moveType = moveType; m_form = form; }
public MarkManager(List<MarkCollection> markCollections, IExecutionControl executionControl, ITiming timingSource, TimedSequenceEditorForm timedSequenceEditorForm) { InitializeComponent(); Icon = Resources.Icon_Vixen3; ForeColor = ThemeColorTable.ForeColor; BackColor = ThemeColorTable.BackgroundColor; ThemeUpdateControls.UpdateControls(this); listViewMarkCollections.BackColor = ThemeColorTable.BackgroundColor; listViewMarks.BackColor = ThemeColorTable.BackgroundColor; buttonPlay.Image = Tools.GetIcon(Resources.control_play_blue, 24); buttonPlay.Text = ""; buttonStop.Image = Tools.GetIcon(Resources.control_stop_blue, 24); buttonStop.Text = ""; buttonStop.Enabled = false; buttonIncreasePlaybackSpeed.Image = Tools.GetIcon(Resources.add, 24); buttonIncreasePlaybackSpeed.Text = ""; buttonDecreasePlaySpeed.Image = Tools.GetIcon(Resources.minus, 24); buttonDecreasePlaySpeed.Text = ""; buttonIncreaseSelectedMarks.Image = Tools.GetIcon(Resources.add, 24); buttonIncreaseSelectedMarks.Text = ""; buttonDecreaseSelectedMarks.Image = Tools.GetIcon(Resources.minus, 24); buttonDecreaseSelectedMarks.Text = ""; buttonRemoveCollection.ForeColor = buttonRemoveCollection.Enabled ? ThemeColorTable.ForeColor : ThemeColorTable.ForeColorDisabled; labelTapperInstructions.Visible = false; MarkCollections = markCollections; _executionControl = executionControl; _timingSource = timingSource; _timedSequenceEditorForm = timedSequenceEditorForm; }
public FormEffectEditor(TimedSequenceEditorForm sequenceEditorForm) { if (Application.Current == null) { // create the Application object new Application(); } ResourceDictionary dict = new ResourceDictionary { Source = new Uri("/EffectEditor;component/Themes/Theme.xaml", UriKind.Relative) }; Application.Current.Resources.MergedDictionaries.Add(dict); InitializeComponent(); _sequenceEditorForm = sequenceEditorForm; host = new ElementHost { Dock = DockStyle.Fill }; _effectPropertyEditorGridEffectEffectPropertiesEditor = new EffectPropertyEditorGrid { ShowReadOnlyProperties = true, PropertyFilterVisibility = Visibility.Hidden }; _effectPropertyEditorGridEffectEffectPropertiesEditor.KeyDown += Editor_OnKeyDown; host.Child = _effectPropertyEditorGridEffectEffectPropertiesEditor; Controls.Add(host); sequenceEditorForm.TimelineControl.SelectionChanged += timelineControl_SelectionChanged; _effectPropertyEditorGridEffectEffectPropertiesEditor.PropertyValueChanged += EffectPropertyEditorValueChanged; _effectPropertyEditorGridEffectEffectPropertiesEditor.PreviewChanged += EditorPreviewStateChanged; _previewLoopTimer.Elapsed += PreviewLoopTimerOnElapsed; }
public MarkManager(List <MarkCollection> markCollections, IExecutionControl executionControl, ITiming timingSource, TimedSequenceEditorForm timedSequenceEditorForm) { InitializeComponent(); MarkCollections = markCollections; _executionControl = executionControl; _timingSource = timingSource; _timedSequenceEditorForm = timedSequenceEditorForm; }
public MarkManager(List<MarkCollection> markCollections, IExecutionControl executionControl, ITiming timingSource, TimedSequenceEditorForm timedSequenceEditorForm) { InitializeComponent(); MarkCollections = markCollections; _executionControl = executionControl; _timingSource = timingSource; _timedSequenceEditorForm = timedSequenceEditorForm; }
public MarkManager(List<MarkCollection> markCollections, IExecutionControl executionControl, ITiming timingSource, TimedSequenceEditorForm timedSequenceEditorForm) { InitializeComponent(); Icon = Resources.Icon_Vixen3; buttonPlay.Image = Tools.GetIcon(Resources.control_play_blue, 16); buttonPlay.Text = ""; buttonStop.Image = Tools.GetIcon(Resources.control_stop_blue, 16); buttonStop.Text = ""; buttonIncreasePlaybackSpeed.Image = Tools.GetIcon(Resources.plus, 16); buttonIncreasePlaybackSpeed.Text = ""; buttonDecreasePlaySpeed.Image = Tools.GetIcon(Resources.minus, 16); buttonDecreasePlaySpeed.Text = ""; buttonIncreaseSelectedMarks.Image = Tools.GetIcon(Resources.plus, 16); buttonIncreaseSelectedMarks.Text = ""; buttonDecreaseSelectedMarks.Image = Tools.GetIcon(Resources.minus, 16); buttonDecreaseSelectedMarks.Text = ""; MarkCollections = markCollections; _executionControl = executionControl; _timingSource = timingSource; _timedSequenceEditorForm = timedSequenceEditorForm; }
public MarkManager(List<MarkCollection> markCollections, IExecutionControl executionControl, ITiming timingSource, TimedSequenceEditorForm timedSequenceEditorForm) { InitializeComponent(); Icon = Resources.Icon_Vixen3; ForeColor = ThemeColorTable.ForeColor; BackColor = ThemeColorTable.BackgroundColor; listViewMarkCollections.BackColor = ThemeColorTable.BackgroundColor; listViewMarks.BackColor = ThemeColorTable.BackgroundColor; int iconSize = (int)(24 * ScalingTools.GetScaleFactor()); buttonPlay.Image = Tools.GetIcon(Resources.control_play_blue, iconSize); buttonPlay.Text = ""; buttonStop.Image = Tools.GetIcon(Resources.control_stop_blue, iconSize); buttonStop.Text = ""; buttonStop.Enabled = false; buttonRestartPlay.Text = ""; buttonRestartPlay.Image = Tools.GetIcon(Resources.control_start_blue,iconSize); buttonIncreasePlaybackSpeed.Image = Tools.GetIcon(Resources.add, iconSize); buttonIncreasePlaybackSpeed.Text = ""; buttonDecreasePlaySpeed.Image = Tools.GetIcon(Resources.minus, iconSize); buttonDecreasePlaySpeed.Text = ""; buttonIncreaseSelectedMarks.Image = Tools.GetIcon(Resources.add, iconSize); buttonIncreaseSelectedMarks.Text = ""; buttonDecreaseSelectedMarks.Image = Tools.GetIcon(Resources.minus, iconSize); buttonDecreaseSelectedMarks.Text = ""; buttonRemoveCollection.ForeColor = buttonRemoveCollection.Enabled ? ThemeColorTable.ForeColor : ThemeColorTable.ForeColorDisabled; ThemeUpdateControls.UpdateControls(this); labelTapperInstructions.Visible = false; MarkCollections = markCollections; _executionControl = executionControl; _timingSource = timingSource; _timedSequenceEditorForm = timedSequenceEditorForm; textBoxPosition.Text = TimeSpan.FromMilliseconds(trackBarPlayBack.Value).ToString(@"m\:ss\.fff"); }
public EffectsAddedUndoAction(TimedSequenceEditorForm form, IEnumerable<EffectNode> nodes) : base(form, nodes) { }
public EffectsAddedRemovedUndoAction(TimedSequenceEditorForm form, IEnumerable<EffectNode> nodes) { m_form = form; m_effectNodes = nodes; m_count = m_effectNodes.Count(); }
public EffectsAddedRemovedUndoAction(TimedSequenceEditorForm form, IEnumerable <EffectNode> nodes) { m_form = form; m_effectNodes = nodes; m_count = m_effectNodes.Count(); }
public EffectsRemovedUndoAction(TimedSequenceEditorForm form, IEnumerable <EffectNode> nodes) : base(form, nodes) { }
public ElementsTimeChangedUndoAction(TimedSequenceEditorForm form, Dictionary<Element, ElementTimeInfo> changedElements, ElementMoveType moveType) : base() { m_changedElements = changedElements; m_moveType = moveType; m_form = form; }