BizHawk/BizHawk.Client.EmuHawk/tools/TAStudio/TasStudioExperiment.cs

134 lines
2.1 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BizHawk.Client.Common;
namespace BizHawk.Client.EmuHawk
{
public partial class TasStudioExperiment : Form, IToolForm
{
#region IToolForm Implementation
public bool UpdateBefore { get { return false; } }
public void UpdateValues()
{
if (!IsHandleCreated || IsDisposed)
{
return;
}
InputView.Invalidate();
}
public void FastUpdate()
{
// TODO: think more about this
}
public void Restart()
{
if (!IsHandleCreated || IsDisposed)
{
return;
}
}
public bool AskSave()
{
return true;
}
#endregion
public TasStudioExperiment()
{
InitializeComponent();
}
private void TasStudioExperiment_Load(object sender, EventArgs e)
{
InputView.Columns.AddRange(new []
{
new RollColumn
{
Name = "MarkerColumn",
Text = "",
Width = 40,
},
new RollColumn
{
Name = "FrameColumn",
Text = "Frame",
Width = 50,
},
new RollColumn
{
Name = "P1 Up",
Text = "U",
Width = 23,
},
new RollColumn
{
Name = "P1 Down",
Text = "D",
Width = 23,
},
new RollColumn
{
Name = "P1 Left",
Text = "L",
Width = 23,
},
new RollColumn
{
Name = "P1 Right",
Text = "R",
Width = 23,
},
new RollColumn
{
Name = "P1 Select",
Text = "s",
Width = 23,
},
new RollColumn
{
Name = "P1 Start",
Text = "S",
Width = 23,
},
new RollColumn
{
Name = "P1 B",
Text = "B",
Width = 23,
},
new RollColumn
{
Name = "P1 A",
Text = "A",
Width = 23,
},
});
}
private void settingsToolStripMenuItem_DropDownOpened(object sender, EventArgs e)
{
}
private void autoloadToolStripMenuItem_Click(object sender, EventArgs e)
{
}
}
}