mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-23 19:24:48 +00:00
-"Move Up" and "Move Down" functions finally work properly and with folders! -Animation Editor can import Java block and item animations -Animation Editor has a built-in Change Tile function where every single block and item that can be animated is listed (clock and compass are excluded since they have animations based on game data). When selected, it will automatically set your animation to that tile for you. If a required folder is missing, the function will create the folder for you and place the file inside. Happy animating! (: -Removed the old "Create Animated Texture" function and replaced it with the new Animation Editor -Moved the Audio Editor and Animation Editor into their own folders in the Utilities folder to keep things a little more organized in the solution.
216 lines
8.6 KiB
C#
216 lines
8.6 KiB
C#
namespace PckStudio.Forms.Utilities.AnimationEditor
|
|
{
|
|
partial class ChangeTile
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
this.button2 = new System.Windows.Forms.Button();
|
|
this.treeView1 = new System.Windows.Forms.TreeView();
|
|
this.treeView2 = new System.Windows.Forms.TreeView();
|
|
this.metroLabel1 = new MetroFramework.Controls.MetroLabel();
|
|
this.metroLabel2 = new MetroFramework.Controls.MetroLabel();
|
|
this.metroTextBox1 = new MetroFramework.Controls.MetroTextBox();
|
|
this.metroTabControl1 = new MetroFramework.Controls.MetroTabControl();
|
|
this.Blocks = new System.Windows.Forms.TabPage();
|
|
this.Items = new System.Windows.Forms.TabPage();
|
|
this.metroTabControl1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// button1
|
|
//
|
|
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.button1.ForeColor = System.Drawing.Color.White;
|
|
this.button1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
this.button1.Location = new System.Drawing.Point(55, 233);
|
|
this.button1.Name = "button1";
|
|
this.button1.Size = new System.Drawing.Size(75, 23);
|
|
this.button1.TabIndex = 7;
|
|
this.button1.Text = "Save";
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
//
|
|
// button2
|
|
//
|
|
this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.button2.ForeColor = System.Drawing.Color.White;
|
|
this.button2.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
this.button2.Location = new System.Drawing.Point(135, 233);
|
|
this.button2.Name = "button2";
|
|
this.button2.Size = new System.Drawing.Size(75, 23);
|
|
this.button2.TabIndex = 13;
|
|
this.button2.Text = "Cancel";
|
|
this.button2.UseVisualStyleBackColor = true;
|
|
this.button2.Click += new System.EventHandler(this.button2_Click);
|
|
//
|
|
// treeView1
|
|
//
|
|
this.treeView1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
|
this.treeView1.ForeColor = System.Drawing.Color.White;
|
|
this.treeView1.Location = new System.Drawing.Point(0, 0);
|
|
this.treeView1.Name = "treeView1";
|
|
this.treeView1.Size = new System.Drawing.Size(184, 125);
|
|
this.treeView1.TabIndex = 14;
|
|
this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViews_AfterSelect);
|
|
//
|
|
// treeView2
|
|
//
|
|
this.treeView2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
|
this.treeView2.ForeColor = System.Drawing.Color.White;
|
|
this.treeView2.Location = new System.Drawing.Point(0, 0);
|
|
this.treeView2.Name = "treeView2";
|
|
this.treeView2.Size = new System.Drawing.Size(184, 125);
|
|
this.treeView2.TabIndex = 14;
|
|
this.treeView2.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViews_AfterSelect);
|
|
//
|
|
// metroLabel1
|
|
//
|
|
this.metroLabel1.AutoSize = true;
|
|
this.metroLabel1.Location = new System.Drawing.Point(75, 13);
|
|
this.metroLabel1.Name = "metroLabel1";
|
|
this.metroLabel1.Size = new System.Drawing.Size(114, 19);
|
|
this.metroLabel1.TabIndex = 15;
|
|
this.metroLabel1.Text = "Please select a tile";
|
|
this.metroLabel1.Theme = MetroFramework.MetroThemeStyle.Dark;
|
|
//
|
|
// metroLabel2
|
|
//
|
|
this.metroLabel2.AutoSize = true;
|
|
this.metroLabel2.Location = new System.Drawing.Point(36, 35);
|
|
this.metroLabel2.Name = "metroLabel2";
|
|
this.metroLabel2.Size = new System.Drawing.Size(46, 19);
|
|
this.metroLabel2.TabIndex = 16;
|
|
this.metroLabel2.Text = "Filter: ";
|
|
this.metroLabel2.Theme = MetroFramework.MetroThemeStyle.Dark;
|
|
//
|
|
// metroTextBox1
|
|
//
|
|
//
|
|
//
|
|
//
|
|
this.metroTextBox1.CustomButton.Image = null;
|
|
this.metroTextBox1.CustomButton.Location = new System.Drawing.Point(113, 1);
|
|
this.metroTextBox1.CustomButton.Name = "";
|
|
this.metroTextBox1.CustomButton.Size = new System.Drawing.Size(21, 21);
|
|
this.metroTextBox1.CustomButton.Style = MetroFramework.MetroColorStyle.Blue;
|
|
this.metroTextBox1.CustomButton.TabIndex = 1;
|
|
this.metroTextBox1.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light;
|
|
this.metroTextBox1.CustomButton.UseSelectable = true;
|
|
this.metroTextBox1.CustomButton.Visible = false;
|
|
this.metroTextBox1.Lines = new string[0];
|
|
this.metroTextBox1.Location = new System.Drawing.Point(75, 35);
|
|
this.metroTextBox1.MaxLength = 32767;
|
|
this.metroTextBox1.Name = "metroTextBox1";
|
|
this.metroTextBox1.PasswordChar = '\0';
|
|
this.metroTextBox1.ScrollBars = System.Windows.Forms.ScrollBars.None;
|
|
this.metroTextBox1.SelectedText = "";
|
|
this.metroTextBox1.SelectionLength = 0;
|
|
this.metroTextBox1.SelectionStart = 0;
|
|
this.metroTextBox1.ShortcutsEnabled = true;
|
|
this.metroTextBox1.Size = new System.Drawing.Size(135, 23);
|
|
this.metroTextBox1.TabIndex = 17;
|
|
this.metroTextBox1.Theme = MetroFramework.MetroThemeStyle.Dark;
|
|
this.metroTextBox1.UseSelectable = true;
|
|
this.metroTextBox1.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
|
|
this.metroTextBox1.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
|
|
this.metroTextBox1.TextChanged += new System.EventHandler(this.filter_TextChanged);
|
|
//
|
|
// metroTabControl1
|
|
//
|
|
this.metroTabControl1.Controls.Add(this.Blocks);
|
|
this.metroTabControl1.Controls.Add(this.Items);
|
|
this.metroTabControl1.Location = new System.Drawing.Point(36, 60);
|
|
this.metroTabControl1.Name = "metroTabControl1";
|
|
this.metroTabControl1.SelectedIndex = 0;
|
|
this.metroTabControl1.Size = new System.Drawing.Size(192, 167);
|
|
this.metroTabControl1.TabIndex = 18;
|
|
this.metroTabControl1.Theme = MetroFramework.MetroThemeStyle.Dark;
|
|
this.metroTabControl1.UseSelectable = true;
|
|
//
|
|
// Blocks
|
|
//
|
|
this.Blocks.BackColor = System.Drawing.SystemColors.WindowFrame;
|
|
this.Blocks.Location = new System.Drawing.Point(4, 38);
|
|
this.Blocks.Name = "Blocks";
|
|
this.Blocks.Size = new System.Drawing.Size(184, 125);
|
|
this.Blocks.TabIndex = 0;
|
|
this.Blocks.Text = "Blocks";
|
|
//
|
|
// Items
|
|
//
|
|
this.Items.BackColor = System.Drawing.SystemColors.WindowFrame;
|
|
this.Items.Location = new System.Drawing.Point(4, 38);
|
|
this.Items.Name = "Items";
|
|
this.Items.Size = new System.Drawing.Size(184, 125);
|
|
this.Items.TabIndex = 0;
|
|
this.Items.Text = "Items";
|
|
//
|
|
// ChangeTile
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(264, 264);
|
|
this.ControlBox = false;
|
|
this.Controls.Add(this.metroTabControl1);
|
|
this.Controls.Add(this.metroTextBox1);
|
|
this.Controls.Add(this.metroLabel2);
|
|
this.Controls.Add(this.metroLabel1);
|
|
this.Controls.Add(this.treeView1);
|
|
this.Controls.Add(this.treeView2);
|
|
this.Controls.Add(this.button2);
|
|
this.Controls.Add(this.button1);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "ChangeTile";
|
|
this.Resizable = false;
|
|
this.Style = MetroFramework.MetroColorStyle.Silver;
|
|
this.Theme = MetroFramework.MetroThemeStyle.Dark;
|
|
this.metroTabControl1.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
private void MetroTextBox1_TextChanged(object sender, System.EventArgs e)
|
|
{
|
|
throw new System.NotImplementedException();
|
|
}
|
|
|
|
#endregion
|
|
private System.Windows.Forms.Button button1;
|
|
private System.Windows.Forms.Button button2;
|
|
private System.Windows.Forms.TreeView treeView1;
|
|
private System.Windows.Forms.TreeView treeView2;
|
|
private MetroFramework.Controls.MetroLabel metroLabel1;
|
|
private MetroFramework.Controls.MetroLabel metroLabel2;
|
|
private MetroFramework.Controls.MetroTextBox metroTextBox1;
|
|
private MetroFramework.Controls.MetroTabControl metroTabControl1;
|
|
private System.Windows.Forms.TabPage Blocks;
|
|
private System.Windows.Forms.TabPage Items;
|
|
}
|
|
} |