mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-08-08 10:43:56 +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
254 lines
14 KiB
C#
254 lines
14 KiB
C#
namespace PckStudio.Forms.Editor
|
|
{
|
|
partial class ModelEditor
|
|
{
|
|
/// <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();
|
|
this.modelTreeView = new System.Windows.Forms.TreeView();
|
|
this.modelContextMenu = new MetroFramework.Controls.MetroContextMenu(this.components);
|
|
this.exportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.removeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
|
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.importToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.showModelBoundsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.modelViewport = new PckStudio.Rendering.ModelRenderer();
|
|
this.namedTexturesTreeView = new System.Windows.Forms.TreeView();
|
|
this.textureImageList = new System.Windows.Forms.ImageList(this.components);
|
|
this.modelContextMenu.SuspendLayout();
|
|
this.menuStrip1.SuspendLayout();
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// modelTreeView
|
|
//
|
|
this.modelTreeView.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.modelTreeView.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
|
this.modelTreeView.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.modelTreeView.ContextMenuStrip = this.modelContextMenu;
|
|
this.modelTreeView.ForeColor = System.Drawing.SystemColors.Window;
|
|
this.modelTreeView.HideSelection = false;
|
|
this.modelTreeView.Location = new System.Drawing.Point(3, 3);
|
|
this.modelTreeView.Name = "modelTreeView";
|
|
this.modelTreeView.PathSeparator = ".";
|
|
this.tableLayoutPanel1.SetRowSpan(this.modelTreeView, 2);
|
|
this.modelTreeView.Size = new System.Drawing.Size(287, 440);
|
|
this.modelTreeView.TabIndex = 0;
|
|
this.modelTreeView.BeforeSelect += new System.Windows.Forms.TreeViewCancelEventHandler(this.modelTreeView_BeforeSelect);
|
|
//
|
|
// modelContextMenu
|
|
//
|
|
this.modelContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.exportToolStripMenuItem,
|
|
this.editToolStripMenuItem,
|
|
this.removeToolStripMenuItem});
|
|
this.modelContextMenu.Name = "modelContextMenu";
|
|
this.modelContextMenu.Size = new System.Drawing.Size(118, 70);
|
|
//
|
|
// exportToolStripMenuItem
|
|
//
|
|
this.exportToolStripMenuItem.Name = "exportToolStripMenuItem";
|
|
this.exportToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
|
|
this.exportToolStripMenuItem.Text = "Export";
|
|
this.exportToolStripMenuItem.Click += new System.EventHandler(this.exportToolStripMenuItem_Click);
|
|
//
|
|
// editToolStripMenuItem
|
|
//
|
|
this.editToolStripMenuItem.Name = "editToolStripMenuItem";
|
|
this.editToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
|
|
this.editToolStripMenuItem.Text = "Edit";
|
|
this.editToolStripMenuItem.Visible = false;
|
|
//
|
|
// removeToolStripMenuItem
|
|
//
|
|
this.removeToolStripMenuItem.Name = "removeToolStripMenuItem";
|
|
this.removeToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
|
|
this.removeToolStripMenuItem.Text = "Remove";
|
|
this.removeToolStripMenuItem.Visible = false;
|
|
this.removeToolStripMenuItem.Click += new System.EventHandler(this.removeToolStripMenuItem_Click);
|
|
//
|
|
// menuStrip1
|
|
//
|
|
this.menuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
|
this.menuStrip1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
|
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.fileToolStripMenuItem,
|
|
this.viewToolStripMenuItem});
|
|
this.menuStrip1.Location = new System.Drawing.Point(20, 60);
|
|
this.menuStrip1.Name = "menuStrip1";
|
|
this.menuStrip1.Size = new System.Drawing.Size(660, 24);
|
|
this.menuStrip1.TabIndex = 1;
|
|
this.menuStrip1.Text = "menuStrip1";
|
|
//
|
|
// fileToolStripMenuItem
|
|
//
|
|
this.fileToolStripMenuItem.BackColor = System.Drawing.Color.Transparent;
|
|
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.importToolStripMenuItem1,
|
|
this.saveToolStripMenuItem});
|
|
this.fileToolStripMenuItem.ForeColor = System.Drawing.SystemColors.Control;
|
|
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
|
this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
|
|
this.fileToolStripMenuItem.Text = "File";
|
|
//
|
|
// importToolStripMenuItem1
|
|
//
|
|
this.importToolStripMenuItem1.Name = "importToolStripMenuItem1";
|
|
this.importToolStripMenuItem1.Size = new System.Drawing.Size(110, 22);
|
|
this.importToolStripMenuItem1.Text = "Import";
|
|
this.importToolStripMenuItem1.Click += new System.EventHandler(this.importToolStripMenuItem1_Click);
|
|
//
|
|
// saveToolStripMenuItem
|
|
//
|
|
this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
|
|
this.saveToolStripMenuItem.Size = new System.Drawing.Size(110, 22);
|
|
this.saveToolStripMenuItem.Text = "Save";
|
|
this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
|
|
//
|
|
// viewToolStripMenuItem
|
|
//
|
|
this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.showModelBoundsToolStripMenuItem});
|
|
this.viewToolStripMenuItem.ForeColor = System.Drawing.SystemColors.Control;
|
|
this.viewToolStripMenuItem.Name = "viewToolStripMenuItem";
|
|
this.viewToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
|
|
this.viewToolStripMenuItem.Text = "View";
|
|
//
|
|
// showModelBoundsToolStripMenuItem
|
|
//
|
|
this.showModelBoundsToolStripMenuItem.CheckOnClick = true;
|
|
this.showModelBoundsToolStripMenuItem.Name = "showModelBoundsToolStripMenuItem";
|
|
this.showModelBoundsToolStripMenuItem.Size = new System.Drawing.Size(183, 22);
|
|
this.showModelBoundsToolStripMenuItem.Text = "Show Model Bounds";
|
|
this.showModelBoundsToolStripMenuItem.CheckedChanged += new System.EventHandler(this.showModelBoundsToolStripMenuItem_CheckedChanged);
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
this.tableLayoutPanel1.ColumnCount = 2;
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
|
this.tableLayoutPanel1.Controls.Add(this.modelViewport, 1, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.namedTexturesTreeView, 1, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.modelTreeView, 0, 0);
|
|
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.tableLayoutPanel1.Location = new System.Drawing.Point(20, 84);
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
this.tableLayoutPanel1.RowCount = 2;
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 60F));
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 40F));
|
|
this.tableLayoutPanel1.Size = new System.Drawing.Size(660, 446);
|
|
this.tableLayoutPanel1.TabIndex = 2;
|
|
//
|
|
// modelViewport
|
|
//
|
|
this.modelViewport.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
|
|
this.modelViewport.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.modelViewport.Location = new System.Drawing.Point(296, 3);
|
|
this.modelViewport.MouseSensetivity = 0.01F;
|
|
this.modelViewport.Name = "modelViewport";
|
|
this.modelViewport.RefreshRate = 120;
|
|
this.modelViewport.RenderModelBounds = false;
|
|
this.modelViewport.Size = new System.Drawing.Size(361, 261);
|
|
this.modelViewport.TabIndex = 1;
|
|
this.modelViewport.VSync = true;
|
|
//
|
|
// namedTexturesTreeView
|
|
//
|
|
this.namedTexturesTreeView.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
|
this.namedTexturesTreeView.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.namedTexturesTreeView.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.namedTexturesTreeView.ForeColor = System.Drawing.SystemColors.Window;
|
|
this.namedTexturesTreeView.FullRowSelect = true;
|
|
this.namedTexturesTreeView.HideSelection = false;
|
|
this.namedTexturesTreeView.ImageIndex = 0;
|
|
this.namedTexturesTreeView.ImageList = this.textureImageList;
|
|
this.namedTexturesTreeView.Location = new System.Drawing.Point(296, 270);
|
|
this.namedTexturesTreeView.Name = "namedTexturesTreeView";
|
|
this.namedTexturesTreeView.SelectedImageIndex = 0;
|
|
this.namedTexturesTreeView.ShowLines = false;
|
|
this.namedTexturesTreeView.ShowPlusMinus = false;
|
|
this.namedTexturesTreeView.ShowRootLines = false;
|
|
this.namedTexturesTreeView.Size = new System.Drawing.Size(361, 173);
|
|
this.namedTexturesTreeView.TabIndex = 2;
|
|
this.namedTexturesTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.namedTexturesTreeView_AfterSelect);
|
|
//
|
|
// textureImageList
|
|
//
|
|
this.textureImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
|
|
this.textureImageList.ImageSize = new System.Drawing.Size(36, 36);
|
|
this.textureImageList.TransparentColor = System.Drawing.Color.Transparent;
|
|
//
|
|
// ModelEditor
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(700, 550);
|
|
this.Controls.Add(this.tableLayoutPanel1);
|
|
this.Controls.Add(this.menuStrip1);
|
|
this.MainMenuStrip = this.menuStrip1;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.MinimumSize = new System.Drawing.Size(700, 550);
|
|
this.Name = "ModelEditor";
|
|
this.Style = MetroFramework.MetroColorStyle.Silver;
|
|
this.Text = "Model Editor";
|
|
this.Theme = MetroFramework.MetroThemeStyle.Dark;
|
|
this.modelContextMenu.ResumeLayout(false);
|
|
this.menuStrip1.ResumeLayout(false);
|
|
this.menuStrip1.PerformLayout();
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TreeView modelTreeView;
|
|
private MetroFramework.Controls.MetroContextMenu modelContextMenu;
|
|
private System.Windows.Forms.ToolStripMenuItem exportToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem removeToolStripMenuItem;
|
|
private System.Windows.Forms.MenuStrip menuStrip1;
|
|
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem importToolStripMenuItem1;
|
|
private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
private Rendering.ModelRenderer modelViewport;
|
|
private System.Windows.Forms.TreeView namedTexturesTreeView;
|
|
private System.Windows.Forms.ImageList textureImageList;
|
|
private System.Windows.Forms.ToolStripMenuItem viewToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem showModelBoundsToolStripMenuItem;
|
|
}
|
|
} |