public UndoHistoryForm(TAStudio owner)
        {
            InitializeComponent();
            tastudio = owner;

            HistoryView.QueryItemText    += HistoryView_QueryItemText;
            HistoryView.QueryItemBkColor += HistoryView_QueryItemBkColor;

            HistoryView.Columns[1].Width = 280;

            MaxStepsNum.Value = log.MaxSteps;
        }
Example #2
0
		public UndoHistoryForm(TAStudio owner)
		{
			InitializeComponent();
			tastudio = owner;

			HistoryView.QueryItemText += HistoryView_QueryItemText;
			HistoryView.QueryItemBkColor += HistoryView_QueryItemBkColor;

			HistoryView.Columns[1].Width = 280;

			MaxStepsNum.Value = log.MaxSteps;
		}
Example #3
0
		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");
		}
Example #4
0
        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");
        }
Example #5
0
        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;
        }