public UndoHistoryForm(TAStudio owner) { InitializeComponent(); tastudio = owner; HistoryView.QueryItemText += HistoryView_QueryItemText; HistoryView.QueryItemBkColor += HistoryView_QueryItemBkColor; HistoryView.Columns[1].Width = 280; MaxStepsNum.Value = log.MaxSteps; }
public PatternsForm(TAStudio owner) { InitializeComponent(); tastudio = owner; foreach (var button in Global.MovieSession.MovieControllerAdapter.Type.BoolButtons) ButtonBox.Items.Add(button); foreach (var button in Global.MovieSession.MovieControllerAdapter.Type.FloatControls) ButtonBox.Items.Add(button); ButtonBox.Items.Add("Default bool Auto-Fire"); ButtonBox.Items.Add("Default float Auto-Fire"); }
public PatternsForm(TAStudio owner) { InitializeComponent(); tastudio = owner; foreach (var button in Global.MovieSession.MovieControllerAdapter.Definition.BoolButtons) { ButtonBox.Items.Add(button); } foreach (var button in Global.MovieSession.MovieControllerAdapter.Definition.FloatControls) { ButtonBox.Items.Add(button); } ButtonBox.Items.Add("Default bool Auto-Fire"); ButtonBox.Items.Add("Default float Auto-Fire"); }
public UndoHistoryForm(TAStudio owner) { InitializeComponent(); _tastudio = owner; HistoryView.QueryItemText += HistoryView_QueryItemText; HistoryView.QueryItemBkColor += HistoryView_QueryItemBkColor; HistoryView.AllColumns.Clear(); HistoryView.AllColumns.AddRange(new[] { new RollColumn { Name = IdColumnName, Text = IdColumnName, UnscaledWidth = 40, Type = ColumnType.Text }, new RollColumn { Name = UndoColumnName, Text = UndoColumnName, UnscaledWidth = 280, Type = ColumnType.Text } }); MaxStepsNum.Value = Log.MaxSteps; }