mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-23 17:14:32 +00:00
-Added an Animation Editor for textures in the "textures/blocks" and "textures/items" folders (besides the clock and compass) and an "EDIT TEXTURE ANIMATION" button. -Within the animation editor, there is a "Set Bulk Animation Speed" function that sets the entire animation to a set frame speed. -Improved the drag and drop function. -Changed some pop up dialogs to child dialogs to prevent multiple extra windows. -Changed the "EDIT AUDIO" button text to "EDIT MUSIC CUES" to describe the Audio.pck functions more accurately. -Changed the main tree's double click event to a NodeMouseDoubleClick event to prevent a rare crash and optimize that event's code. -Adjusted the max display size for large images so that the meta tree would no longer be blocked.
198 lines
8.0 KiB
C#
198 lines
8.0 KiB
C#
|
|
namespace PckStudio.Forms.Utilities.AnimationEditor
|
|
{
|
|
partial class FrameEditor
|
|
{
|
|
/// <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.label2 = new System.Windows.Forms.Label();
|
|
this.metroTextBox1 = new MetroFramework.Controls.MetroTextBox();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.metroTextBox2 = new MetroFramework.Controls.MetroTextBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.button2 = new System.Windows.Forms.Button();
|
|
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, 111);
|
|
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);
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.ForeColor = System.Drawing.Color.White;
|
|
this.label2.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
this.label2.Location = new System.Drawing.Point(9, 54);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(36, 13);
|
|
this.label2.TabIndex = 6;
|
|
this.label2.Text = "Frame";
|
|
//
|
|
// metroTextBox1
|
|
//
|
|
//
|
|
//
|
|
//
|
|
this.metroTextBox1.CustomButton.Image = null;
|
|
this.metroTextBox1.CustomButton.Location = new System.Drawing.Point(157, 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(77, 51);
|
|
this.metroTextBox1.MaxLength = 4;
|
|
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(179, 23);
|
|
this.metroTextBox1.TabIndex = 9;
|
|
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.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.ForeColor = System.Drawing.Color.White;
|
|
this.label1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
this.label1.Location = new System.Drawing.Point(9, 83);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(62, 13);
|
|
this.label1.TabIndex = 10;
|
|
this.label1.Text = "Frame Time";
|
|
//
|
|
// metroTextBox2
|
|
//
|
|
//
|
|
//
|
|
//
|
|
this.metroTextBox2.CustomButton.Image = null;
|
|
this.metroTextBox2.CustomButton.Location = new System.Drawing.Point(157, 1);
|
|
this.metroTextBox2.CustomButton.Name = "";
|
|
this.metroTextBox2.CustomButton.Size = new System.Drawing.Size(21, 21);
|
|
this.metroTextBox2.CustomButton.Style = MetroFramework.MetroColorStyle.Blue;
|
|
this.metroTextBox2.CustomButton.TabIndex = 1;
|
|
this.metroTextBox2.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light;
|
|
this.metroTextBox2.CustomButton.UseSelectable = true;
|
|
this.metroTextBox2.CustomButton.Visible = false;
|
|
this.metroTextBox2.Lines = new string[0];
|
|
this.metroTextBox2.Location = new System.Drawing.Point(77, 80);
|
|
this.metroTextBox2.MaxLength = 4;
|
|
this.metroTextBox2.Name = "metroTextBox2";
|
|
this.metroTextBox2.PasswordChar = '\0';
|
|
this.metroTextBox2.ScrollBars = System.Windows.Forms.ScrollBars.None;
|
|
this.metroTextBox2.SelectedText = "";
|
|
this.metroTextBox2.SelectionLength = 0;
|
|
this.metroTextBox2.SelectionStart = 0;
|
|
this.metroTextBox2.ShortcutsEnabled = true;
|
|
this.metroTextBox2.Size = new System.Drawing.Size(179, 23);
|
|
this.metroTextBox2.TabIndex = 11;
|
|
this.metroTextBox2.Theme = MetroFramework.MetroThemeStyle.Dark;
|
|
this.metroTextBox2.UseSelectable = true;
|
|
this.metroTextBox2.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
|
|
this.metroTextBox2.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
|
|
this.metroTextBox2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress);
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.ForeColor = System.Drawing.Color.White;
|
|
this.label3.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
this.label3.Location = new System.Drawing.Point(47, 13);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(109, 13);
|
|
this.label3.TabIndex = 12;
|
|
this.label3.Text = "may/matt was here :3";
|
|
//
|
|
// 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, 111);
|
|
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);
|
|
//
|
|
// FrameEditor
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(264, 140);
|
|
this.ControlBox = false;
|
|
this.Controls.Add(this.button2);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.metroTextBox2);
|
|
this.Controls.Add(this.button1);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.metroTextBox1);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "FrameEditor";
|
|
this.Resizable = false;
|
|
this.Style = MetroFramework.MetroColorStyle.Silver;
|
|
this.Theme = MetroFramework.MetroThemeStyle.Dark;
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
private System.Windows.Forms.Button button1;
|
|
private System.Windows.Forms.Label label2;
|
|
private MetroFramework.Controls.MetroTextBox metroTextBox1;
|
|
private System.Windows.Forms.Label label1;
|
|
private MetroFramework.Controls.MetroTextBox metroTextBox2;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.Button button2;
|
|
}
|
|
} |