Fix bone visibily anims for wii u and fix the editor a bit
This commit is contained in:
parent
46c962ff0a
commit
a41737031f
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -94,16 +94,16 @@ namespace FirstPlugin.Forms
|
||||
dataGridView1.DataSource = null;
|
||||
dataGridView1.Rows.Clear();
|
||||
|
||||
int rowIndex = 0;
|
||||
for (int frame = 0; frame < vis.FrameCount; frame++)
|
||||
{
|
||||
if (IsKeyed(vis, frame))
|
||||
{
|
||||
int rowIndex = 0;
|
||||
if (frame != 0)
|
||||
rowIndex = this.dataGridView1.Rows.Add();
|
||||
|
||||
var row = this.dataGridView1.Rows[rowIndex];
|
||||
row.Cells["FrameColumn"].Value = frame;
|
||||
Console.WriteLine("rowIndex " + rowIndex);
|
||||
|
||||
row.Cells["FrameColumn"].Value = frame.ToString();
|
||||
|
||||
for (int curve = 0; curve < vis.Values.Count; curve++)
|
||||
{
|
||||
|
Binary file not shown.
Binary file not shown.
@ -34,27 +34,23 @@ namespace Switch_Toolbox.Library.Forms
|
||||
{
|
||||
GridColor = FormThemes.BaseTheme.ConsoleEditorBackColor;
|
||||
}
|
||||
|
||||
|
||||
EnableHeadersVisualStyles = false;
|
||||
|
||||
|
||||
GridViewCellStyle = new DataGridViewCellStyle()
|
||||
{
|
||||
BackColor = FormThemes.BaseTheme.FormBackColor,
|
||||
ForeColor = FormThemes.BaseTheme.FormForeColor
|
||||
};
|
||||
|
||||
Refresh();
|
||||
}
|
||||
|
||||
public void ApplyStyles()
|
||||
{
|
||||
foreach (DataGridViewColumn column in Columns)
|
||||
column.DefaultCellStyle = GridViewCellStyle;
|
||||
{
|
||||
column.DefaultCellStyle.BackColor = FormThemes.BaseTheme.FormBackColor;
|
||||
column.DefaultCellStyle.ForeColor = FormThemes.BaseTheme.FormForeColor;
|
||||
}
|
||||
|
||||
foreach (DataGridViewRow row in Rows)
|
||||
row.DefaultCellStyle = GridViewCellStyle;
|
||||
{
|
||||
row.DefaultCellStyle.BackColor = FormThemes.BaseTheme.FormBackColor;
|
||||
row.DefaultCellStyle.ForeColor = FormThemes.BaseTheme.FormForeColor;
|
||||
}
|
||||
}
|
||||
|
||||
private void InitializeComponent()
|
||||
@ -66,9 +62,7 @@ namespace Switch_Toolbox.Library.Forms
|
||||
//
|
||||
this.BackgroundColor = Color.Gray;
|
||||
this.GridColor = Color.Black;
|
||||
|
||||
this.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.STDataGridView_CellClick);
|
||||
this.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.STDataGridView_CellContentClick);
|
||||
this.CellPainting += new System.Windows.Forms.DataGridViewCellPaintingEventHandler(this.STDataGridView_CellPainting);
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user