mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-08-08 09:41:16 +00:00
* Add 'Validate Skin Dimension' setting * AddNewSkin - Fix cape box not showing after skin selection * Extended ResourceLocation for better atlas handling * ModelImporter - Add block bench export for models inside models.bin * ModelIporter - Rename 'GetPivot' to 'GetSkinBoxPivot' * ModelImporter - Fix ANIM2BOX to properly support slim skin models * ModelImporter - Update BedrockModel json class * ModelImporter - Update 'FixTexture' to be more generic * Update ModelContainer API inside OMI-Lib * Update skin vertex shader to not swap yz * Update CubeMesh class * SkinRenderer - Move framebuffer and error checking function to SceneViewport * SceneViewport - Change OnUpdate parameter * SkinRenderer - Fix Highlight part having wrong transform * SkinRenderer - Move call to 'SwapBuffers' into SceneViewport.OnUpdate * AppSettingsForm - Update API to be more flexible * SkinBOXExtensions - Update 'GetUVGraphicsPath' * SkinRenderer - Update 'OnUpdate' function * SkinRenderer - Add 'LockMousePosition' option * CustomSkinEditor - Update HighlightlingColor when selecting a part * CustomSkinEditor - Add render settings * CustomSkinEditor - Small non-technical changes * SkinRenderer - Small non-technical changes * CustomSkinEditor - Load render settings when 'OnLoad' is called * SkinRenderer - Fix centering leg0/1 * SkinRenderer - Update 'ReInitialzeSkinData' to upload new data to shader * Rename 'ModelImporter' -> 'SkinModelImporter' and add api interface to add custom import/export providers * CubeGroupMesh - Fix overlay parts not showing proerly * SkinRenderer - Fix part highlighting respecting inflate * Split up model and skin importer into seperate classes and improved api * IModelImportProvider - Add 'SupportImport' and 'SupportExport' property fields * ModelImporter - Rename 'SimpleSkinImportProvider' to 'InternalImportProvider' * modelTextureLocations.json - Add todo * SkinModelImporter - Move 'ModelTextureLocations' to GameModelImporter * CustomSkinEditor - Add SettingsManager for RenderSettings * ModelImporter::Import - Check if file exists * Rename 'modelTextureLocations' to 'modelMetaData' * GameModelImporter - Change blockbench name when exporting * SettingsManager - Add functionality to create internal settings object and add settings to it * GameModelImporter - Fully implemented game-model export to block bench * AppSettingsForm - Fix re-adding settings description to default settings * AppSettingsForm - Add settings description to 'ValidateImageDimension' * GameModelImporter - Add copyright notice and remove unnecessary using statements * ModelImporter - Add copyright notice and remove unnecessary using statements * BlockBenchModel - Fix Texture class json deserialization * SkinModelImporter - Add 'TryConvertToSkinBoxType' function * modelMetaData - Remove comments * SkinModelImporter - Fix 'GetSkinBoxPivot' function * SkinModelImporter - Add null check in 'FixTexture' function * SkinModelImporter - Add offset detection when importing skin model * CustomSkinEditor - Add 'export template' button * GameModelImporter - Rename 'ModelTextureLocations' -> 'ModelMetaData' * ModelImporter - Add summary to 'SupportedModelFileFormatsFilter' property * GameModelImporter - Change function signature of 'CreateElement' * GameModelImporter - Add options to create root outline * GameModelImporter - Update Debug message in 'TraverseChildren' * MainForm - Small code refactor * Rename class 'Meta' ->'BlockBenchFormatInfo' and update BlockBenchModel.Create function signature * MainForm - Update 'GetModelTextures' local function * GameModelImporter - Check model metadata before conversion * GameModelInfo - Mark class as sealed * SkinModelImporter - Check if blockbench model uses box uv * BlockBenchModel - Add export property to class 'Element' * CustomSkinEditor - Remove unused 'PreviewImage' property * CustomSkinEditor - Change highlight color on texture * SkinModelImporter - Fix Block Bench Model import * modelMetaData - Add meta data for 1.14 models * SkinModelImporter - Update 'TryConvertToSkinBoxType' function * SkinModelExporter - Fix model export for bbmodel and bedrock model * SkinRenderer - Fix order of applying anim animations to match the game * SkinModelImporter - Fix exception thrown in 'FixTexture' * CustomSkinEditor - Add Anim editor button and fix anim not being updated when exporting * SkinModelImporter - Fix offset detection when importing * SkinModelImporter - Swap box bottom texture when texture is available * GameModelImporter - Sort using statements * SkinModelImporter - Small code clean up inside 'ImportBedrockJson' * SkinModelImporter - Update 'AddBone' function inside 'ExportBedrockJson' * SkinModelImporter - Fix bottom texture swaping being done bofre parts where imported * SkinMoelImporter - Rename 'GetSkinBoxPivot' to 'GetSkinPartPivot' * SceneViewport - Rename 'Init' to 'Initialize' * SkinModelImporter - Add texture import in 'ImportBedrockJson' * SkinModelImporter - Fix becrock model import * Skin-/GameModelImporter - Rename 'fileName' parameter to 'filepath' * Add ModelEditor * modelMetaData - Add cavespider texture location * GameModelImporter - Update 'ExportBlockBenchModel' function * GameModelImporter - Mark 'ModelExportSettings' as sealed * ModelEditor -Add Save tool menu item & add TrySetTexture Delegate * ModelEditor - Add model node icons * Update CubeMesh & rename CubeGroupMesh to CubeMeshCollection * ModelEditor - Rename 'GetModelNodes' & 'GetModelPartNodeChildren' * Update GenericMesh & mesh rendering * Move Cube conversion into SkinBOXExtensions * GenericMesh - Made 'Transform' property abstract * SceneViewport - Add shaderLibrary and api to it * Rename 'skin...' shaders to 'texturedCube...' * Update modelMetaData part hierarchy structure * ShaderProgram - Add 'SetUniform2' overload for System.Drawing.Size * ModelEditor - Create factory methods for custom model treenodes * modelMetaData - Add 'slime.armor' texture location & pattern texture locations for 'tropicalfish_-a/-b' * Move Debug & Camera control into SceneViewport * Update BoundingBox * Add ModelRenderer * ShaderProgram - Update GetUniformLocation to retrive all active uniforms when linking program * ModelEditor - Add option to show bounding box of the model * SceneViewport - Add OnPaint override to clear color and depth buffer and enable depth testing * Update OMI submodule * Update Texture base class to accept slot when calling Bind * Plain color fragment shader - Update uniform names to be PascalCase * SceneViewport - Add 'ResetCamera' virtual function * CustomSkinEditor - Add missing render setting 'Show Armor' * ModelRenderer - Fix centering model after selecting * Move 'SceneViewport.GetBounds' to 'BoundingBox.GetEnclosingBoundingBox' * CubeMeshCollection - Implemented 'GetBounds' * SkinRenderer - Add option to show skins bounding box * ModelEditor - Update 'GetModelImageIndex' * SceneViewport - Disable blend when rendering debug graphics * ModelEditor - Remove 'Model' property in favor to 'LoadModel' function * JsonModelMetaData - Initialize 'RootParts' to empty array * BoundingBox - Fix exception when empty enumerable was passed * CubeMesh - Remove 'SetName' and add constructor with 'name' parameter * SkinBOX - Change class to record & make member properties getter only * BoundingBox - Move 'Abs' function into extension class * SceneViewport - Change 'Transform' to 'GetTransform' * BoundingBox - Make 'GetVertices' static & add GetTransform * SkinRenderer - Fix bounds calculation when offset is set & fix part highlighting * CubeMesh - Move translation & scaling into 'GetTransform' * CubeMeshCollection - Update 'Contains' overload function & 'SetVisible' * ModelRenderer - Fix pivot point rendering * ModelRenderer - Add part highlighting * modelMetaData - Add missing part to dolphin * modelMetaData - Add missing parts to dragon * CubeMesh - Fix 'GetTransform' function * ModelRenderer - Fix model rotation, pivot & translation issues * ModelRenderer - Add offset to render transform & camera * ModelRenderer - Tried fixing alpha rendering issues * modelMetaData - Add missing part to dragon & add comment * Add 'ITryGetSet.cs' and useful wrappers for it * ModelRenderer - Rename 'HighlightInfo.Pivot' to 'HighlightInfo.Translation' * ITryGetSet - mark classes and interfaces public * ModelEditor - Add material render support * ModelRenderer - Add 'TryGetModelMetaData' method * Fix rendering invisible vertecies * ModelRenderer - Simplefied populating 'metaData.RootParts' property * ModelRenderer - Add 'modelOffset' field * ModelRenderer - Update 'SetModelMaterial' * ModelRenderer - Add simple way of rendering a 2nd layer of a model(the bed model only for now) * ModelRenderer - Fix pivot points not working on horse model properly * ResourceLocation - Add 'Unknown' ResourceLocation instance & improved 'ResourceLocation.GetFromPath' * ResourceCategory - Add 'MobEntityTextures' & 'ItemEntityTextures' * Add default model handling (defaults unfinished) * Add Default Bed model * Add default chicken model * Add default cow model * AddSkinPrompt - Fix Custom skin editor not having anim flag properly set * SceneViewport - Fix Designer crashing when trying to call 'OnPaint' * Update OMI submodule * SceneViewport - Call 'base.OnMouseUp' before our own code * BlockBenchModel - Fix 'Texture.Name' being null * ItemSelectionPopUp - Fix 'okBtn_Click' condition * MainForm - Add export function for default models * MainForm - Fix model selector ignoring cancel button * MainForm - Remove unnecessary wrapper for 'entityMaterials.TryGetValue' * ModelEditor - Add remove model to context menu * ModelEditor - Add 'GetModelContainer' function * GameModelImporter - Add import functionality * MainForm - Add texture when exporting default models * Add default model for: redcow, pig, snowgolem & dragon head * Add SkinModel & SkinIdentifier class * Refactor Skin.cs - Move texture from 'SkinModel' to Skin.cs - Move 'Id' from SkinMetaData into it's own class(SkinIdentifier.cs) - Create SkinModelInfo class for keeping skin conversion simple * Skin.cs - Rename 'ANIM' property to 'Anim' * Move 'hasInvalidEntries' into 'MaterialExtensions.HasInvalidEntries' * Add ISaveContext * PckAssetExt - Rename parameter names for 'GetSkin' * Add Editor.cs * Update most editors to use new Editor class and save context * CustomSkinEditor - Use Editor as base class * SkinMetaData - Change to Immutable data type * PckAssetExtension - [SetSkin] Change adding loc key to setting loc key * ImageDeserializer - Add format check when deserializing * MainForm - [HandleSkinFile] Rename some varibale names * ModelEditor - Use Editor as base class * Move static variables from 'ModelPartSpecifics' to 'GameConstants' * Texture.cs - Add IDisposable interface * PckAssetExtensions - [SetSkin] Add null check for loc file * AnimationEditor - Fix auto save check * TextureAtlasEditor - Refactor animation access control * TextureAtlasEditor - Sort using directives * MainForm - [HandleTextureFile] Add Debug message when animation has no frames to save * AddSkinPrompt - Update save context for custom skin editor * Editor - Move autosave check in 'OnFormClosing' * ModelRenderer - Update designer specifics * Merge 'multi-pck-files-feature' into '3dSkinRenderer' * [WIP] Sub-pck in new tab with savecontext etc. * SceneViewport - Change base refresh rate to 60 fps * CustomSkinEditor - Move max offset value into a constant * ModelEditor - Add highlighting of sinfgle model boxes * MainForm - Add constant for max pck id value * CustomSkinEditor - Remove fps slider and re-ordered ui * EditorForm - Remove abstract from class declaration * EditorControl - Made virtual funtion throw `NotImplementedException` * CustomSkinEditor - Fix naming violations * CustomSkinEditor - Move initialization of render settings into a seperate funtion & remove `show armor` setting * Move Common functionality to Core project & rendering and Model support as well * Change namespace of EditorForm & EditorControl * Add Constant 'NDEBUG' to Core, Rendering & ModelSupport project * PckStudio.csproj - Remove `defaultModels.json` & `modelMetaData.json` - files were moved to PckStuido.ModelSupport * PckStudio.csproj - Remove unused `ApplicationBuildInfo.cs` * PckStudio.Core - Add NamedData.cs * PckStudio - Move some Resources to Core * Add Altas class & refactored Atlas editor * Update OMI Submodule * TextureAtlasEditor - Fix clear button not reseting color * Fix PackInfo.cs - OMI.Endianess -> OMI.ByteOrder * TextureAtlas - Impl extraction&import of large tiles * PckStudio.Core - Remove duplicated resources * LOCEditor - Added menu item for copying loc id * Core - Move 'MAX_PACK_ID' into GameConstants * TextureAtlasEditor - small refactor + TODOs * Update OMI submodule ref
391 lines
23 KiB
C#
391 lines
23 KiB
C#
namespace PckStudio.Forms.Editor
|
|
{
|
|
partial class AnimationEditor
|
|
{
|
|
/// <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.components = new System.ComponentModel.Container();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AnimationEditor));
|
|
this.frameTreeView = new System.Windows.Forms.TreeView();
|
|
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.addFrameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.removeFrameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.TextureIcons = new System.Windows.Forms.ImageList(this.components);
|
|
this.menuStrip = new System.Windows.Forms.MenuStrip();
|
|
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.saveToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.importToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.importAnimationTextureToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.importJavaAnimationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.importGifToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.exportAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.exportJavaAnimationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.gifToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.bulkAnimationSpeedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.frameTimeandTicksToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.howToInterpolation = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.editorControlsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.setBulkSpedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.javaAnimationSupportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.InterpolationCheckbox = new MetroFramework.Controls.MetroCheckBox();
|
|
this.AnimationStartStopBtn = new MetroFramework.Controls.MetroButton();
|
|
this.tileLabel = new MetroFramework.Controls.MetroLabel();
|
|
this.animationPictureBox = new PckStudio.ToolboxItems.AnimationPictureBox();
|
|
this.contextMenuStrip1.SuspendLayout();
|
|
this.menuStrip.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.animationPictureBox)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// frameTreeView
|
|
//
|
|
this.frameTreeView.AllowDrop = true;
|
|
this.frameTreeView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)));
|
|
this.frameTreeView.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
|
this.frameTreeView.ContextMenuStrip = this.contextMenuStrip1;
|
|
this.frameTreeView.ForeColor = System.Drawing.Color.White;
|
|
this.frameTreeView.ImageIndex = 0;
|
|
this.frameTreeView.ImageList = this.TextureIcons;
|
|
this.frameTreeView.Location = new System.Drawing.Point(20, 88);
|
|
this.frameTreeView.Margin = new System.Windows.Forms.Padding(0);
|
|
this.frameTreeView.Name = "frameTreeView";
|
|
this.frameTreeView.SelectedImageIndex = 0;
|
|
this.frameTreeView.ShowLines = false;
|
|
this.frameTreeView.ShowRootLines = false;
|
|
this.frameTreeView.Size = new System.Drawing.Size(134, 253);
|
|
this.frameTreeView.TabIndex = 15;
|
|
this.frameTreeView.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.frameTreeView_ItemDrag);
|
|
this.frameTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.frameTreeView_AfterSelect);
|
|
this.frameTreeView.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView1_doubleClick);
|
|
this.frameTreeView.DragDrop += new System.Windows.Forms.DragEventHandler(this.frameTreeView_DragDrop);
|
|
this.frameTreeView.DragEnter += new System.Windows.Forms.DragEventHandler(this.frameTreeView_DragEnter);
|
|
this.frameTreeView.DragOver += new System.Windows.Forms.DragEventHandler(this.frameTreeView_DragOver);
|
|
//
|
|
// contextMenuStrip1
|
|
//
|
|
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.addFrameToolStripMenuItem,
|
|
this.removeFrameToolStripMenuItem});
|
|
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
|
this.contextMenuStrip1.Size = new System.Drawing.Size(154, 48);
|
|
//
|
|
// addFrameToolStripMenuItem
|
|
//
|
|
this.addFrameToolStripMenuItem.Name = "addFrameToolStripMenuItem";
|
|
this.addFrameToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
|
|
this.addFrameToolStripMenuItem.Text = "Add Frame";
|
|
this.addFrameToolStripMenuItem.Click += new System.EventHandler(this.addFrameToolStripMenuItem_Click);
|
|
//
|
|
// removeFrameToolStripMenuItem
|
|
//
|
|
this.removeFrameToolStripMenuItem.Name = "removeFrameToolStripMenuItem";
|
|
this.removeFrameToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
|
|
this.removeFrameToolStripMenuItem.Text = "Remove Frame";
|
|
this.removeFrameToolStripMenuItem.Click += new System.EventHandler(this.removeFrameToolStripMenuItem_Click);
|
|
//
|
|
// TextureIcons
|
|
//
|
|
this.TextureIcons.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
|
|
this.TextureIcons.ImageSize = new System.Drawing.Size(32, 32);
|
|
this.TextureIcons.TransparentColor = System.Drawing.Color.Transparent;
|
|
//
|
|
// menuStrip
|
|
//
|
|
this.menuStrip.AutoSize = false;
|
|
this.menuStrip.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
|
this.menuStrip.Dock = System.Windows.Forms.DockStyle.None;
|
|
this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.fileToolStripMenuItem,
|
|
this.editToolStripMenuItem,
|
|
this.helpToolStripMenuItem});
|
|
this.menuStrip.Location = new System.Drawing.Point(20, 60);
|
|
this.menuStrip.Name = "menuStrip";
|
|
this.menuStrip.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
|
|
this.menuStrip.Size = new System.Drawing.Size(134, 24);
|
|
this.menuStrip.TabIndex = 14;
|
|
this.menuStrip.Text = "menuStrip1";
|
|
//
|
|
// fileToolStripMenuItem
|
|
//
|
|
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.saveToolStripMenuItem1,
|
|
this.toolStripSeparator1,
|
|
this.importToolStripMenuItem,
|
|
this.exportAsToolStripMenuItem});
|
|
this.fileToolStripMenuItem.ForeColor = System.Drawing.Color.White;
|
|
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
|
this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
|
|
this.fileToolStripMenuItem.Text = "File";
|
|
//
|
|
// saveToolStripMenuItem1
|
|
//
|
|
this.saveToolStripMenuItem1.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem1.Image")));
|
|
this.saveToolStripMenuItem1.Name = "saveToolStripMenuItem1";
|
|
this.saveToolStripMenuItem1.Size = new System.Drawing.Size(122, 22);
|
|
this.saveToolStripMenuItem1.Text = "Save";
|
|
this.saveToolStripMenuItem1.Click += new System.EventHandler(this.saveToolStripMenuItem1_Click);
|
|
//
|
|
// toolStripSeparator1
|
|
//
|
|
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
|
this.toolStripSeparator1.Size = new System.Drawing.Size(119, 6);
|
|
//
|
|
// importToolStripMenuItem
|
|
//
|
|
this.importToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.importAnimationTextureToolStripMenuItem,
|
|
this.importJavaAnimationToolStripMenuItem,
|
|
this.importGifToolStripMenuItem});
|
|
this.importToolStripMenuItem.Name = "importToolStripMenuItem";
|
|
this.importToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
|
|
this.importToolStripMenuItem.Text = "Import";
|
|
//
|
|
// importAnimationTextureToolStripMenuItem
|
|
//
|
|
this.importAnimationTextureToolStripMenuItem.Name = "importAnimationTextureToolStripMenuItem";
|
|
this.importAnimationTextureToolStripMenuItem.Size = new System.Drawing.Size(171, 22);
|
|
this.importAnimationTextureToolStripMenuItem.Text = "Animation Texture";
|
|
this.importAnimationTextureToolStripMenuItem.Click += new System.EventHandler(this.importAnimationTextureToolStripMenuItem_Click);
|
|
//
|
|
// importJavaAnimationToolStripMenuItem
|
|
//
|
|
this.importJavaAnimationToolStripMenuItem.Name = "importJavaAnimationToolStripMenuItem";
|
|
this.importJavaAnimationToolStripMenuItem.Size = new System.Drawing.Size(171, 22);
|
|
this.importJavaAnimationToolStripMenuItem.Text = "Java Animation";
|
|
this.importJavaAnimationToolStripMenuItem.Click += new System.EventHandler(this.importJavaAnimationToolStripMenuItem_Click);
|
|
//
|
|
// importGifToolStripMenuItem
|
|
//
|
|
this.importGifToolStripMenuItem.Name = "importGifToolStripMenuItem";
|
|
this.importGifToolStripMenuItem.Size = new System.Drawing.Size(171, 22);
|
|
this.importGifToolStripMenuItem.Text = "Gif";
|
|
this.importGifToolStripMenuItem.Click += new System.EventHandler(this.importGifToolStripMenuItem_Click);
|
|
//
|
|
// exportAsToolStripMenuItem
|
|
//
|
|
this.exportAsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.exportJavaAnimationToolStripMenuItem,
|
|
this.gifToolStripMenuItem});
|
|
this.exportAsToolStripMenuItem.Name = "exportAsToolStripMenuItem";
|
|
this.exportAsToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
|
|
this.exportAsToolStripMenuItem.Text = "Export as";
|
|
//
|
|
// exportJavaAnimationToolStripMenuItem
|
|
//
|
|
this.exportJavaAnimationToolStripMenuItem.Name = "exportJavaAnimationToolStripMenuItem";
|
|
this.exportJavaAnimationToolStripMenuItem.Size = new System.Drawing.Size(155, 22);
|
|
this.exportJavaAnimationToolStripMenuItem.Text = "Java Animation";
|
|
this.exportJavaAnimationToolStripMenuItem.Click += new System.EventHandler(this.exportJavaAnimationToolStripMenuItem_Click);
|
|
//
|
|
// gifToolStripMenuItem
|
|
//
|
|
this.gifToolStripMenuItem.Name = "gifToolStripMenuItem";
|
|
this.gifToolStripMenuItem.Size = new System.Drawing.Size(155, 22);
|
|
this.gifToolStripMenuItem.Text = "Gif";
|
|
this.gifToolStripMenuItem.Click += new System.EventHandler(this.gifToolStripMenuItem_Click);
|
|
//
|
|
// editToolStripMenuItem
|
|
//
|
|
this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.bulkAnimationSpeedToolStripMenuItem});
|
|
this.editToolStripMenuItem.ForeColor = System.Drawing.Color.White;
|
|
this.editToolStripMenuItem.Name = "editToolStripMenuItem";
|
|
this.editToolStripMenuItem.Size = new System.Drawing.Size(46, 20);
|
|
this.editToolStripMenuItem.Text = "Tools";
|
|
//
|
|
// bulkAnimationSpeedToolStripMenuItem
|
|
//
|
|
this.bulkAnimationSpeedToolStripMenuItem.Name = "bulkAnimationSpeedToolStripMenuItem";
|
|
this.bulkAnimationSpeedToolStripMenuItem.Size = new System.Drawing.Size(210, 22);
|
|
this.bulkAnimationSpeedToolStripMenuItem.Text = "Set Bulk Animation Speed";
|
|
this.bulkAnimationSpeedToolStripMenuItem.Click += new System.EventHandler(this.bulkAnimationSpeedToolStripMenuItem_Click);
|
|
//
|
|
// helpToolStripMenuItem
|
|
//
|
|
this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.frameTimeandTicksToolStripMenuItem,
|
|
this.howToInterpolation,
|
|
this.editorControlsToolStripMenuItem,
|
|
this.setBulkSpedToolStripMenuItem,
|
|
this.javaAnimationSupportToolStripMenuItem});
|
|
this.helpToolStripMenuItem.ForeColor = System.Drawing.Color.White;
|
|
this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
|
|
this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
|
|
this.helpToolStripMenuItem.Text = "Help";
|
|
//
|
|
// frameTimeandTicksToolStripMenuItem
|
|
//
|
|
this.frameTimeandTicksToolStripMenuItem.Name = "frameTimeandTicksToolStripMenuItem";
|
|
this.frameTimeandTicksToolStripMenuItem.Size = new System.Drawing.Size(200, 22);
|
|
this.frameTimeandTicksToolStripMenuItem.Text = "Frame Time (and Ticks)";
|
|
this.frameTimeandTicksToolStripMenuItem.Click += new System.EventHandler(this.frameTimeandTicksToolStripMenuItem_Click);
|
|
//
|
|
// howToInterpolation
|
|
//
|
|
this.howToInterpolation.Name = "howToInterpolation";
|
|
this.howToInterpolation.Size = new System.Drawing.Size(200, 22);
|
|
this.howToInterpolation.Text = "Interpolation";
|
|
this.howToInterpolation.Click += new System.EventHandler(this.howToInterpolation_Click);
|
|
//
|
|
// editorControlsToolStripMenuItem
|
|
//
|
|
this.editorControlsToolStripMenuItem.Name = "editorControlsToolStripMenuItem";
|
|
this.editorControlsToolStripMenuItem.Size = new System.Drawing.Size(200, 22);
|
|
this.editorControlsToolStripMenuItem.Text = "Editor Controls";
|
|
this.editorControlsToolStripMenuItem.Click += new System.EventHandler(this.editorControlsToolStripMenuItem_Click);
|
|
//
|
|
// setBulkSpedToolStripMenuItem
|
|
//
|
|
this.setBulkSpedToolStripMenuItem.Name = "setBulkSpedToolStripMenuItem";
|
|
this.setBulkSpedToolStripMenuItem.Size = new System.Drawing.Size(200, 22);
|
|
this.setBulkSpedToolStripMenuItem.Text = "Set Bulk Speed";
|
|
this.setBulkSpedToolStripMenuItem.Click += new System.EventHandler(this.setBulkSpeedToolStripMenuItem_Click);
|
|
//
|
|
// javaAnimationSupportToolStripMenuItem
|
|
//
|
|
this.javaAnimationSupportToolStripMenuItem.Name = "javaAnimationSupportToolStripMenuItem";
|
|
this.javaAnimationSupportToolStripMenuItem.Size = new System.Drawing.Size(200, 22);
|
|
this.javaAnimationSupportToolStripMenuItem.Text = "Java Animation Support";
|
|
this.javaAnimationSupportToolStripMenuItem.Click += new System.EventHandler(this.javaAnimationSupportToolStripMenuItem_Click);
|
|
//
|
|
// InterpolationCheckbox
|
|
//
|
|
this.InterpolationCheckbox.AutoSize = true;
|
|
this.InterpolationCheckbox.Location = new System.Drawing.Point(161, 63);
|
|
this.InterpolationCheckbox.Name = "InterpolationCheckbox";
|
|
this.InterpolationCheckbox.Size = new System.Drawing.Size(129, 15);
|
|
this.InterpolationCheckbox.TabIndex = 17;
|
|
this.InterpolationCheckbox.Text = "Enable Interpolation";
|
|
this.InterpolationCheckbox.Theme = MetroFramework.MetroThemeStyle.Dark;
|
|
this.InterpolationCheckbox.UseSelectable = true;
|
|
this.InterpolationCheckbox.CheckedChanged += new System.EventHandler(this.InterpolationCheckbox_CheckedChanged);
|
|
//
|
|
// AnimationStartStopBtn
|
|
//
|
|
this.AnimationStartStopBtn.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.AnimationStartStopBtn.Location = new System.Drawing.Point(157, 317);
|
|
this.AnimationStartStopBtn.Name = "AnimationStartStopBtn";
|
|
this.AnimationStartStopBtn.Size = new System.Drawing.Size(232, 24);
|
|
this.AnimationStartStopBtn.Style = MetroFramework.MetroColorStyle.White;
|
|
this.AnimationStartStopBtn.TabIndex = 18;
|
|
this.AnimationStartStopBtn.Text = "Play Animation";
|
|
this.AnimationStartStopBtn.Theme = MetroFramework.MetroThemeStyle.Dark;
|
|
this.AnimationStartStopBtn.UseSelectable = true;
|
|
this.AnimationStartStopBtn.Click += new System.EventHandler(this.AnimationStartStopBtn_Click);
|
|
//
|
|
// tileLabel
|
|
//
|
|
this.tileLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.tileLabel.AutoSize = true;
|
|
this.tileLabel.Location = new System.Drawing.Point(20, 341);
|
|
this.tileLabel.MinimumSize = new System.Drawing.Size(170, 19);
|
|
this.tileLabel.Name = "tileLabel";
|
|
this.tileLabel.Size = new System.Drawing.Size(57, 19);
|
|
this.tileLabel.TabIndex = 20;
|
|
this.tileLabel.Text = "tileLabel";
|
|
this.tileLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
|
|
//
|
|
// animationPictureBox
|
|
//
|
|
this.animationPictureBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.animationPictureBox.BlendColor = System.Drawing.Color.White;
|
|
this.animationPictureBox.BlendMode = PckStudio.Core.Extensions.BlendMode.Multiply;
|
|
this.animationPictureBox.Image = null;
|
|
this.animationPictureBox.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.NearestNeighbor;
|
|
this.animationPictureBox.Location = new System.Drawing.Point(157, 88);
|
|
this.animationPictureBox.Name = "animationPictureBox";
|
|
this.animationPictureBox.Size = new System.Drawing.Size(235, 223);
|
|
this.animationPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
|
this.animationPictureBox.TabIndex = 16;
|
|
this.animationPictureBox.TabStop = false;
|
|
//
|
|
// AnimationEditor
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(412, 362);
|
|
this.Controls.Add(this.InterpolationCheckbox);
|
|
this.Controls.Add(this.AnimationStartStopBtn);
|
|
this.Controls.Add(this.tileLabel);
|
|
this.Controls.Add(this.animationPictureBox);
|
|
this.Controls.Add(this.frameTreeView);
|
|
this.Controls.Add(this.menuStrip);
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MinimumSize = new System.Drawing.Size(412, 362);
|
|
this.Name = "AnimationEditor";
|
|
this.Style = MetroFramework.MetroColorStyle.Silver;
|
|
this.Text = "Animation Editor";
|
|
this.Theme = MetroFramework.MetroThemeStyle.Dark;
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.AnimationEditor_FormClosing);
|
|
this.Load += new System.EventHandler(this.AnimationEditor_Load);
|
|
this.contextMenuStrip1.ResumeLayout(false);
|
|
this.menuStrip.ResumeLayout(false);
|
|
this.menuStrip.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.animationPictureBox)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TreeView frameTreeView;
|
|
private System.Windows.Forms.MenuStrip menuStrip;
|
|
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem1;
|
|
private PckStudio.ToolboxItems.AnimationPictureBox animationPictureBox;
|
|
private MetroFramework.Controls.MetroCheckBox InterpolationCheckbox;
|
|
private MetroFramework.Controls.MetroButton AnimationStartStopBtn;
|
|
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
|
private System.Windows.Forms.ToolStripMenuItem addFrameToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem removeFrameToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem bulkAnimationSpeedToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem;
|
|
private MetroFramework.Controls.MetroLabel tileLabel;
|
|
private System.Windows.Forms.ToolStripMenuItem howToInterpolation;
|
|
private System.Windows.Forms.ToolStripMenuItem editorControlsToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem setBulkSpedToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem javaAnimationSupportToolStripMenuItem;
|
|
private System.Windows.Forms.ImageList TextureIcons;
|
|
private System.Windows.Forms.ToolStripMenuItem importToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem importJavaAnimationToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem importGifToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem exportAsToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem exportJavaAnimationToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
|
private System.Windows.Forms.ToolStripMenuItem importAnimationTextureToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem gifToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem frameTimeandTicksToolStripMenuItem;
|
|
}
|
|
} |