//Updates specified angle by applying an offset. //Allows pnlAnim to handle the changes so keyframes are updated. private unsafe void ApplyAngle(int index, float offset) { NumericInputBox box = pnlAnim._transBoxes[index + 3]; box.Value = (float)Math.Round(box._value + offset, 3); pnlAnim.BoxChanged(box, null); }
private unsafe void ResetBox(int index) { NumericInputBox box = _transBoxes[index]; if (_transformObject is MDL0BoneNode) { MDL0BoneNode bone = _transformObject as MDL0BoneNode; CHR0EntryNode entry; if ((_selectedAnim != null) && (_animFrame > 0) && ((entry = _selectedAnim.FindChild(bone.Name, false) as CHR0EntryNode) != null)) { KeyframeEntry e = entry.Keyframes.GetKeyframe((KeyFrameMode)index + 0x10, _animFrame - 1); if (e == null) { box.Value = entry.Keyframes[KeyFrameMode.ScaleX + index, _animFrame - 1]; box.BackColor = Color.White; } else { box.Value = e._value; box.BackColor = Color.Yellow; } } else { FrameState state = bone._bindState; box.Value = ((float *)&state)[index]; box.BackColor = Color.White; } } else { box.Value = 0; box.BackColor = Color.White; } }
public unsafe void ResetBox(int index) { if (index == 2 || index == 4 || index == 5 || index == 8) { return; } NumericInputBox box = _transBoxes[index]; MDL0MaterialRefNode mr = TargetTexRef; SRT0TextureNode entry; if (TargetTexRef != null) { if ((SelectedAnimation != null) && (CurrentFrame > 0) && ((entry = SelectedAnimation.FindChild(mr.Parent.Name + "/Texture" + mr.Index, true) as SRT0TextureNode) != null)) { KeyframeEntry e = entry.Keyframes.GetKeyframe((KeyFrameMode)index + 0x10, CurrentFrame - 1); if (e == null) { box.Value = entry.Keyframes[KeyFrameMode.ScaleX + index, CurrentFrame - 1]; box.BackColor = Color.White; } else { box.Value = e._value; box.BackColor = Color.Yellow; } } else { FrameState state = mr._bindState; box.Value = ((float *)&state)[index]; box.BackColor = Color.White; } } }
private unsafe void BoxChanged(object sender, EventArgs e) { NumericInputBox box = sender as NumericInputBox; FloatKeyframe kf; float val = box.Value / 100.0f; int index = (int)box.Tag; int x; if (val != _currentValue) { int kfIndex = FindKeyframe(_currentPage); if (float.IsNaN(val)) { if (kfIndex >= 0) { listKeyframes.Items.RemoveAt(kfIndex); listKeyframes.SelectedIndex = -1; } _target.RemoveKeyframe(_currentPage); val = _target.Keyframes.GetFrameValue(_currentPage); box.Value = val * 100.0f; } else { if (kfIndex >= 0) { kf = (FloatKeyframe)listKeyframes.Items[kfIndex]; kf.Value = val; listKeyframes.Items[kfIndex] = kf; } else { kf = new FloatKeyframe(); kf.Index = _currentPage; kf.Value = val; int count = listKeyframes.Items.Count; for (x = 0; (x < count) && (((FloatKeyframe)listKeyframes.Items[x]).Index < _currentPage); x++) { ; } listKeyframes.Items.Insert(x, kf); listKeyframes.SelectedIndex = x; } _target.SetKeyframe(_currentPage, val); } _currentValue = val; UpdateBox(index); } }
private unsafe void ApplyScale(int index, float scale) { NumericInputBox box = chr0Editor._transBoxes[index]; float newVal = (float)Math.Round(box._value * scale, 3); if (box.Value != newVal && newVal != 0.0f) { box.Value = newVal; chr0Editor.BoxChanged(box, null); } }
private unsafe void ApplyTranslation(int index, float offset) { NumericInputBox box = chr0Editor._transBoxes[index + 6]; float newVal = (float)Math.Round(box._value + offset, 3); if (box.Value != newVal) { box.Value = newVal; chr0Editor.BoxChanged(box, null); } }
/// <param name="index">0 = X, 1 = Y, 2 = Z</param> /// <param name="offset">The amount to add to the current translation displayed in the CHR0 editor box.</param> protected unsafe void ApplyTranslation(int index, float offset) { if (offset == 0.0f) { return; } NumericInputBox box = CHR0Editor._transBoxes[index.Clamp(0, 2) + 6]; float newVal = (float)Math.Round(box.Value + offset, 3); if (box.Value != newVal) { box.Value = newVal; CHR0Editor.BoxChanged(box, null); } }
/// <param name="index">0 = X, 1 = Y, 2 = Z</param> /// <param name="offset">The multiplier for the current scale displayed in the CHR0 editor box.</param> protected unsafe void ApplyScale(int index, float scale) { if (scale == 0.0f || scale == 1.0f) { return; } NumericInputBox box = CHR0Editor._transBoxes[index.Clamp(0, 2)]; float newVal = (float)Math.Round(box.Value * scale, 3); if (box.Value != newVal && newVal != 0.0f) { box.Value = newVal; CHR0Editor.BoxChanged(box, null); } }
private void InitializeComponent() { this.label7 = new System.Windows.Forms.Label(); this.numFrame = new System.Windows.Forms.NumericUpDown(); this.lblFrameCount = new System.Windows.Forms.Label(); this.btnPrev = new System.Windows.Forms.Button(); this.btnNext = new System.Windows.Forms.Button(); this.listKeyframes = new System.Windows.Forms.ListBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.panel1 = new System.Windows.Forms.Panel(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.visEditor1 = new System.Windows.Forms.VisEditor(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.panel2 = new System.Windows.Forms.Panel(); this.numSpotBright = new System.Windows.Forms.NumericInputBox(); this.label6 = new System.Windows.Forms.Label(); this.numRefBright = new System.Windows.Forms.NumericInputBox(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.numStartY = new System.Windows.Forms.NumericInputBox(); this.label10 = new System.Windows.Forms.Label(); this.numEndZ = new System.Windows.Forms.NumericInputBox(); this.numStartX = new System.Windows.Forms.NumericInputBox(); this.numRefDist = new System.Windows.Forms.NumericInputBox(); this.numEndX = new System.Windows.Forms.NumericInputBox(); this.numEndY = new System.Windows.Forms.NumericInputBox(); this.numSpotCut = new System.Windows.Forms.NumericInputBox(); this.numStartZ = new System.Windows.Forms.NumericInputBox(); this.label9 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.tabPage3 = new System.Windows.Forms.TabPage(); this.lightCtrl = new System.Windows.Forms.CLRControl(); this.tabPage4 = new System.Windows.Forms.TabPage(); this.specCtrl = new System.Windows.Forms.CLRControl(); ((System.ComponentModel.ISupportInitialize)(this.numFrame)).BeginInit(); this.groupBox1.SuspendLayout(); this.panel1.SuspendLayout(); this.tabControl1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.tabPage1.SuspendLayout(); this.panel2.SuspendLayout(); this.tabPage3.SuspendLayout(); this.tabPage4.SuspendLayout(); this.SuspendLayout(); // // label7 // this.label7.Location = new System.Drawing.Point(33, 5); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(41, 20); this.label7.TabIndex = 15; this.label7.Text = "Frame:"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numFrame // this.numFrame.Location = new System.Drawing.Point(80, 5); this.numFrame.Minimum = new decimal(new int[] { 1, 0, 0, 0}); this.numFrame.Name = "numFrame"; this.numFrame.Size = new System.Drawing.Size(58, 20); this.numFrame.TabIndex = 0; this.numFrame.Value = new decimal(new int[] { 1, 0, 0, 0}); this.numFrame.ValueChanged += new System.EventHandler(this.numFrame_ValueChanged); // // lblFrameCount // this.lblFrameCount.Location = new System.Drawing.Point(144, 5); this.lblFrameCount.Name = "lblFrameCount"; this.lblFrameCount.Size = new System.Drawing.Size(51, 20); this.lblFrameCount.TabIndex = 17; this.lblFrameCount.Text = "/ 10"; this.lblFrameCount.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // btnPrev // this.btnPrev.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnPrev.Location = new System.Drawing.Point(192, 3); this.btnPrev.Name = "btnPrev"; this.btnPrev.Size = new System.Drawing.Size(23, 23); this.btnPrev.TabIndex = 1; this.btnPrev.Text = "<"; this.btnPrev.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.btnPrev.UseVisualStyleBackColor = true; this.btnPrev.Click += new System.EventHandler(this.btnPrev_Click); // // btnNext // this.btnNext.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnNext.Location = new System.Drawing.Point(217, 3); this.btnNext.Name = "btnNext"; this.btnNext.Size = new System.Drawing.Size(23, 23); this.btnNext.TabIndex = 2; this.btnNext.Text = ">"; this.btnNext.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.btnNext.UseVisualStyleBackColor = true; this.btnNext.Click += new System.EventHandler(this.btnNext_Click); // // listKeyframes // this.listKeyframes.Dock = System.Windows.Forms.DockStyle.Fill; this.listKeyframes.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.listKeyframes.FormattingEnabled = true; this.listKeyframes.IntegralHeight = false; this.listKeyframes.ItemHeight = 14; this.listKeyframes.Location = new System.Drawing.Point(3, 16); this.listKeyframes.Name = "listKeyframes"; this.listKeyframes.Size = new System.Drawing.Size(279, 104); this.listKeyframes.TabIndex = 18; this.listKeyframes.SelectedIndexChanged += new System.EventHandler(this.listKeyframes_SelectedIndexChanged); // // groupBox1 // this.groupBox1.Controls.Add(this.listKeyframes); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(285, 123); this.groupBox1.TabIndex = 21; this.groupBox1.TabStop = false; this.groupBox1.Text = "Keyframes"; // // panel1 // this.panel1.Controls.Add(this.tabControl1); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(293, 276); this.panel1.TabIndex = 23; // // tabControl1 // this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Controls.Add(this.tabPage3); this.tabControl1.Controls.Add(this.tabPage4); this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl1.Location = new System.Drawing.Point(0, 0); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(293, 276); this.tabControl1.TabIndex = 18; // // tabPage2 // this.tabPage2.Controls.Add(this.visEditor1); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new System.Drawing.Size(285, 250); this.tabPage2.TabIndex = 4; this.tabPage2.Text = "Enabled"; this.tabPage2.UseVisualStyleBackColor = true; // // visEditor1 // this.visEditor1.Dock = System.Windows.Forms.DockStyle.Fill; this.visEditor1.Location = new System.Drawing.Point(0, 0); this.visEditor1.Name = "visEditor1"; this.visEditor1.Size = new System.Drawing.Size(285, 250); this.visEditor1.TabIndex = 0; // // tabPage1 // this.tabPage1.Controls.Add(this.groupBox1); this.tabPage1.Controls.Add(this.panel2); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Size = new System.Drawing.Size(285, 250); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Lighting"; this.tabPage1.UseVisualStyleBackColor = true; // // panel2 // this.panel2.BackColor = System.Drawing.SystemColors.Control; this.panel2.Controls.Add(this.numSpotBright); this.panel2.Controls.Add(this.label7); this.panel2.Controls.Add(this.label6); this.panel2.Controls.Add(this.numRefBright); this.panel2.Controls.Add(this.label3); this.panel2.Controls.Add(this.label2); this.panel2.Controls.Add(this.btnNext); this.panel2.Controls.Add(this.label5); this.panel2.Controls.Add(this.label4); this.panel2.Controls.Add(this.btnPrev); this.panel2.Controls.Add(this.numStartY); this.panel2.Controls.Add(this.label10); this.panel2.Controls.Add(this.numEndZ); this.panel2.Controls.Add(this.lblFrameCount); this.panel2.Controls.Add(this.numStartX); this.panel2.Controls.Add(this.numRefDist); this.panel2.Controls.Add(this.numEndX); this.panel2.Controls.Add(this.numFrame); this.panel2.Controls.Add(this.numEndY); this.panel2.Controls.Add(this.numSpotCut); this.panel2.Controls.Add(this.numStartZ); this.panel2.Controls.Add(this.label9); this.panel2.Controls.Add(this.label1); this.panel2.Controls.Add(this.label8); this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel2.Location = new System.Drawing.Point(0, 123); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(285, 127); this.panel2.TabIndex = 22; // // numSpotBright // this.numSpotBright.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numSpotBright.Location = new System.Drawing.Point(211, 84); this.numSpotBright.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numSpotBright.Name = "numSpotBright"; this.numSpotBright.Size = new System.Drawing.Size(70, 20); this.numSpotBright.TabIndex = 19; this.numSpotBright.Text = "0"; this.numSpotBright.ValueChanged += new System.EventHandler(this.BoxChanged); // // label6 // this.label6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label6.Location = new System.Drawing.Point(211, 27); this.label6.Margin = new System.Windows.Forms.Padding(0); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(70, 20); this.label6.TabIndex = 8; this.label6.Text = "Z"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // numRefBright // this.numRefBright.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numRefBright.Location = new System.Drawing.Point(211, 103); this.numRefBright.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numRefBright.Name = "numRefBright"; this.numRefBright.Size = new System.Drawing.Size(70, 20); this.numRefBright.TabIndex = 13; this.numRefBright.Text = "0"; this.numRefBright.ValueChanged += new System.EventHandler(this.BoxChanged); // // label3 // this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label3.Location = new System.Drawing.Point(4, 65); this.label3.Margin = new System.Windows.Forms.Padding(0); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(70, 20); this.label3.TabIndex = 2; this.label3.Text = "End Points"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label2 // this.label2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label2.Location = new System.Drawing.Point(4, 84); this.label2.Margin = new System.Windows.Forms.Padding(0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(70, 20); this.label2.TabIndex = 1; this.label2.Text = "Spot Cutoff"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label5 // this.label5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label5.Location = new System.Drawing.Point(142, 27); this.label5.Margin = new System.Windows.Forms.Padding(0); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(70, 20); this.label5.TabIndex = 7; this.label5.Text = "Y"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label4 // this.label4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label4.Location = new System.Drawing.Point(73, 27); this.label4.Margin = new System.Windows.Forms.Padding(0); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(70, 20); this.label4.TabIndex = 4; this.label4.Text = "X"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // numStartY // this.numStartY.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numStartY.Location = new System.Drawing.Point(142, 46); this.numStartY.Margin = new System.Windows.Forms.Padding(0); this.numStartY.Name = "numStartY"; this.numStartY.Size = new System.Drawing.Size(70, 20); this.numStartY.TabIndex = 4; this.numStartY.Text = "0"; this.numStartY.ValueChanged += new System.EventHandler(this.BoxChanged); // // label10 // this.label10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label10.Location = new System.Drawing.Point(142, 84); this.label10.Margin = new System.Windows.Forms.Padding(0); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(70, 20); this.label10.TabIndex = 14; this.label10.Text = "Spot Bright"; this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numEndZ // this.numEndZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numEndZ.Location = new System.Drawing.Point(211, 65); this.numEndZ.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numEndZ.Name = "numEndZ"; this.numEndZ.Size = new System.Drawing.Size(70, 20); this.numEndZ.TabIndex = 8; this.numEndZ.Text = "0"; this.numEndZ.ValueChanged += new System.EventHandler(this.BoxChanged); // // numStartX // this.numStartX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numStartX.Location = new System.Drawing.Point(73, 46); this.numStartX.Margin = new System.Windows.Forms.Padding(0); this.numStartX.Name = "numStartX"; this.numStartX.Size = new System.Drawing.Size(70, 20); this.numStartX.TabIndex = 3; this.numStartX.Text = "0"; this.numStartX.ValueChanged += new System.EventHandler(this.BoxChanged); // // numRefDist // this.numRefDist.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numRefDist.Location = new System.Drawing.Point(73, 103); this.numRefDist.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numRefDist.Name = "numRefDist"; this.numRefDist.Size = new System.Drawing.Size(70, 20); this.numRefDist.TabIndex = 12; this.numRefDist.Text = "0"; this.numRefDist.ValueChanged += new System.EventHandler(this.BoxChanged); // // numEndX // this.numEndX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numEndX.Location = new System.Drawing.Point(73, 65); this.numEndX.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numEndX.Name = "numEndX"; this.numEndX.Size = new System.Drawing.Size(70, 20); this.numEndX.TabIndex = 6; this.numEndX.Text = "0"; this.numEndX.ValueChanged += new System.EventHandler(this.BoxChanged); // // numEndY // this.numEndY.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numEndY.Location = new System.Drawing.Point(142, 65); this.numEndY.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numEndY.Name = "numEndY"; this.numEndY.Size = new System.Drawing.Size(70, 20); this.numEndY.TabIndex = 7; this.numEndY.Text = "0"; this.numEndY.ValueChanged += new System.EventHandler(this.BoxChanged); // // numSpotCut // this.numSpotCut.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numSpotCut.Location = new System.Drawing.Point(73, 84); this.numSpotCut.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numSpotCut.Name = "numSpotCut"; this.numSpotCut.Size = new System.Drawing.Size(70, 20); this.numSpotCut.TabIndex = 11; this.numSpotCut.Text = "0"; this.numSpotCut.ValueChanged += new System.EventHandler(this.BoxChanged); // // numStartZ // this.numStartZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numStartZ.Location = new System.Drawing.Point(211, 46); this.numStartZ.Margin = new System.Windows.Forms.Padding(0); this.numStartZ.Name = "numStartZ"; this.numStartZ.Size = new System.Drawing.Size(70, 20); this.numStartZ.TabIndex = 5; this.numStartZ.Text = "0"; this.numStartZ.ValueChanged += new System.EventHandler(this.BoxChanged); // // label9 // this.label9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label9.Location = new System.Drawing.Point(142, 103); this.label9.Margin = new System.Windows.Forms.Padding(0); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(70, 20); this.label9.TabIndex = 10; this.label9.Text = "Ref Bright"; this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label1 // this.label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label1.Location = new System.Drawing.Point(4, 46); this.label1.Margin = new System.Windows.Forms.Padding(0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(70, 20); this.label1.TabIndex = 0; this.label1.Text = "Start Points"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label8 // this.label8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label8.Location = new System.Drawing.Point(4, 103); this.label8.Margin = new System.Windows.Forms.Padding(0); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(70, 20); this.label8.TabIndex = 9; this.label8.Text = "Ref Dist"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // tabPage3 // this.tabPage3.Controls.Add(this.lightCtrl); this.tabPage3.Location = new System.Drawing.Point(4, 22); this.tabPage3.Name = "tabPage3"; this.tabPage3.Size = new System.Drawing.Size(285, 250); this.tabPage3.TabIndex = 2; this.tabPage3.Text = "Light Color"; this.tabPage3.UseVisualStyleBackColor = true; // // lightCtrl // this.lightCtrl.Dock = System.Windows.Forms.DockStyle.Fill; this.lightCtrl.Location = new System.Drawing.Point(0, 0); this.lightCtrl.Name = "lightCtrl"; this.lightCtrl.Size = new System.Drawing.Size(285, 250); this.lightCtrl.TabIndex = 0; // // tabPage4 // this.tabPage4.Controls.Add(this.specCtrl); this.tabPage4.Location = new System.Drawing.Point(4, 22); this.tabPage4.Name = "tabPage4"; this.tabPage4.Size = new System.Drawing.Size(285, 250); this.tabPage4.TabIndex = 3; this.tabPage4.Text = "Specular Color"; this.tabPage4.UseVisualStyleBackColor = true; // // specCtrl // this.specCtrl.Dock = System.Windows.Forms.DockStyle.Fill; this.specCtrl.Location = new System.Drawing.Point(0, 0); this.specCtrl.Name = "specCtrl"; this.specCtrl.Size = new System.Drawing.Size(285, 250); this.specCtrl.TabIndex = 0; // // SCN0LightEditControl // this.Controls.Add(this.panel1); this.Name = "SCN0LightEditControl"; this.Size = new System.Drawing.Size(293, 276); ((System.ComponentModel.ISupportInitialize)(this.numFrame)).EndInit(); this.groupBox1.ResumeLayout(false); this.panel1.ResumeLayout(false); this.tabControl1.ResumeLayout(false); this.tabPage2.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.tabPage3.ResumeLayout(false); this.tabPage4.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.listKeyframes = new System.Windows.Forms.ListBox(); this.panel2 = new System.Windows.Forms.Panel(); this.numFarZ = new System.Windows.Forms.NumericInputBox(); this.numNearZ = new System.Windows.Forms.NumericInputBox(); this.label12 = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label(); this.numAspect = new System.Windows.Forms.NumericInputBox(); this.numHeight = new System.Windows.Forms.NumericInputBox(); this.label10 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.numAimY = new System.Windows.Forms.NumericInputBox(); this.numAimZ = new System.Windows.Forms.NumericInputBox(); this.label7 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.numFovY = new System.Windows.Forms.NumericInputBox(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.btnNext = new System.Windows.Forms.Button(); this.label5 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.btnPrev = new System.Windows.Forms.Button(); this.numPosY = new System.Windows.Forms.NumericInputBox(); this.numRotZ = new System.Windows.Forms.NumericInputBox(); this.lblFrameCount = new System.Windows.Forms.Label(); this.numPosX = new System.Windows.Forms.NumericInputBox(); this.numTwist = new System.Windows.Forms.NumericInputBox(); this.numRotX = new System.Windows.Forms.NumericInputBox(); this.numFrame = new System.Windows.Forms.NumericUpDown(); this.numRotY = new System.Windows.Forms.NumericInputBox(); this.numAimX = new System.Windows.Forms.NumericInputBox(); this.numPosZ = new System.Windows.Forms.NumericInputBox(); this.label9 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.groupBox1.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numFrame)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.listKeyframes); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(286, 109); this.groupBox1.TabIndex = 24; this.groupBox1.TabStop = false; this.groupBox1.Text = "Keyframes"; // // listKeyframes // this.listKeyframes.Dock = System.Windows.Forms.DockStyle.Fill; this.listKeyframes.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.listKeyframes.FormattingEnabled = true; this.listKeyframes.HorizontalScrollbar = true; this.listKeyframes.IntegralHeight = false; this.listKeyframes.ItemHeight = 14; this.listKeyframes.Location = new System.Drawing.Point(3, 16); this.listKeyframes.Name = "listKeyframes"; this.listKeyframes.Size = new System.Drawing.Size(280, 90); this.listKeyframes.TabIndex = 18; this.listKeyframes.SelectedIndexChanged += new System.EventHandler(this.listKeyframes_SelectedIndexChanged); // // panel2 // this.panel2.Controls.Add(this.numFarZ); this.panel2.Controls.Add(this.numNearZ); this.panel2.Controls.Add(this.label12); this.panel2.Controls.Add(this.label13); this.panel2.Controls.Add(this.numAspect); this.panel2.Controls.Add(this.numHeight); this.panel2.Controls.Add(this.label10); this.panel2.Controls.Add(this.label11); this.panel2.Controls.Add(this.numAimY); this.panel2.Controls.Add(this.numAimZ); this.panel2.Controls.Add(this.label7); this.panel2.Controls.Add(this.label6); this.panel2.Controls.Add(this.numFovY); this.panel2.Controls.Add(this.label3); this.panel2.Controls.Add(this.label2); this.panel2.Controls.Add(this.btnNext); this.panel2.Controls.Add(this.label5); this.panel2.Controls.Add(this.label4); this.panel2.Controls.Add(this.btnPrev); this.panel2.Controls.Add(this.numPosY); this.panel2.Controls.Add(this.numRotZ); this.panel2.Controls.Add(this.lblFrameCount); this.panel2.Controls.Add(this.numPosX); this.panel2.Controls.Add(this.numTwist); this.panel2.Controls.Add(this.numRotX); this.panel2.Controls.Add(this.numFrame); this.panel2.Controls.Add(this.numRotY); this.panel2.Controls.Add(this.numAimX); this.panel2.Controls.Add(this.numPosZ); this.panel2.Controls.Add(this.label9); this.panel2.Controls.Add(this.label1); this.panel2.Controls.Add(this.label8); this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel2.Location = new System.Drawing.Point(0, 109); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(286, 167); this.panel2.TabIndex = 25; // // numFarZ // this.numFarZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numFarZ.Location = new System.Drawing.Point(211, 141); this.numFarZ.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numFarZ.Name = "numFarZ"; this.numFarZ.Size = new System.Drawing.Size(70, 20); this.numFarZ.TabIndex = 29; this.numFarZ.Text = "0"; this.numFarZ.ValueChanged += new System.EventHandler(this.BoxChanged); // // numNearZ // this.numNearZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numNearZ.Location = new System.Drawing.Point(73, 141); this.numNearZ.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numNearZ.Name = "numNearZ"; this.numNearZ.Size = new System.Drawing.Size(70, 20); this.numNearZ.TabIndex = 28; this.numNearZ.Text = "0"; this.numNearZ.ValueChanged += new System.EventHandler(this.BoxChanged); // // label12 // this.label12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label12.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label12.Location = new System.Drawing.Point(142, 141); this.label12.Margin = new System.Windows.Forms.Padding(0); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(70, 20); this.label12.TabIndex = 27; this.label12.Text = "Far Z"; this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label13 // this.label13.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label13.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label13.Location = new System.Drawing.Point(4, 141); this.label13.Margin = new System.Windows.Forms.Padding(0); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(70, 20); this.label13.TabIndex = 26; this.label13.Text = "Near Z"; this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numAspect // this.numAspect.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numAspect.Location = new System.Drawing.Point(211, 122); this.numAspect.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numAspect.Name = "numAspect"; this.numAspect.Size = new System.Drawing.Size(70, 20); this.numAspect.TabIndex = 25; this.numAspect.Text = "0"; this.numAspect.ValueChanged += new System.EventHandler(this.BoxChanged); // // numHeight // this.numHeight.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numHeight.Location = new System.Drawing.Point(73, 122); this.numHeight.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numHeight.Name = "numHeight"; this.numHeight.Size = new System.Drawing.Size(70, 20); this.numHeight.TabIndex = 24; this.numHeight.Text = "0"; this.numHeight.ValueChanged += new System.EventHandler(this.BoxChanged); // // label10 // this.label10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label10.Location = new System.Drawing.Point(142, 122); this.label10.Margin = new System.Windows.Forms.Padding(0); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(70, 20); this.label10.TabIndex = 23; this.label10.Text = "Aspect"; this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label11 // this.label11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label11.Location = new System.Drawing.Point(4, 122); this.label11.Margin = new System.Windows.Forms.Padding(0); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(70, 20); this.label11.TabIndex = 22; this.label11.Text = "Height"; this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numAimY // this.numAimY.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numAimY.Location = new System.Drawing.Point(142, 84); this.numAimY.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numAimY.Name = "numAimY"; this.numAimY.Size = new System.Drawing.Size(70, 20); this.numAimY.TabIndex = 21; this.numAimY.Text = "0"; this.numAimY.ValueChanged += new System.EventHandler(this.BoxChanged); // // numAimZ // this.numAimZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numAimZ.Location = new System.Drawing.Point(211, 84); this.numAimZ.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numAimZ.Name = "numAimZ"; this.numAimZ.Size = new System.Drawing.Size(70, 20); this.numAimZ.TabIndex = 19; this.numAimZ.Text = "0"; this.numAimZ.ValueChanged += new System.EventHandler(this.BoxChanged); // // label7 // this.label7.Location = new System.Drawing.Point(70, 4); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(41, 20); this.label7.TabIndex = 15; this.label7.Text = "Frame:"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label6 // this.label6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label6.Location = new System.Drawing.Point(211, 27); this.label6.Margin = new System.Windows.Forms.Padding(0); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(70, 20); this.label6.TabIndex = 8; this.label6.Text = "Z"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // numFovY // this.numFovY.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numFovY.Location = new System.Drawing.Point(211, 103); this.numFovY.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numFovY.Name = "numFovY"; this.numFovY.Size = new System.Drawing.Size(70, 20); this.numFovY.TabIndex = 13; this.numFovY.Text = "0"; this.numFovY.ValueChanged += new System.EventHandler(this.BoxChanged); // // label3 // this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label3.Location = new System.Drawing.Point(4, 65); this.label3.Margin = new System.Windows.Forms.Padding(0); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(70, 20); this.label3.TabIndex = 2; this.label3.Text = "Rotation"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label2 // this.label2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label2.Location = new System.Drawing.Point(4, 84); this.label2.Margin = new System.Windows.Forms.Padding(0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(70, 20); this.label2.TabIndex = 1; this.label2.Text = "Aim"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // btnNext // this.btnNext.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnNext.Location = new System.Drawing.Point(241, 2); this.btnNext.Name = "btnNext"; this.btnNext.Size = new System.Drawing.Size(23, 23); this.btnNext.TabIndex = 2; this.btnNext.Text = ">"; this.btnNext.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.btnNext.UseVisualStyleBackColor = true; this.btnNext.Click += new System.EventHandler(this.btnNext_Click); // // label5 // this.label5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label5.Location = new System.Drawing.Point(142, 27); this.label5.Margin = new System.Windows.Forms.Padding(0); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(70, 20); this.label5.TabIndex = 7; this.label5.Text = "Y"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label4 // this.label4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label4.Location = new System.Drawing.Point(73, 27); this.label4.Margin = new System.Windows.Forms.Padding(0); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(70, 20); this.label4.TabIndex = 4; this.label4.Text = "X"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // btnPrev // this.btnPrev.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnPrev.Location = new System.Drawing.Point(216, 2); this.btnPrev.Name = "btnPrev"; this.btnPrev.Size = new System.Drawing.Size(23, 23); this.btnPrev.TabIndex = 1; this.btnPrev.Text = "<"; this.btnPrev.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.btnPrev.UseVisualStyleBackColor = true; this.btnPrev.Click += new System.EventHandler(this.btnPrev_Click); // // numPosY // this.numPosY.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numPosY.Location = new System.Drawing.Point(142, 46); this.numPosY.Margin = new System.Windows.Forms.Padding(0); this.numPosY.Name = "numPosY"; this.numPosY.Size = new System.Drawing.Size(70, 20); this.numPosY.TabIndex = 4; this.numPosY.Text = "0"; this.numPosY.ValueChanged += new System.EventHandler(this.BoxChanged); // // numRotZ // this.numRotZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numRotZ.Location = new System.Drawing.Point(211, 65); this.numRotZ.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numRotZ.Name = "numRotZ"; this.numRotZ.Size = new System.Drawing.Size(70, 20); this.numRotZ.TabIndex = 8; this.numRotZ.Text = "0"; this.numRotZ.ValueChanged += new System.EventHandler(this.BoxChanged); // // lblFrameCount // this.lblFrameCount.Location = new System.Drawing.Point(181, 4); this.lblFrameCount.Name = "lblFrameCount"; this.lblFrameCount.Size = new System.Drawing.Size(29, 20); this.lblFrameCount.TabIndex = 17; this.lblFrameCount.Text = "/ 10"; this.lblFrameCount.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // numPosX // this.numPosX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numPosX.Location = new System.Drawing.Point(73, 46); this.numPosX.Margin = new System.Windows.Forms.Padding(0); this.numPosX.Name = "numPosX"; this.numPosX.Size = new System.Drawing.Size(70, 20); this.numPosX.TabIndex = 3; this.numPosX.Text = "0"; this.numPosX.ValueChanged += new System.EventHandler(this.BoxChanged); // // numTwist // this.numTwist.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numTwist.Location = new System.Drawing.Point(73, 103); this.numTwist.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numTwist.Name = "numTwist"; this.numTwist.Size = new System.Drawing.Size(70, 20); this.numTwist.TabIndex = 12; this.numTwist.Text = "0"; this.numTwist.ValueChanged += new System.EventHandler(this.BoxChanged); // // numRotX // this.numRotX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numRotX.Location = new System.Drawing.Point(73, 65); this.numRotX.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numRotX.Name = "numRotX"; this.numRotX.Size = new System.Drawing.Size(70, 20); this.numRotX.TabIndex = 6; this.numRotX.Text = "0"; this.numRotX.ValueChanged += new System.EventHandler(this.BoxChanged); // // numFrame // this.numFrame.Location = new System.Drawing.Point(117, 4); this.numFrame.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); this.numFrame.Name = "numFrame"; this.numFrame.Size = new System.Drawing.Size(58, 20); this.numFrame.TabIndex = 0; this.numFrame.Value = new decimal(new int[] { 1, 0, 0, 0 }); this.numFrame.ValueChanged += new System.EventHandler(this.numFrame_ValueChanged); // // numRotY // this.numRotY.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numRotY.Location = new System.Drawing.Point(142, 65); this.numRotY.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numRotY.Name = "numRotY"; this.numRotY.Size = new System.Drawing.Size(70, 20); this.numRotY.TabIndex = 7; this.numRotY.Text = "0"; this.numRotY.ValueChanged += new System.EventHandler(this.BoxChanged); // // numAimX // this.numAimX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numAimX.Location = new System.Drawing.Point(73, 84); this.numAimX.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numAimX.Name = "numAimX"; this.numAimX.Size = new System.Drawing.Size(70, 20); this.numAimX.TabIndex = 11; this.numAimX.Text = "0"; this.numAimX.ValueChanged += new System.EventHandler(this.BoxChanged); // // numPosZ // this.numPosZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numPosZ.Location = new System.Drawing.Point(211, 46); this.numPosZ.Margin = new System.Windows.Forms.Padding(0); this.numPosZ.Name = "numPosZ"; this.numPosZ.Size = new System.Drawing.Size(70, 20); this.numPosZ.TabIndex = 5; this.numPosZ.Text = "0"; this.numPosZ.ValueChanged += new System.EventHandler(this.BoxChanged); // // label9 // this.label9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label9.Location = new System.Drawing.Point(142, 103); this.label9.Margin = new System.Windows.Forms.Padding(0); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(70, 20); this.label9.TabIndex = 10; this.label9.Text = "Fov Y"; this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label1 // this.label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label1.Location = new System.Drawing.Point(4, 46); this.label1.Margin = new System.Windows.Forms.Padding(0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(70, 20); this.label1.TabIndex = 0; this.label1.Text = "Position"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label8 // this.label8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label8.Location = new System.Drawing.Point(4, 103); this.label8.Margin = new System.Windows.Forms.Padding(0); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(70, 20); this.label8.TabIndex = 9; this.label8.Text = "Twist"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // SCN0CameraEditControl // this.Controls.Add(this.groupBox1); this.Controls.Add(this.panel2); this.Name = "SCN0CameraEditControl"; this.Size = new System.Drawing.Size(286, 276); this.groupBox1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.numFrame)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.numScaleY = new System.Windows.Forms.NumericInputBox(); this.numRot = new System.Windows.Forms.NumericInputBox(); this.numTransX = new System.Windows.Forms.NumericInputBox(); this.numTransY = new System.Windows.Forms.NumericInputBox(); this.numScaleX = new System.Windows.Forms.NumericInputBox(); this.label7 = new System.Windows.Forms.Label(); this.numFrame = new System.Windows.Forms.NumericUpDown(); this.lblFrameCount = new System.Windows.Forms.Label(); this.btnPrev = new System.Windows.Forms.Button(); this.btnNext = new System.Windows.Forms.Button(); this.listKeyframes = new System.Windows.Forms.ListBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.panel1 = new System.Windows.Forms.Panel(); this.label9 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.numFrame)).BeginInit(); this.groupBox1.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // label1 // this.label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label1.Location = new System.Drawing.Point(10, 30); this.label1.Margin = new System.Windows.Forms.Padding(0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(70, 20); this.label1.TabIndex = 0; this.label1.Text = "Scale"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label2 // this.label2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label2.Location = new System.Drawing.Point(10, 49); this.label2.Margin = new System.Windows.Forms.Padding(0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(70, 20); this.label2.TabIndex = 1; this.label2.Text = "Translation"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label3 // this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label3.Location = new System.Drawing.Point(10, 68); this.label3.Margin = new System.Windows.Forms.Padding(0); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(88, 20); this.label3.TabIndex = 2; this.label3.Text = "Rotation"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numScaleY // this.numScaleY.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numScaleY.Location = new System.Drawing.Point(184, 30); this.numScaleY.Margin = new System.Windows.Forms.Padding(0); this.numScaleY.Name = "numScaleY"; this.numScaleY.Size = new System.Drawing.Size(70, 20); this.numScaleY.TabIndex = 3; this.numScaleY.Text = "0"; this.numScaleY.ValueChanged += new System.EventHandler(this.BoxChanged); // // numRot // this.numRot.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numRot.Location = new System.Drawing.Point(97, 68); this.numRot.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numRot.Name = "numRot"; this.numRot.Size = new System.Drawing.Size(70, 20); this.numRot.TabIndex = 6; this.numRot.Text = "0"; this.numRot.ValueChanged += new System.EventHandler(this.BoxChanged); // // numTransX // this.numTransX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numTransX.Location = new System.Drawing.Point(97, 49); this.numTransX.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numTransX.Name = "numTransX"; this.numTransX.Size = new System.Drawing.Size(70, 20); this.numTransX.TabIndex = 9; this.numTransX.Text = "0"; this.numTransX.ValueChanged += new System.EventHandler(this.BoxChanged); // // numTransY // this.numTransY.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numTransY.Location = new System.Drawing.Point(184, 49); this.numTransY.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numTransY.Name = "numTransY"; this.numTransY.Size = new System.Drawing.Size(70, 20); this.numTransY.TabIndex = 10; this.numTransY.Text = "0"; this.numTransY.ValueChanged += new System.EventHandler(this.BoxChanged); // // numScaleX // this.numScaleX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numScaleX.Location = new System.Drawing.Point(97, 30); this.numScaleX.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numScaleX.Name = "numScaleX"; this.numScaleX.Size = new System.Drawing.Size(70, 20); this.numScaleX.TabIndex = 11; this.numScaleX.Text = "0"; this.numScaleX.ValueChanged += new System.EventHandler(this.BoxChanged); // // label7 // this.label7.Location = new System.Drawing.Point(37, 5); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(61, 20); this.label7.TabIndex = 15; this.label7.Text = "Frame:"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numFrame // this.numFrame.Location = new System.Drawing.Point(104, 5); this.numFrame.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); this.numFrame.Name = "numFrame"; this.numFrame.Size = new System.Drawing.Size(58, 20); this.numFrame.TabIndex = 0; this.numFrame.Value = new decimal(new int[] { 1, 0, 0, 0 }); this.numFrame.ValueChanged += new System.EventHandler(this.numFrame_ValueChanged); // // lblFrameCount // this.lblFrameCount.Location = new System.Drawing.Point(168, 5); this.lblFrameCount.Name = "lblFrameCount"; this.lblFrameCount.Size = new System.Drawing.Size(45, 20); this.lblFrameCount.TabIndex = 17; this.lblFrameCount.Text = "/ 10"; this.lblFrameCount.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // btnPrev // this.btnPrev.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnPrev.Location = new System.Drawing.Point(219, 4); this.btnPrev.Name = "btnPrev"; this.btnPrev.Size = new System.Drawing.Size(23, 23); this.btnPrev.TabIndex = 1; this.btnPrev.Text = "<"; this.btnPrev.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.btnPrev.UseVisualStyleBackColor = true; this.btnPrev.Click += new System.EventHandler(this.btnPrev_Click); // // btnNext // this.btnNext.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnNext.Location = new System.Drawing.Point(244, 4); this.btnNext.Name = "btnNext"; this.btnNext.Size = new System.Drawing.Size(23, 23); this.btnNext.TabIndex = 2; this.btnNext.Text = ">"; this.btnNext.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.btnNext.UseVisualStyleBackColor = true; this.btnNext.Click += new System.EventHandler(this.btnNext_Click); // // listKeyframes // this.listKeyframes.Dock = System.Windows.Forms.DockStyle.Fill; this.listKeyframes.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.listKeyframes.FormattingEnabled = true; this.listKeyframes.IntegralHeight = false; this.listKeyframes.ItemHeight = 14; this.listKeyframes.Location = new System.Drawing.Point(3, 16); this.listKeyframes.Name = "listKeyframes"; this.listKeyframes.Size = new System.Drawing.Size(294, 96); this.listKeyframes.TabIndex = 18; this.listKeyframes.SelectedIndexChanged += new System.EventHandler(this.listKeyframes_SelectedIndexChanged); // // groupBox1 // this.groupBox1.Controls.Add(this.listKeyframes); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(300, 115); this.groupBox1.TabIndex = 21; this.groupBox1.TabStop = false; this.groupBox1.Text = "Keyframes"; // // panel1 // this.panel1.Controls.Add(this.label9); this.panel1.Controls.Add(this.label8); this.panel1.Controls.Add(this.label6); this.panel1.Controls.Add(this.label5); this.panel1.Controls.Add(this.label7); this.panel1.Controls.Add(this.btnNext); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.numTransY); this.panel1.Controls.Add(this.btnPrev); this.panel1.Controls.Add(this.numScaleY); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.lblFrameCount); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.numFrame); this.panel1.Controls.Add(this.numScaleX); this.panel1.Controls.Add(this.numRot); this.panel1.Controls.Add(this.numTransX); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 115); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(300, 97); this.panel1.TabIndex = 23; // // label9 // this.label9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label9.Location = new System.Drawing.Point(166, 30); this.label9.Margin = new System.Windows.Forms.Padding(0); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(19, 20); this.label9.TabIndex = 22; this.label9.Text = "Y"; this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label8 // this.label8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label8.Location = new System.Drawing.Point(79, 30); this.label8.Margin = new System.Windows.Forms.Padding(0); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(19, 20); this.label8.TabIndex = 21; this.label8.Text = "X"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label6 // this.label6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label6.Location = new System.Drawing.Point(166, 49); this.label6.Margin = new System.Windows.Forms.Padding(0); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(19, 20); this.label6.TabIndex = 20; this.label6.Text = "Y"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label5 // this.label5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label5.Location = new System.Drawing.Point(79, 49); this.label5.Margin = new System.Windows.Forms.Padding(0); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(19, 20); this.label5.TabIndex = 19; this.label5.Text = "X"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // TexAnimEditControl // this.Controls.Add(this.groupBox1); this.Controls.Add(this.panel1); this.Name = "TexAnimEditControl"; this.Size = new System.Drawing.Size(300, 212); ((System.ComponentModel.ISupportInitialize)(this.numFrame)).EndInit(); this.groupBox1.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); }
private void InitializeComponent() { this.groupBox2 = new System.Windows.Forms.GroupBox(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.TranslateDoNotChange = new System.Windows.Forms.RadioButton(); this.TranslateDivide = new System.Windows.Forms.RadioButton(); this.TranslateMultiply = new System.Windows.Forms.RadioButton(); this.TranslateSubtract = new System.Windows.Forms.RadioButton(); this.TranslateAdd = new System.Windows.Forms.RadioButton(); this.TranslateClear = new System.Windows.Forms.RadioButton(); this.TranslateReplace = new System.Windows.Forms.RadioButton(); this.label5 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.TranslateZ = new System.Windows.Forms.NumericInputBox(); this.TranslateY = new System.Windows.Forms.NumericInputBox(); this.TranslateX = new System.Windows.Forms.NumericInputBox(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.RotateDoNotChange = new System.Windows.Forms.RadioButton(); this.RotateDivide = new System.Windows.Forms.RadioButton(); this.RotateMultiply = new System.Windows.Forms.RadioButton(); this.RotateSubtract = new System.Windows.Forms.RadioButton(); this.RotateAdd = new System.Windows.Forms.RadioButton(); this.RotateClear = new System.Windows.Forms.RadioButton(); this.RotateReplace = new System.Windows.Forms.RadioButton(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.RotateZ = new System.Windows.Forms.NumericInputBox(); this.RotateY = new System.Windows.Forms.NumericInputBox(); this.RotateX = new System.Windows.Forms.NumericInputBox(); this.groupBox5 = new System.Windows.Forms.GroupBox(); this.ScaleDoNotChange = new System.Windows.Forms.RadioButton(); this.ScaleDivide = new System.Windows.Forms.RadioButton(); this.ScaleMultiply = new System.Windows.Forms.RadioButton(); this.ScaleSubtract = new System.Windows.Forms.RadioButton(); this.ScaleAdd = new System.Windows.Forms.RadioButton(); this.ScaleClear = new System.Windows.Forms.RadioButton(); this.ScaleReplace = new System.Windows.Forms.RadioButton(); this.label7 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.ScaleZ = new System.Windows.Forms.NumericInputBox(); this.ScaleY = new System.Windows.Forms.NumericInputBox(); this.ScaleX = new System.Windows.Forms.NumericInputBox(); this.keyframeCopy = new System.Windows.Forms.TextBox(); this.copyKeyframes = new System.Windows.Forms.CheckBox(); this.label1 = new System.Windows.Forms.Label(); this.name = new System.Windows.Forms.TextBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.targetName = new System.Windows.Forms.TextBox(); this.NameContains = new System.Windows.Forms.CheckBox(); this.newName = new System.Windows.Forms.TextBox(); this.Rename = new System.Windows.Forms.CheckBox(); this.enableLoop = new System.Windows.Forms.CheckBox(); this.editLoop = new System.Windows.Forms.CheckBox(); this.Port = new System.Windows.Forms.CheckBox(); this.Version = new System.Windows.Forms.ComboBox(); this.ChangeVersion = new System.Windows.Forms.CheckBox(); this.groupBox2.SuspendLayout(); this.groupBox4.SuspendLayout(); this.groupBox3.SuspendLayout(); this.groupBox5.SuspendLayout(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // groupBox2 // this.groupBox2.Controls.Add(this.groupBox4); this.groupBox2.Controls.Add(this.groupBox3); this.groupBox2.Controls.Add(this.groupBox5); this.groupBox2.Controls.Add(this.keyframeCopy); this.groupBox2.Controls.Add(this.copyKeyframes); this.groupBox2.Controls.Add(this.label1); this.groupBox2.Controls.Add(this.name); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 89); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(405, 250); this.groupBox2.TabIndex = 87; this.groupBox2.TabStop = false; this.groupBox2.Text = "CHR0 Bone Entries"; // // groupBox4 // this.groupBox4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.groupBox4.Controls.Add(this.TranslateDoNotChange); this.groupBox4.Controls.Add(this.TranslateDivide); this.groupBox4.Controls.Add(this.TranslateMultiply); this.groupBox4.Controls.Add(this.TranslateSubtract); this.groupBox4.Controls.Add(this.TranslateAdd); this.groupBox4.Controls.Add(this.TranslateClear); this.groupBox4.Controls.Add(this.TranslateReplace); this.groupBox4.Controls.Add(this.label5); this.groupBox4.Controls.Add(this.label9); this.groupBox4.Controls.Add(this.label10); this.groupBox4.Controls.Add(this.TranslateZ); this.groupBox4.Controls.Add(this.TranslateY); this.groupBox4.Controls.Add(this.TranslateX); this.groupBox4.Location = new System.Drawing.Point(272, 68); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(126, 176); this.groupBox4.TabIndex = 39; this.groupBox4.TabStop = false; this.groupBox4.Text = "Translate"; // // TranslateDoNotChange // this.TranslateDoNotChange.AutoSize = true; this.TranslateDoNotChange.Checked = true; this.TranslateDoNotChange.Location = new System.Drawing.Point(5, 152); this.TranslateDoNotChange.Name = "TranslateDoNotChange"; this.TranslateDoNotChange.Size = new System.Drawing.Size(96, 17); this.TranslateDoNotChange.TabIndex = 48; this.TranslateDoNotChange.TabStop = true; this.TranslateDoNotChange.Text = "Do not change"; this.TranslateDoNotChange.UseVisualStyleBackColor = true; this.TranslateDoNotChange.CheckedChanged += new System.EventHandler(this.TranslateClear_CheckedChanged); // // TranslateDivide // this.TranslateDivide.AutoSize = true; this.TranslateDivide.Location = new System.Drawing.Point(66, 129); this.TranslateDivide.Name = "TranslateDivide"; this.TranslateDivide.Size = new System.Drawing.Size(55, 17); this.TranslateDivide.TabIndex = 47; this.TranslateDivide.Text = "Divide"; this.TranslateDivide.UseVisualStyleBackColor = true; this.TranslateDivide.CheckedChanged += new System.EventHandler(this.TranslateClear_CheckedChanged); // // TranslateMultiply // this.TranslateMultiply.AutoSize = true; this.TranslateMultiply.Location = new System.Drawing.Point(5, 129); this.TranslateMultiply.Name = "TranslateMultiply"; this.TranslateMultiply.Size = new System.Drawing.Size(60, 17); this.TranslateMultiply.TabIndex = 46; this.TranslateMultiply.Text = "Multiply"; this.TranslateMultiply.UseVisualStyleBackColor = true; this.TranslateMultiply.CheckedChanged += new System.EventHandler(this.TranslateClear_CheckedChanged); // // TranslateSubtract // this.TranslateSubtract.AutoSize = true; this.TranslateSubtract.Location = new System.Drawing.Point(55, 106); this.TranslateSubtract.Name = "TranslateSubtract"; this.TranslateSubtract.Size = new System.Drawing.Size(65, 17); this.TranslateSubtract.TabIndex = 45; this.TranslateSubtract.Text = "Subtract"; this.TranslateSubtract.UseVisualStyleBackColor = true; this.TranslateSubtract.CheckedChanged += new System.EventHandler(this.TranslateClear_CheckedChanged); // // TranslateAdd // this.TranslateAdd.AutoSize = true; this.TranslateAdd.Location = new System.Drawing.Point(5, 106); this.TranslateAdd.Name = "TranslateAdd"; this.TranslateAdd.Size = new System.Drawing.Size(44, 17); this.TranslateAdd.TabIndex = 44; this.TranslateAdd.Text = "Add"; this.TranslateAdd.UseVisualStyleBackColor = true; this.TranslateAdd.CheckedChanged += new System.EventHandler(this.TranslateClear_CheckedChanged); // // TranslateClear // this.TranslateClear.AutoSize = true; this.TranslateClear.Location = new System.Drawing.Point(72, 83); this.TranslateClear.Name = "TranslateClear"; this.TranslateClear.Size = new System.Drawing.Size(49, 17); this.TranslateClear.TabIndex = 43; this.TranslateClear.Text = "Clear"; this.TranslateClear.UseVisualStyleBackColor = true; this.TranslateClear.CheckedChanged += new System.EventHandler(this.TranslateClear_CheckedChanged); // // TranslateReplace // this.TranslateReplace.AutoSize = true; this.TranslateReplace.Location = new System.Drawing.Point(5, 83); this.TranslateReplace.Name = "TranslateReplace"; this.TranslateReplace.Size = new System.Drawing.Size(65, 17); this.TranslateReplace.TabIndex = 42; this.TranslateReplace.Text = "Replace"; this.TranslateReplace.UseVisualStyleBackColor = true; this.TranslateReplace.CheckedChanged += new System.EventHandler(this.TranslateClear_CheckedChanged); // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(6, 39); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(17, 13); this.label5.TabIndex = 40; this.label5.Text = "Y:"; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(6, 18); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(17, 13); this.label9.TabIndex = 39; this.label9.Text = "X:"; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(6, 60); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(17, 13); this.label10.TabIndex = 41; this.label10.Text = "Z:"; // // TranslateZ // this.TranslateZ.Enabled = false; this.TranslateZ.Location = new System.Drawing.Point(24, 57); this.TranslateZ.Name = "TranslateZ"; this.TranslateZ.Size = new System.Drawing.Size(96, 20); this.TranslateZ.TabIndex = 38; this.TranslateZ.Text = "0"; // // TranslateY // this.TranslateY.Enabled = false; this.TranslateY.Location = new System.Drawing.Point(24, 36); this.TranslateY.Name = "TranslateY"; this.TranslateY.Size = new System.Drawing.Size(96, 20); this.TranslateY.TabIndex = 37; this.TranslateY.Text = "0"; // // TranslateX // this.TranslateX.Enabled = false; this.TranslateX.Location = new System.Drawing.Point(24, 15); this.TranslateX.Name = "TranslateX"; this.TranslateX.Size = new System.Drawing.Size(96, 20); this.TranslateX.TabIndex = 36; this.TranslateX.Text = "0"; // // groupBox3 // this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.groupBox3.Controls.Add(this.RotateDoNotChange); this.groupBox3.Controls.Add(this.RotateDivide); this.groupBox3.Controls.Add(this.RotateMultiply); this.groupBox3.Controls.Add(this.RotateSubtract); this.groupBox3.Controls.Add(this.RotateAdd); this.groupBox3.Controls.Add(this.RotateClear); this.groupBox3.Controls.Add(this.RotateReplace); this.groupBox3.Controls.Add(this.label2); this.groupBox3.Controls.Add(this.label3); this.groupBox3.Controls.Add(this.label4); this.groupBox3.Controls.Add(this.RotateZ); this.groupBox3.Controls.Add(this.RotateY); this.groupBox3.Controls.Add(this.RotateX); this.groupBox3.Location = new System.Drawing.Point(140, 68); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(126, 176); this.groupBox3.TabIndex = 38; this.groupBox3.TabStop = false; this.groupBox3.Text = "Rotate"; // // RotateDoNotChange // this.RotateDoNotChange.AutoSize = true; this.RotateDoNotChange.Checked = true; this.RotateDoNotChange.Location = new System.Drawing.Point(5, 152); this.RotateDoNotChange.Name = "RotateDoNotChange"; this.RotateDoNotChange.Size = new System.Drawing.Size(96, 17); this.RotateDoNotChange.TabIndex = 37; this.RotateDoNotChange.TabStop = true; this.RotateDoNotChange.Text = "Do not change"; this.RotateDoNotChange.UseVisualStyleBackColor = true; this.RotateDoNotChange.CheckedChanged += new System.EventHandler(this.RotateClear_CheckedChanged); // // RotateDivide // this.RotateDivide.AutoSize = true; this.RotateDivide.Location = new System.Drawing.Point(66, 129); this.RotateDivide.Name = "RotateDivide"; this.RotateDivide.Size = new System.Drawing.Size(55, 17); this.RotateDivide.TabIndex = 47; this.RotateDivide.Text = "Divide"; this.RotateDivide.UseVisualStyleBackColor = true; this.RotateDivide.CheckedChanged += new System.EventHandler(this.RotateClear_CheckedChanged); // // RotateMultiply // this.RotateMultiply.AutoSize = true; this.RotateMultiply.Location = new System.Drawing.Point(5, 129); this.RotateMultiply.Name = "RotateMultiply"; this.RotateMultiply.Size = new System.Drawing.Size(60, 17); this.RotateMultiply.TabIndex = 46; this.RotateMultiply.Text = "Multiply"; this.RotateMultiply.UseVisualStyleBackColor = true; this.RotateMultiply.CheckedChanged += new System.EventHandler(this.RotateClear_CheckedChanged); // // RotateSubtract // this.RotateSubtract.AutoSize = true; this.RotateSubtract.Location = new System.Drawing.Point(55, 106); this.RotateSubtract.Name = "RotateSubtract"; this.RotateSubtract.Size = new System.Drawing.Size(65, 17); this.RotateSubtract.TabIndex = 45; this.RotateSubtract.Text = "Subtract"; this.RotateSubtract.UseVisualStyleBackColor = true; this.RotateSubtract.CheckedChanged += new System.EventHandler(this.RotateClear_CheckedChanged); // // RotateAdd // this.RotateAdd.AutoSize = true; this.RotateAdd.Location = new System.Drawing.Point(5, 106); this.RotateAdd.Name = "RotateAdd"; this.RotateAdd.Size = new System.Drawing.Size(44, 17); this.RotateAdd.TabIndex = 44; this.RotateAdd.Text = "Add"; this.RotateAdd.UseVisualStyleBackColor = true; this.RotateAdd.CheckedChanged += new System.EventHandler(this.RotateClear_CheckedChanged); // // RotateClear // this.RotateClear.AutoSize = true; this.RotateClear.Location = new System.Drawing.Point(72, 83); this.RotateClear.Name = "RotateClear"; this.RotateClear.Size = new System.Drawing.Size(49, 17); this.RotateClear.TabIndex = 43; this.RotateClear.Text = "Clear"; this.RotateClear.UseVisualStyleBackColor = true; this.RotateClear.CheckedChanged += new System.EventHandler(this.RotateClear_CheckedChanged); // // RotateReplace // this.RotateReplace.AutoSize = true; this.RotateReplace.Location = new System.Drawing.Point(5, 83); this.RotateReplace.Name = "RotateReplace"; this.RotateReplace.Size = new System.Drawing.Size(65, 17); this.RotateReplace.TabIndex = 42; this.RotateReplace.Text = "Replace"; this.RotateReplace.UseVisualStyleBackColor = true; this.RotateReplace.CheckedChanged += new System.EventHandler(this.RotateClear_CheckedChanged); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(6, 39); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(17, 13); this.label2.TabIndex = 40; this.label2.Text = "Y:"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(6, 18); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(17, 13); this.label3.TabIndex = 39; this.label3.Text = "X:"; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(6, 60); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(17, 13); this.label4.TabIndex = 41; this.label4.Text = "Z:"; // // RotateZ // this.RotateZ.Enabled = false; this.RotateZ.Location = new System.Drawing.Point(24, 57); this.RotateZ.Name = "RotateZ"; this.RotateZ.Size = new System.Drawing.Size(96, 20); this.RotateZ.TabIndex = 38; this.RotateZ.Text = "0"; // // RotateY // this.RotateY.Enabled = false; this.RotateY.Location = new System.Drawing.Point(24, 36); this.RotateY.Name = "RotateY"; this.RotateY.Size = new System.Drawing.Size(96, 20); this.RotateY.TabIndex = 37; this.RotateY.Text = "0"; // // RotateX // this.RotateX.Enabled = false; this.RotateX.Location = new System.Drawing.Point(24, 15); this.RotateX.Name = "RotateX"; this.RotateX.Size = new System.Drawing.Size(96, 20); this.RotateX.TabIndex = 36; this.RotateX.Text = "0"; // // groupBox5 // this.groupBox5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.groupBox5.Controls.Add(this.ScaleDoNotChange); this.groupBox5.Controls.Add(this.ScaleDivide); this.groupBox5.Controls.Add(this.ScaleMultiply); this.groupBox5.Controls.Add(this.ScaleSubtract); this.groupBox5.Controls.Add(this.ScaleAdd); this.groupBox5.Controls.Add(this.ScaleClear); this.groupBox5.Controls.Add(this.ScaleReplace); this.groupBox5.Controls.Add(this.label7); this.groupBox5.Controls.Add(this.label6); this.groupBox5.Controls.Add(this.label8); this.groupBox5.Controls.Add(this.ScaleZ); this.groupBox5.Controls.Add(this.ScaleY); this.groupBox5.Controls.Add(this.ScaleX); this.groupBox5.Location = new System.Drawing.Point(8, 68); this.groupBox5.Name = "groupBox5"; this.groupBox5.Size = new System.Drawing.Size(126, 176); this.groupBox5.TabIndex = 37; this.groupBox5.TabStop = false; this.groupBox5.Text = "Scale"; // // ScaleDoNotChange // this.ScaleDoNotChange.AutoSize = true; this.ScaleDoNotChange.Checked = true; this.ScaleDoNotChange.Location = new System.Drawing.Point(5, 152); this.ScaleDoNotChange.Name = "ScaleDoNotChange"; this.ScaleDoNotChange.Size = new System.Drawing.Size(96, 17); this.ScaleDoNotChange.TabIndex = 36; this.ScaleDoNotChange.TabStop = true; this.ScaleDoNotChange.Text = "Do not change"; this.ScaleDoNotChange.UseVisualStyleBackColor = true; this.ScaleDoNotChange.CheckedChanged += new System.EventHandler(this.ScaleClear_CheckedChanged); // // ScaleDivide // this.ScaleDivide.AutoSize = true; this.ScaleDivide.Location = new System.Drawing.Point(66, 129); this.ScaleDivide.Name = "ScaleDivide"; this.ScaleDivide.Size = new System.Drawing.Size(55, 17); this.ScaleDivide.TabIndex = 35; this.ScaleDivide.Text = "Divide"; this.ScaleDivide.UseVisualStyleBackColor = true; this.ScaleDivide.CheckedChanged += new System.EventHandler(this.ScaleClear_CheckedChanged); // // ScaleMultiply // this.ScaleMultiply.AutoSize = true; this.ScaleMultiply.Location = new System.Drawing.Point(5, 129); this.ScaleMultiply.Name = "ScaleMultiply"; this.ScaleMultiply.Size = new System.Drawing.Size(60, 17); this.ScaleMultiply.TabIndex = 34; this.ScaleMultiply.Text = "Multiply"; this.ScaleMultiply.UseVisualStyleBackColor = true; this.ScaleMultiply.CheckedChanged += new System.EventHandler(this.ScaleClear_CheckedChanged); // // ScaleSubtract // this.ScaleSubtract.AutoSize = true; this.ScaleSubtract.Location = new System.Drawing.Point(55, 106); this.ScaleSubtract.Name = "ScaleSubtract"; this.ScaleSubtract.Size = new System.Drawing.Size(65, 17); this.ScaleSubtract.TabIndex = 33; this.ScaleSubtract.Text = "Subtract"; this.ScaleSubtract.UseVisualStyleBackColor = true; this.ScaleSubtract.CheckedChanged += new System.EventHandler(this.ScaleClear_CheckedChanged); // // ScaleAdd // this.ScaleAdd.AutoSize = true; this.ScaleAdd.Location = new System.Drawing.Point(5, 106); this.ScaleAdd.Name = "ScaleAdd"; this.ScaleAdd.Size = new System.Drawing.Size(44, 17); this.ScaleAdd.TabIndex = 32; this.ScaleAdd.Text = "Add"; this.ScaleAdd.UseVisualStyleBackColor = true; this.ScaleAdd.CheckedChanged += new System.EventHandler(this.ScaleClear_CheckedChanged); // // ScaleClear // this.ScaleClear.AutoSize = true; this.ScaleClear.Location = new System.Drawing.Point(72, 83); this.ScaleClear.Name = "ScaleClear"; this.ScaleClear.Size = new System.Drawing.Size(49, 17); this.ScaleClear.TabIndex = 31; this.ScaleClear.Text = "Clear"; this.ScaleClear.UseVisualStyleBackColor = true; this.ScaleClear.CheckedChanged += new System.EventHandler(this.ScaleClear_CheckedChanged); // // ScaleReplace // this.ScaleReplace.AutoSize = true; this.ScaleReplace.Location = new System.Drawing.Point(5, 83); this.ScaleReplace.Name = "ScaleReplace"; this.ScaleReplace.Size = new System.Drawing.Size(65, 17); this.ScaleReplace.TabIndex = 30; this.ScaleReplace.Text = "Replace"; this.ScaleReplace.UseVisualStyleBackColor = true; this.ScaleReplace.CheckedChanged += new System.EventHandler(this.ScaleClear_CheckedChanged); // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(6, 39); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(17, 13); this.label7.TabIndex = 19; this.label7.Text = "Y:"; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(6, 18); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(17, 13); this.label6.TabIndex = 18; this.label6.Text = "X:"; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(6, 60); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(17, 13); this.label8.TabIndex = 20; this.label8.Text = "Z:"; // // ScaleZ // this.ScaleZ.Enabled = false; this.ScaleZ.Location = new System.Drawing.Point(24, 57); this.ScaleZ.Name = "ScaleZ"; this.ScaleZ.Size = new System.Drawing.Size(96, 20); this.ScaleZ.TabIndex = 14; this.ScaleZ.Text = "0"; // // ScaleY // this.ScaleY.Enabled = false; this.ScaleY.Location = new System.Drawing.Point(24, 36); this.ScaleY.Name = "ScaleY"; this.ScaleY.Size = new System.Drawing.Size(96, 20); this.ScaleY.TabIndex = 13; this.ScaleY.Text = "0"; // // ScaleX // this.ScaleX.Enabled = false; this.ScaleX.Location = new System.Drawing.Point(24, 15); this.ScaleX.Name = "ScaleX"; this.ScaleX.Size = new System.Drawing.Size(96, 20); this.ScaleX.TabIndex = 12; this.ScaleX.Text = "0"; // // keyframeCopy // this.keyframeCopy.Enabled = false; this.keyframeCopy.Location = new System.Drawing.Point(208, 43); this.keyframeCopy.Name = "keyframeCopy"; this.keyframeCopy.Size = new System.Drawing.Size(189, 20); this.keyframeCopy.TabIndex = 34; // // copyKeyframes // this.copyKeyframes.AutoSize = true; this.copyKeyframes.Location = new System.Drawing.Point(208, 26); this.copyKeyframes.Name = "copyKeyframes"; this.copyKeyframes.Size = new System.Drawing.Size(127, 17); this.copyKeyframes.TabIndex = 33; this.copyKeyframes.Text = "Copy keyframes from:"; this.copyKeyframes.UseVisualStyleBackColor = true; this.copyKeyframes.CheckedChanged += new System.EventHandler(this.copyKeyframes_CheckedChanged); // // label1 // this.label1.Location = new System.Drawing.Point(10, 26); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(200, 13); this.label1.TabIndex = 4; this.label1.Text = "Change all bone entries with the name:"; // // name // this.name.HideSelection = false; this.name.Location = new System.Drawing.Point(11, 42); this.name.Name = "name"; this.name.Size = new System.Drawing.Size(187, 20); this.name.TabIndex = 0; // // groupBox1 // this.groupBox1.Controls.Add(this.targetName); this.groupBox1.Controls.Add(this.NameContains); this.groupBox1.Controls.Add(this.newName); this.groupBox1.Controls.Add(this.Rename); this.groupBox1.Controls.Add(this.enableLoop); this.groupBox1.Controls.Add(this.editLoop); this.groupBox1.Controls.Add(this.Port); this.groupBox1.Controls.Add(this.Version); this.groupBox1.Controls.Add(this.ChangeVersion); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(405, 89); this.groupBox1.TabIndex = 86; this.groupBox1.TabStop = false; this.groupBox1.Text = "CHR0"; // // targetName // this.targetName.Enabled = false; this.targetName.HideSelection = false; this.targetName.Location = new System.Drawing.Point(171, 16); this.targetName.Name = "targetName"; this.targetName.Size = new System.Drawing.Size(151, 20); this.targetName.TabIndex = 84; // // NameContains // this.NameContains.Location = new System.Drawing.Point(8, 18); this.NameContains.Name = "NameContains"; this.NameContains.Size = new System.Drawing.Size(163, 17); this.NameContains.TabIndex = 85; this.NameContains.Text = "Modify only if name contains: "; this.NameContains.UseVisualStyleBackColor = true; this.NameContains.CheckedChanged += new System.EventHandler(this.NameContains_CheckedChanged); // // newName // this.newName.Enabled = false; this.newName.HideSelection = false; this.newName.Location = new System.Drawing.Point(203, 39); this.newName.Name = "newName"; this.newName.Size = new System.Drawing.Size(119, 20); this.newName.TabIndex = 82; // // Rename // this.Rename.Location = new System.Drawing.Point(136, 41); this.Rename.Name = "Rename"; this.Rename.Size = new System.Drawing.Size(69, 17); this.Rename.TabIndex = 83; this.Rename.Text = "Rename:"; this.Rename.UseVisualStyleBackColor = true; this.Rename.CheckedChanged += new System.EventHandler(this.Rename_CheckedChanged); // // enableLoop // this.enableLoop.AutoSize = true; this.enableLoop.Enabled = false; this.enableLoop.Location = new System.Drawing.Point(76, 41); this.enableLoop.Name = "enableLoop"; this.enableLoop.Size = new System.Drawing.Size(59, 17); this.enableLoop.TabIndex = 39; this.enableLoop.Text = "Enable"; this.enableLoop.UseVisualStyleBackColor = true; // // editLoop // this.editLoop.AutoSize = true; this.editLoop.Location = new System.Drawing.Point(8, 41); this.editLoop.Name = "editLoop"; this.editLoop.Size = new System.Drawing.Size(70, 17); this.editLoop.TabIndex = 38; this.editLoop.Text = "Edit loop:"; this.editLoop.UseVisualStyleBackColor = true; this.editLoop.CheckedChanged += new System.EventHandler(this.editLoop_CheckedChanged); // // Port // this.Port.AutoSize = true; this.Port.Location = new System.Drawing.Point(202, 63); this.Port.Name = "Port"; this.Port.Size = new System.Drawing.Size(59, 17); this.Port.TabIndex = 37; this.Port.Text = "Port All"; this.Port.UseVisualStyleBackColor = true; // // Version // this.Version.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.Version.Enabled = false; this.Version.FormattingEnabled = true; this.Version.Items.AddRange(new object[] { "4", "5"}); this.Version.Location = new System.Drawing.Point(114, 61); this.Version.Name = "Version"; this.Version.Size = new System.Drawing.Size(80, 21); this.Version.TabIndex = 36; // // ChangeVersion // this.ChangeVersion.AutoSize = true; this.ChangeVersion.Location = new System.Drawing.Point(8, 64); this.ChangeVersion.Name = "ChangeVersion"; this.ChangeVersion.Size = new System.Drawing.Size(103, 17); this.ChangeVersion.TabIndex = 35; this.ChangeVersion.Text = "Change version:"; this.ChangeVersion.UseVisualStyleBackColor = true; this.ChangeVersion.CheckedChanged += new System.EventHandler(this.ChangeVersion_CheckedChanged); // // EditAllCHR0Editor // this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Name = "EditAllCHR0Editor"; this.Size = new System.Drawing.Size(405, 339); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); this.groupBox5.ResumeLayout(false); this.groupBox5.PerformLayout(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.ResumeLayout(false); }
private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.listKeyframes = new System.Windows.Forms.ListBox(); this.panel2 = new System.Windows.Forms.Panel(); this.label7 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.btnNext = new System.Windows.Forms.Button(); this.btnPrev = new System.Windows.Forms.Button(); this.lblFrameCount = new System.Windows.Forms.Label(); this.numStart = new System.Windows.Forms.NumericInputBox(); this.numEnd = new System.Windows.Forms.NumericInputBox(); this.numFrame = new System.Windows.Forms.NumericUpDown(); this.label1 = new System.Windows.Forms.Label(); this.tabPage3 = new System.Windows.Forms.TabPage(); this.lightCtrl = new System.Windows.Forms.CLRControl(); this.panel1.SuspendLayout(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.groupBox1.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numFrame)).BeginInit(); this.tabPage3.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.tabControl1); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(221, 200); this.panel1.TabIndex = 23; // // tabControl1 // this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage3); this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl1.Location = new System.Drawing.Point(0, 0); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(221, 200); this.tabControl1.TabIndex = 18; // // tabPage1 // this.tabPage1.Controls.Add(this.groupBox1); this.tabPage1.Controls.Add(this.panel2); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Size = new System.Drawing.Size(213, 174); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Lighting"; this.tabPage1.UseVisualStyleBackColor = true; // // groupBox1 // this.groupBox1.Controls.Add(this.listKeyframes); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(213, 102); this.groupBox1.TabIndex = 21; this.groupBox1.TabStop = false; this.groupBox1.Text = "Keyframes"; // // listKeyframes // this.listKeyframes.Dock = System.Windows.Forms.DockStyle.Fill; this.listKeyframes.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.listKeyframes.FormattingEnabled = true; this.listKeyframes.IntegralHeight = false; this.listKeyframes.ItemHeight = 14; this.listKeyframes.Location = new System.Drawing.Point(3, 16); this.listKeyframes.Name = "listKeyframes"; this.listKeyframes.Size = new System.Drawing.Size(207, 83); this.listKeyframes.TabIndex = 18; this.listKeyframes.SelectedIndexChanged += new System.EventHandler(this.listKeyframes_SelectedIndexChanged); // // panel2 // this.panel2.BackColor = System.Drawing.SystemColors.Control; this.panel2.Controls.Add(this.label7); this.panel2.Controls.Add(this.label3); this.panel2.Controls.Add(this.btnNext); this.panel2.Controls.Add(this.btnPrev); this.panel2.Controls.Add(this.lblFrameCount); this.panel2.Controls.Add(this.numStart); this.panel2.Controls.Add(this.numEnd); this.panel2.Controls.Add(this.numFrame); this.panel2.Controls.Add(this.label1); this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel2.Location = new System.Drawing.Point(0, 102); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(213, 72); this.panel2.TabIndex = 22; // // label7 // this.label7.Location = new System.Drawing.Point(3, 3); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(41, 20); this.label7.TabIndex = 15; this.label7.Text = "Frame:"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label3 // this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label3.Location = new System.Drawing.Point(6, 45); this.label3.Margin = new System.Windows.Forms.Padding(0); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(70, 20); this.label3.TabIndex = 2; this.label3.Text = "End Point Z"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // btnNext // this.btnNext.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnNext.Location = new System.Drawing.Point(187, 1); this.btnNext.Name = "btnNext"; this.btnNext.Size = new System.Drawing.Size(23, 23); this.btnNext.TabIndex = 2; this.btnNext.Text = ">"; this.btnNext.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.btnNext.UseVisualStyleBackColor = true; this.btnNext.Click += new System.EventHandler(this.btnNext_Click); // // btnPrev // this.btnPrev.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnPrev.Location = new System.Drawing.Point(162, 1); this.btnPrev.Name = "btnPrev"; this.btnPrev.Size = new System.Drawing.Size(23, 23); this.btnPrev.TabIndex = 1; this.btnPrev.Text = "<"; this.btnPrev.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.btnPrev.UseVisualStyleBackColor = true; this.btnPrev.Click += new System.EventHandler(this.btnPrev_Click); // // lblFrameCount // this.lblFrameCount.Location = new System.Drawing.Point(114, 3); this.lblFrameCount.Name = "lblFrameCount"; this.lblFrameCount.Size = new System.Drawing.Size(51, 20); this.lblFrameCount.TabIndex = 17; this.lblFrameCount.Text = "/ 10"; this.lblFrameCount.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // numStart // this.numStart.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numStart.Location = new System.Drawing.Point(75, 26); this.numStart.Margin = new System.Windows.Forms.Padding(0); this.numStart.Name = "numStart"; this.numStart.Size = new System.Drawing.Size(70, 20); this.numStart.TabIndex = 3; this.numStart.Text = "0"; this.numStart.ValueChanged += new System.EventHandler(this.BoxChanged); // // numEnd // this.numEnd.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numEnd.Location = new System.Drawing.Point(75, 45); this.numEnd.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numEnd.Name = "numEnd"; this.numEnd.Size = new System.Drawing.Size(70, 20); this.numEnd.TabIndex = 6; this.numEnd.Text = "0"; this.numEnd.ValueChanged += new System.EventHandler(this.BoxChanged); // // numFrame // this.numFrame.Location = new System.Drawing.Point(50, 3); this.numFrame.Minimum = new decimal(new int[] { 1, 0, 0, 0}); this.numFrame.Name = "numFrame"; this.numFrame.Size = new System.Drawing.Size(58, 20); this.numFrame.TabIndex = 0; this.numFrame.Value = new decimal(new int[] { 1, 0, 0, 0}); this.numFrame.ValueChanged += new System.EventHandler(this.numFrame_ValueChanged); // // label1 // this.label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label1.Location = new System.Drawing.Point(6, 26); this.label1.Margin = new System.Windows.Forms.Padding(0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(70, 20); this.label1.TabIndex = 0; this.label1.Text = "Start Point Z"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // tabPage3 // this.tabPage3.Controls.Add(this.lightCtrl); this.tabPage3.Location = new System.Drawing.Point(4, 22); this.tabPage3.Name = "tabPage3"; this.tabPage3.Size = new System.Drawing.Size(213, 174); this.tabPage3.TabIndex = 2; this.tabPage3.Text = "Light Color"; this.tabPage3.UseVisualStyleBackColor = true; // // lightCtrl // this.lightCtrl.Dock = System.Windows.Forms.DockStyle.Fill; this.lightCtrl.Location = new System.Drawing.Point(0, 0); this.lightCtrl.Name = "lightCtrl"; this.lightCtrl.Size = new System.Drawing.Size(213, 174); this.lightCtrl.TabIndex = 0; // // SCN0FogEditControl // this.Controls.Add(this.panel1); this.Name = "SCN0FogEditControl"; this.Size = new System.Drawing.Size(221, 200); this.panel1.ResumeLayout(false); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.numFrame)).EndInit(); this.tabPage3.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { btnSetWeight = new Button(); btnBlend = new Button(); btnAdd = new Button(); btnSubtract = new Button(); btnLock = new Button(); lblBoneName = new Label(); btnRemove = new Button(); panel1 = new Panel(); numMult = new NumericInputBox(); btnMult = new Button(); btnDiv = new Button(); numAdd = new NumericInputBox(); numWeight = new NumericInputBox(); btnPaste = new Button(); btnCopy = new Button(); lstBoneWeights = new RefreshableListBox(); panel1.SuspendLayout(); SuspendLayout(); // // btnSetWeight // btnSetWeight.Enabled = false; btnSetWeight.Location = new Drawing.Point(67, 28); btnSetWeight.Name = "btnSetWeight"; btnSetWeight.Size = new Drawing.Size(61, 22); btnSetWeight.TabIndex = 2; btnSetWeight.Text = "Set"; btnSetWeight.UseVisualStyleBackColor = true; btnSetWeight.Click += btnSetWeight_Click; // // btnBlend // btnBlend.Location = new Drawing.Point(129, 28); btnBlend.Name = "btnBlend"; btnBlend.Size = new Drawing.Size(62, 22); btnBlend.TabIndex = 4; btnBlend.Text = "Blend"; btnBlend.UseVisualStyleBackColor = true; btnBlend.Visible = false; btnBlend.Click += btnBlend_Click; // // btnAdd // btnAdd.Enabled = false; btnAdd.Location = new Drawing.Point(67, 52); btnAdd.Name = "btnAdd"; btnAdd.Size = new Drawing.Size(30, 22); btnAdd.TabIndex = 7; btnAdd.Text = "+"; btnAdd.UseVisualStyleBackColor = true; btnAdd.Click += btnAdd_Click; // // btnSubtract // btnSubtract.Enabled = false; btnSubtract.Location = new Drawing.Point(98, 52); btnSubtract.Name = "btnSubtract"; btnSubtract.Size = new Drawing.Size(30, 22); btnSubtract.TabIndex = 8; btnSubtract.Text = "-"; btnSubtract.UseVisualStyleBackColor = true; btnSubtract.Click += btnSubtract_Click; // // btnLock // btnLock.Enabled = false; btnLock.Location = new Drawing.Point(2, 4); btnLock.Name = "btnLock"; btnLock.Size = new Drawing.Size(64, 22); btnLock.TabIndex = 10; btnLock.Text = "Lock"; btnLock.UseVisualStyleBackColor = true; btnLock.Click += btnLock_Click; // // lblBoneName // lblBoneName.AutoSize = true; lblBoneName.Location = new Drawing.Point(134, 9); lblBoneName.Name = "lblBoneName"; lblBoneName.Size = new Drawing.Size(32, 13); lblBoneName.TabIndex = 11; lblBoneName.Text = "Bone"; // // btnRemove // btnRemove.Enabled = false; btnRemove.Location = new Drawing.Point(67, 4); btnRemove.Name = "btnRemove"; btnRemove.Size = new Drawing.Size(61, 22); btnRemove.TabIndex = 12; btnRemove.Text = "Remove"; btnRemove.UseVisualStyleBackColor = true; btnRemove.Click += btnRemoveBone_Click; // // panel1 // panel1.Controls.Add(numMult); panel1.Controls.Add(btnMult); panel1.Controls.Add(btnDiv); panel1.Controls.Add(numAdd); panel1.Controls.Add(btnAdd); panel1.Controls.Add(numWeight); panel1.Controls.Add(btnBlend); panel1.Controls.Add(btnPaste); panel1.Controls.Add(btnSetWeight); panel1.Controls.Add(btnCopy); panel1.Controls.Add(btnSubtract); panel1.Controls.Add(btnLock); panel1.Controls.Add(lblBoneName); panel1.Controls.Add(btnRemove); panel1.Dock = DockStyle.Fill; panel1.Location = new Drawing.Point(130, 0); panel1.Name = "panel1"; panel1.Size = new Drawing.Size(130, 103); panel1.TabIndex = 14; // // numMult // numMult.Enabled = false; numMult.Integral = false; numMult.Location = new Drawing.Point(3, 77); numMult.MaximumValue = 3.402823E+38F; numMult.MinimumValue = -3.402823E+38F; numMult.Name = "numMult"; numMult.Size = new Drawing.Size(62, 20); numMult.TabIndex = 16; numMult.Text = "1.05"; // // btnMult // btnMult.Enabled = false; btnMult.Location = new Drawing.Point(67, 76); btnMult.Name = "btnMult"; btnMult.Size = new Drawing.Size(30, 22); btnMult.TabIndex = 14; btnMult.Text = "x"; btnMult.UseVisualStyleBackColor = true; btnMult.Click += btnMult_Click; // // btnDiv // btnDiv.Enabled = false; btnDiv.Location = new Drawing.Point(98, 76); btnDiv.Name = "btnDiv"; btnDiv.Size = new Drawing.Size(30, 22); btnDiv.TabIndex = 15; btnDiv.Text = "/"; btnDiv.UseVisualStyleBackColor = true; btnDiv.Click += btnDiv_Click; // // numAdd // numAdd.Enabled = false; numAdd.Integral = false; numAdd.Location = new Drawing.Point(3, 53); numAdd.MaximumValue = 3.402823E+38F; numAdd.MinimumValue = -3.402823E+38F; numAdd.Name = "numAdd"; numAdd.Size = new Drawing.Size(62, 20); numAdd.TabIndex = 13; numAdd.Text = "10"; // // numWeight // numWeight.Enabled = false; numWeight.Integral = false; numWeight.Location = new Drawing.Point(3, 29); numWeight.MaximumValue = 3.402823E+38F; numWeight.MinimumValue = -3.402823E+38F; numWeight.Name = "numWeight"; numWeight.Size = new Drawing.Size(62, 20); numWeight.TabIndex = 3; numWeight.Text = "100"; numWeight.ValueChanged += numWeight_ValueChanged; // // btnPaste // btnPaste.Location = new Drawing.Point(129, 75); btnPaste.Name = "btnPaste"; btnPaste.Size = new Drawing.Size(62, 22); btnPaste.TabIndex = 6; btnPaste.Text = "Paste"; btnPaste.UseVisualStyleBackColor = true; btnPaste.Visible = false; btnPaste.Click += btnPaste_Click; // // btnCopy // btnCopy.Location = new Drawing.Point(129, 51); btnCopy.Name = "btnCopy"; btnCopy.Size = new Drawing.Size(62, 22); btnCopy.TabIndex = 5; btnCopy.Text = "Copy"; btnCopy.UseVisualStyleBackColor = true; btnCopy.Visible = false; btnCopy.Click += btnCopy_Click; // // lstBoneWeights // lstBoneWeights.Dock = DockStyle.Left; lstBoneWeights.DrawMode = DrawMode.OwnerDrawFixed; lstBoneWeights.FormattingEnabled = true; lstBoneWeights.IntegralHeight = false; lstBoneWeights.Location = new Drawing.Point(0, 0); lstBoneWeights.Name = "lstBoneWeights"; lstBoneWeights.Size = new Drawing.Size(130, 103); lstBoneWeights.TabIndex = 0; lstBoneWeights.DrawItem += new DrawItemEventHandler(lstBoneWeights_DrawItem); lstBoneWeights.SelectedIndexChanged += lstBoneWeights_SelectedIndexChanged; // // WeightEditor // Controls.Add(panel1); Controls.Add(lstBoneWeights); MinimumSize = new Drawing.Size(260, 103); Name = "WeightEditor"; Size = new Drawing.Size(260, 103); panel1.ResumeLayout(false); panel1.PerformLayout(); ResumeLayout(false); }
private void InitializeComponent() { this.label7 = new System.Windows.Forms.Label(); this.numFrame = new System.Windows.Forms.NumericUpDown(); this.lblFrameCount = new System.Windows.Forms.Label(); this.btnPrev = new System.Windows.Forms.Button(); this.btnNext = new System.Windows.Forms.Button(); this.listKeyframes = new System.Windows.Forms.ListBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.panel1 = new System.Windows.Forms.Panel(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.visEditor1 = new System.Windows.Forms.VisEditor(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.panel2 = new System.Windows.Forms.Panel(); this.numSpotBright = new System.Windows.Forms.NumericInputBox(); this.label6 = new System.Windows.Forms.Label(); this.numRefBright = new System.Windows.Forms.NumericInputBox(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.numStartY = new System.Windows.Forms.NumericInputBox(); this.label10 = new System.Windows.Forms.Label(); this.numEndZ = new System.Windows.Forms.NumericInputBox(); this.numStartX = new System.Windows.Forms.NumericInputBox(); this.numRefDist = new System.Windows.Forms.NumericInputBox(); this.numEndX = new System.Windows.Forms.NumericInputBox(); this.numEndY = new System.Windows.Forms.NumericInputBox(); this.numSpotCut = new System.Windows.Forms.NumericInputBox(); this.numStartZ = new System.Windows.Forms.NumericInputBox(); this.label9 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.tabPage3 = new System.Windows.Forms.TabPage(); this.lightCtrl = new System.Windows.Forms.CLRControl(); this.tabPage4 = new System.Windows.Forms.TabPage(); this.specCtrl = new System.Windows.Forms.CLRControl(); ((System.ComponentModel.ISupportInitialize)(this.numFrame)).BeginInit(); this.groupBox1.SuspendLayout(); this.panel1.SuspendLayout(); this.tabControl1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.tabPage1.SuspendLayout(); this.panel2.SuspendLayout(); this.tabPage3.SuspendLayout(); this.tabPage4.SuspendLayout(); this.SuspendLayout(); // // label7 // this.label7.Location = new System.Drawing.Point(33, 5); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(41, 20); this.label7.TabIndex = 15; this.label7.Text = "Frame:"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numFrame // this.numFrame.Location = new System.Drawing.Point(80, 5); this.numFrame.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); this.numFrame.Name = "numFrame"; this.numFrame.Size = new System.Drawing.Size(58, 20); this.numFrame.TabIndex = 0; this.numFrame.Value = new decimal(new int[] { 1, 0, 0, 0 }); this.numFrame.ValueChanged += new System.EventHandler(this.numFrame_ValueChanged); // // lblFrameCount // this.lblFrameCount.Location = new System.Drawing.Point(144, 5); this.lblFrameCount.Name = "lblFrameCount"; this.lblFrameCount.Size = new System.Drawing.Size(51, 20); this.lblFrameCount.TabIndex = 17; this.lblFrameCount.Text = "/ 10"; this.lblFrameCount.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // btnPrev // this.btnPrev.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnPrev.Location = new System.Drawing.Point(192, 3); this.btnPrev.Name = "btnPrev"; this.btnPrev.Size = new System.Drawing.Size(23, 23); this.btnPrev.TabIndex = 1; this.btnPrev.Text = "<"; this.btnPrev.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.btnPrev.UseVisualStyleBackColor = true; this.btnPrev.Click += new System.EventHandler(this.btnPrev_Click); // // btnNext // this.btnNext.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnNext.Location = new System.Drawing.Point(217, 3); this.btnNext.Name = "btnNext"; this.btnNext.Size = new System.Drawing.Size(23, 23); this.btnNext.TabIndex = 2; this.btnNext.Text = ">"; this.btnNext.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.btnNext.UseVisualStyleBackColor = true; this.btnNext.Click += new System.EventHandler(this.btnNext_Click); // // listKeyframes // this.listKeyframes.Dock = System.Windows.Forms.DockStyle.Fill; this.listKeyframes.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.listKeyframes.FormattingEnabled = true; this.listKeyframes.IntegralHeight = false; this.listKeyframes.ItemHeight = 14; this.listKeyframes.Location = new System.Drawing.Point(3, 16); this.listKeyframes.Name = "listKeyframes"; this.listKeyframes.Size = new System.Drawing.Size(279, 104); this.listKeyframes.TabIndex = 18; this.listKeyframes.SelectedIndexChanged += new System.EventHandler(this.listKeyframes_SelectedIndexChanged); // // groupBox1 // this.groupBox1.Controls.Add(this.listKeyframes); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(285, 123); this.groupBox1.TabIndex = 21; this.groupBox1.TabStop = false; this.groupBox1.Text = "Keyframes"; // // panel1 // this.panel1.Controls.Add(this.tabControl1); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(293, 276); this.panel1.TabIndex = 23; // // tabControl1 // this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Controls.Add(this.tabPage3); this.tabControl1.Controls.Add(this.tabPage4); this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl1.Location = new System.Drawing.Point(0, 0); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(293, 276); this.tabControl1.TabIndex = 18; // // tabPage2 // this.tabPage2.Controls.Add(this.visEditor1); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new System.Drawing.Size(285, 250); this.tabPage2.TabIndex = 4; this.tabPage2.Text = "Enabled"; this.tabPage2.UseVisualStyleBackColor = true; // // visEditor1 // this.visEditor1.Dock = System.Windows.Forms.DockStyle.Fill; this.visEditor1.Location = new System.Drawing.Point(0, 0); this.visEditor1.Name = "visEditor1"; this.visEditor1.Size = new System.Drawing.Size(285, 250); this.visEditor1.TabIndex = 0; // // tabPage1 // this.tabPage1.Controls.Add(this.groupBox1); this.tabPage1.Controls.Add(this.panel2); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Size = new System.Drawing.Size(285, 250); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Lighting"; this.tabPage1.UseVisualStyleBackColor = true; // // panel2 // this.panel2.BackColor = System.Drawing.SystemColors.Control; this.panel2.Controls.Add(this.numSpotBright); this.panel2.Controls.Add(this.label7); this.panel2.Controls.Add(this.label6); this.panel2.Controls.Add(this.numRefBright); this.panel2.Controls.Add(this.label3); this.panel2.Controls.Add(this.label2); this.panel2.Controls.Add(this.btnNext); this.panel2.Controls.Add(this.label5); this.panel2.Controls.Add(this.label4); this.panel2.Controls.Add(this.btnPrev); this.panel2.Controls.Add(this.numStartY); this.panel2.Controls.Add(this.label10); this.panel2.Controls.Add(this.numEndZ); this.panel2.Controls.Add(this.lblFrameCount); this.panel2.Controls.Add(this.numStartX); this.panel2.Controls.Add(this.numRefDist); this.panel2.Controls.Add(this.numEndX); this.panel2.Controls.Add(this.numFrame); this.panel2.Controls.Add(this.numEndY); this.panel2.Controls.Add(this.numSpotCut); this.panel2.Controls.Add(this.numStartZ); this.panel2.Controls.Add(this.label9); this.panel2.Controls.Add(this.label1); this.panel2.Controls.Add(this.label8); this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel2.Location = new System.Drawing.Point(0, 123); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(285, 127); this.panel2.TabIndex = 22; // // numSpotBright // this.numSpotBright.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numSpotBright.Location = new System.Drawing.Point(211, 84); this.numSpotBright.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numSpotBright.Name = "numSpotBright"; this.numSpotBright.Size = new System.Drawing.Size(70, 20); this.numSpotBright.TabIndex = 19; this.numSpotBright.Text = "0"; this.numSpotBright.ValueChanged += new System.EventHandler(this.BoxChanged); // // label6 // this.label6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label6.Location = new System.Drawing.Point(211, 27); this.label6.Margin = new System.Windows.Forms.Padding(0); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(70, 20); this.label6.TabIndex = 8; this.label6.Text = "Z"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // numRefBright // this.numRefBright.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numRefBright.Location = new System.Drawing.Point(211, 103); this.numRefBright.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numRefBright.Name = "numRefBright"; this.numRefBright.Size = new System.Drawing.Size(70, 20); this.numRefBright.TabIndex = 13; this.numRefBright.Text = "0"; this.numRefBright.ValueChanged += new System.EventHandler(this.BoxChanged); // // label3 // this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label3.Location = new System.Drawing.Point(4, 65); this.label3.Margin = new System.Windows.Forms.Padding(0); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(70, 20); this.label3.TabIndex = 2; this.label3.Text = "End Points"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label2 // this.label2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label2.Location = new System.Drawing.Point(4, 84); this.label2.Margin = new System.Windows.Forms.Padding(0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(70, 20); this.label2.TabIndex = 1; this.label2.Text = "Spot Cutoff"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label5 // this.label5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label5.Location = new System.Drawing.Point(142, 27); this.label5.Margin = new System.Windows.Forms.Padding(0); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(70, 20); this.label5.TabIndex = 7; this.label5.Text = "Y"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label4 // this.label4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label4.Location = new System.Drawing.Point(73, 27); this.label4.Margin = new System.Windows.Forms.Padding(0); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(70, 20); this.label4.TabIndex = 4; this.label4.Text = "X"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // numStartY // this.numStartY.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numStartY.Location = new System.Drawing.Point(142, 46); this.numStartY.Margin = new System.Windows.Forms.Padding(0); this.numStartY.Name = "numStartY"; this.numStartY.Size = new System.Drawing.Size(70, 20); this.numStartY.TabIndex = 4; this.numStartY.Text = "0"; this.numStartY.ValueChanged += new System.EventHandler(this.BoxChanged); // // label10 // this.label10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label10.Location = new System.Drawing.Point(142, 84); this.label10.Margin = new System.Windows.Forms.Padding(0); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(70, 20); this.label10.TabIndex = 14; this.label10.Text = "Spot Bright"; this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numEndZ // this.numEndZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numEndZ.Location = new System.Drawing.Point(211, 65); this.numEndZ.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numEndZ.Name = "numEndZ"; this.numEndZ.Size = new System.Drawing.Size(70, 20); this.numEndZ.TabIndex = 8; this.numEndZ.Text = "0"; this.numEndZ.ValueChanged += new System.EventHandler(this.BoxChanged); // // numStartX // this.numStartX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numStartX.Location = new System.Drawing.Point(73, 46); this.numStartX.Margin = new System.Windows.Forms.Padding(0); this.numStartX.Name = "numStartX"; this.numStartX.Size = new System.Drawing.Size(70, 20); this.numStartX.TabIndex = 3; this.numStartX.Text = "0"; this.numStartX.ValueChanged += new System.EventHandler(this.BoxChanged); // // numRefDist // this.numRefDist.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numRefDist.Location = new System.Drawing.Point(73, 103); this.numRefDist.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numRefDist.Name = "numRefDist"; this.numRefDist.Size = new System.Drawing.Size(70, 20); this.numRefDist.TabIndex = 12; this.numRefDist.Text = "0"; this.numRefDist.ValueChanged += new System.EventHandler(this.BoxChanged); // // numEndX // this.numEndX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numEndX.Location = new System.Drawing.Point(73, 65); this.numEndX.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numEndX.Name = "numEndX"; this.numEndX.Size = new System.Drawing.Size(70, 20); this.numEndX.TabIndex = 6; this.numEndX.Text = "0"; this.numEndX.ValueChanged += new System.EventHandler(this.BoxChanged); // // numEndY // this.numEndY.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numEndY.Location = new System.Drawing.Point(142, 65); this.numEndY.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numEndY.Name = "numEndY"; this.numEndY.Size = new System.Drawing.Size(70, 20); this.numEndY.TabIndex = 7; this.numEndY.Text = "0"; this.numEndY.ValueChanged += new System.EventHandler(this.BoxChanged); // // numSpotCut // this.numSpotCut.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numSpotCut.Location = new System.Drawing.Point(73, 84); this.numSpotCut.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numSpotCut.Name = "numSpotCut"; this.numSpotCut.Size = new System.Drawing.Size(70, 20); this.numSpotCut.TabIndex = 11; this.numSpotCut.Text = "0"; this.numSpotCut.ValueChanged += new System.EventHandler(this.BoxChanged); // // numStartZ // this.numStartZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numStartZ.Location = new System.Drawing.Point(211, 46); this.numStartZ.Margin = new System.Windows.Forms.Padding(0); this.numStartZ.Name = "numStartZ"; this.numStartZ.Size = new System.Drawing.Size(70, 20); this.numStartZ.TabIndex = 5; this.numStartZ.Text = "0"; this.numStartZ.ValueChanged += new System.EventHandler(this.BoxChanged); // // label9 // this.label9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label9.Location = new System.Drawing.Point(142, 103); this.label9.Margin = new System.Windows.Forms.Padding(0); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(70, 20); this.label9.TabIndex = 10; this.label9.Text = "Ref Bright"; this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label1 // this.label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label1.Location = new System.Drawing.Point(4, 46); this.label1.Margin = new System.Windows.Forms.Padding(0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(70, 20); this.label1.TabIndex = 0; this.label1.Text = "Start Points"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label8 // this.label8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label8.Location = new System.Drawing.Point(4, 103); this.label8.Margin = new System.Windows.Forms.Padding(0); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(70, 20); this.label8.TabIndex = 9; this.label8.Text = "Ref Dist"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // tabPage3 // this.tabPage3.Controls.Add(this.lightCtrl); this.tabPage3.Location = new System.Drawing.Point(4, 22); this.tabPage3.Name = "tabPage3"; this.tabPage3.Size = new System.Drawing.Size(285, 250); this.tabPage3.TabIndex = 2; this.tabPage3.Text = "Light Color"; this.tabPage3.UseVisualStyleBackColor = true; // // lightCtrl // this.lightCtrl.Dock = System.Windows.Forms.DockStyle.Fill; this.lightCtrl.Location = new System.Drawing.Point(0, 0); this.lightCtrl.Name = "lightCtrl"; this.lightCtrl.Size = new System.Drawing.Size(285, 250); this.lightCtrl.TabIndex = 0; // // tabPage4 // this.tabPage4.Controls.Add(this.specCtrl); this.tabPage4.Location = new System.Drawing.Point(4, 22); this.tabPage4.Name = "tabPage4"; this.tabPage4.Size = new System.Drawing.Size(285, 250); this.tabPage4.TabIndex = 3; this.tabPage4.Text = "Specular Color"; this.tabPage4.UseVisualStyleBackColor = true; // // specCtrl // this.specCtrl.Dock = System.Windows.Forms.DockStyle.Fill; this.specCtrl.Location = new System.Drawing.Point(0, 0); this.specCtrl.Name = "specCtrl"; this.specCtrl.Size = new System.Drawing.Size(285, 250); this.specCtrl.TabIndex = 0; // // SCN0LightEditControl // this.Controls.Add(this.panel1); this.Name = "SCN0LightEditControl"; this.Size = new System.Drawing.Size(293, 276); ((System.ComponentModel.ISupportInitialize)(this.numFrame)).EndInit(); this.groupBox1.ResumeLayout(false); this.panel1.ResumeLayout(false); this.tabControl1.ResumeLayout(false); this.tabPage2.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.tabPage3.ResumeLayout(false); this.tabPage4.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.ListViewGroup listViewGroup1 = new System.Windows.Forms.ListViewGroup("Animations", System.Windows.Forms.HorizontalAlignment.Left); this.grpTransform = new System.Windows.Forms.GroupBox(); this.btnPaste = new System.Windows.Forms.Button(); this.btnCopy = new System.Windows.Forms.Button(); this.btnCut = new System.Windows.Forms.Button(); this.label5 = new System.Windows.Forms.Label(); this.numScaleZ = new System.Windows.Forms.NumericInputBox(); this.numTransX = new System.Windows.Forms.NumericInputBox(); this.numScaleY = new System.Windows.Forms.NumericInputBox(); this.label6 = new System.Windows.Forms.Label(); this.numScaleX = new System.Windows.Forms.NumericInputBox(); this.label7 = new System.Windows.Forms.Label(); this.numRotZ = new System.Windows.Forms.NumericInputBox(); this.label8 = new System.Windows.Forms.Label(); this.numRotY = new System.Windows.Forms.NumericInputBox(); this.label9 = new System.Windows.Forms.Label(); this.numRotX = new System.Windows.Forms.NumericInputBox(); this.label10 = new System.Windows.Forms.Label(); this.numTransZ = new System.Windows.Forms.NumericInputBox(); this.label11 = new System.Windows.Forms.Label(); this.numTransY = new System.Windows.Forms.NumericInputBox(); this.label12 = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label(); this.btnClear = new System.Windows.Forms.Button(); this.btnDelete = new System.Windows.Forms.Button(); this.btnInsert = new System.Windows.Forms.Button(); this.grpExt = new System.Windows.Forms.GroupBox(); this.txtExtPath = new System.Windows.Forms.TextBox(); this.btnClose = new System.Windows.Forms.Button(); this.btnOpen = new System.Windows.Forms.Button(); this.btnSave = new System.Windows.Forms.Button(); this.listAnims = new System.Windows.Forms.ListView(); this.nameColumn = new System.Windows.Forms.ColumnHeader(); this.ctxAnim = new System.Windows.Forms.ContextMenuStrip(this.components); this.sourceToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); this.exportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.replaceToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.dlgOpen = new System.Windows.Forms.OpenFileDialog(); this.dlgSave = new System.Windows.Forms.SaveFileDialog(); this.grpTransAll = new System.Windows.Forms.GroupBox(); this.btnClean = new System.Windows.Forms.Button(); this.btnPasteAll = new System.Windows.Forms.Button(); this.btnCopyAll = new System.Windows.Forms.Button(); this.grpTransform.SuspendLayout(); this.grpExt.SuspendLayout(); this.ctxAnim.SuspendLayout(); this.grpTransAll.SuspendLayout(); this.SuspendLayout(); // // grpTransform // this.grpTransform.Controls.Add(this.btnPaste); this.grpTransform.Controls.Add(this.btnCopy); this.grpTransform.Controls.Add(this.btnCut); this.grpTransform.Controls.Add(this.label5); this.grpTransform.Controls.Add(this.numScaleZ); this.grpTransform.Controls.Add(this.numTransX); this.grpTransform.Controls.Add(this.numScaleY); this.grpTransform.Controls.Add(this.label6); this.grpTransform.Controls.Add(this.numScaleX); this.grpTransform.Controls.Add(this.label7); this.grpTransform.Controls.Add(this.numRotZ); this.grpTransform.Controls.Add(this.label8); this.grpTransform.Controls.Add(this.numRotY); this.grpTransform.Controls.Add(this.label9); this.grpTransform.Controls.Add(this.numRotX); this.grpTransform.Controls.Add(this.label10); this.grpTransform.Controls.Add(this.numTransZ); this.grpTransform.Controls.Add(this.label11); this.grpTransform.Controls.Add(this.numTransY); this.grpTransform.Controls.Add(this.label12); this.grpTransform.Controls.Add(this.label13); this.grpTransform.Dock = System.Windows.Forms.DockStyle.Bottom; this.grpTransform.Enabled = false; this.grpTransform.Location = new System.Drawing.Point(0, 355); this.grpTransform.Name = "grpTransform"; this.grpTransform.Size = new System.Drawing.Size(173, 239); this.grpTransform.TabIndex = 22; this.grpTransform.TabStop = false; this.grpTransform.Text = "Transform Frame"; // // btnPaste // this.btnPaste.Location = new System.Drawing.Point(116, 215); this.btnPaste.Name = "btnPaste"; this.btnPaste.Size = new System.Drawing.Size(50, 20); this.btnPaste.TabIndex = 23; this.btnPaste.Text = "Paste"; this.btnPaste.UseVisualStyleBackColor = true; this.btnPaste.Click += new System.EventHandler(this.btnPaste_Click); // // btnCopy // this.btnCopy.Location = new System.Drawing.Point(62, 215); this.btnCopy.Name = "btnCopy"; this.btnCopy.Size = new System.Drawing.Size(50, 20); this.btnCopy.TabIndex = 22; this.btnCopy.Text = "Copy"; this.btnCopy.UseVisualStyleBackColor = true; this.btnCopy.Click += new System.EventHandler(this.btnCopy_Click); // // btnCut // this.btnCut.Location = new System.Drawing.Point(8, 215); this.btnCut.Name = "btnCut"; this.btnCut.Size = new System.Drawing.Size(50, 20); this.btnCut.TabIndex = 21; this.btnCut.Text = "Cut"; this.btnCut.UseVisualStyleBackColor = true; this.btnCut.Click += new System.EventHandler(this.btnCut_Click); // // label5 // this.label5.Location = new System.Drawing.Point(6, 16); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(74, 20); this.label5.TabIndex = 4; this.label5.Text = "Translation X:"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numScaleZ // this.numScaleZ.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numScaleZ.Location = new System.Drawing.Point(86, 192); this.numScaleZ.Name = "numScaleZ"; this.numScaleZ.Size = new System.Drawing.Size(82, 20); this.numScaleZ.TabIndex = 20; this.numScaleZ.Text = "0"; this.numScaleZ.ValueChanged += new System.EventHandler(this.BoxChanged); // // numTransX // this.numTransX.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numTransX.Location = new System.Drawing.Point(86, 16); this.numTransX.Name = "numTransX"; this.numTransX.Size = new System.Drawing.Size(82, 20); this.numTransX.TabIndex = 3; this.numTransX.Text = "0"; this.numTransX.ValueChanged += new System.EventHandler(this.BoxChanged); // // numScaleY // this.numScaleY.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numScaleY.Location = new System.Drawing.Point(86, 172); this.numScaleY.Name = "numScaleY"; this.numScaleY.Size = new System.Drawing.Size(82, 20); this.numScaleY.TabIndex = 19; this.numScaleY.Text = "0"; this.numScaleY.ValueChanged += new System.EventHandler(this.BoxChanged); // // label6 // this.label6.Location = new System.Drawing.Point(6, 36); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(74, 20); this.label6.TabIndex = 5; this.label6.Text = "Translation Y:"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numScaleX // this.numScaleX.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numScaleX.Location = new System.Drawing.Point(86, 152); this.numScaleX.Name = "numScaleX"; this.numScaleX.Size = new System.Drawing.Size(82, 20); this.numScaleX.TabIndex = 18; this.numScaleX.Text = "0"; this.numScaleX.ValueChanged += new System.EventHandler(this.BoxChanged); // // label7 // this.label7.Location = new System.Drawing.Point(6, 56); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(74, 20); this.label7.TabIndex = 6; this.label7.Text = "Translation Z:"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numRotZ // this.numRotZ.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numRotZ.Location = new System.Drawing.Point(86, 124); this.numRotZ.Name = "numRotZ"; this.numRotZ.Size = new System.Drawing.Size(82, 20); this.numRotZ.TabIndex = 17; this.numRotZ.Text = "0"; this.numRotZ.ValueChanged += new System.EventHandler(this.BoxChanged); // // label8 // this.label8.Location = new System.Drawing.Point(6, 84); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(74, 20); this.label8.TabIndex = 7; this.label8.Text = "Rotation X:"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numRotY // this.numRotY.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numRotY.Location = new System.Drawing.Point(86, 104); this.numRotY.Name = "numRotY"; this.numRotY.Size = new System.Drawing.Size(82, 20); this.numRotY.TabIndex = 16; this.numRotY.Text = "0"; this.numRotY.ValueChanged += new System.EventHandler(this.BoxChanged); // // label9 // this.label9.Location = new System.Drawing.Point(6, 104); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(74, 20); this.label9.TabIndex = 8; this.label9.Text = "Rotation Y:"; this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numRotX // this.numRotX.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numRotX.Location = new System.Drawing.Point(86, 84); this.numRotX.Name = "numRotX"; this.numRotX.Size = new System.Drawing.Size(82, 20); this.numRotX.TabIndex = 15; this.numRotX.Text = "0"; this.numRotX.ValueChanged += new System.EventHandler(this.BoxChanged); // // label10 // this.label10.Location = new System.Drawing.Point(6, 124); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(74, 20); this.label10.TabIndex = 9; this.label10.Text = "Rotation Z:"; this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numTransZ // this.numTransZ.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numTransZ.Location = new System.Drawing.Point(86, 56); this.numTransZ.Name = "numTransZ"; this.numTransZ.Size = new System.Drawing.Size(82, 20); this.numTransZ.TabIndex = 14; this.numTransZ.Text = "0"; this.numTransZ.ValueChanged += new System.EventHandler(this.BoxChanged); // // label11 // this.label11.Location = new System.Drawing.Point(6, 152); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(74, 20); this.label11.TabIndex = 10; this.label11.Text = "Scale X:"; this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numTransY // this.numTransY.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numTransY.Location = new System.Drawing.Point(86, 36); this.numTransY.Name = "numTransY"; this.numTransY.Size = new System.Drawing.Size(82, 20); this.numTransY.TabIndex = 13; this.numTransY.Text = "0"; this.numTransY.ValueChanged += new System.EventHandler(this.BoxChanged); // // label12 // this.label12.Location = new System.Drawing.Point(6, 192); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(74, 20); this.label12.TabIndex = 11; this.label12.Text = "Scale Z:"; this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label13 // this.label13.Location = new System.Drawing.Point(6, 172); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(74, 20); this.label13.TabIndex = 12; this.label13.Text = "Scale Y:"; this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // btnClear // this.btnClear.Location = new System.Drawing.Point(116, 14); this.btnClear.Name = "btnClear"; this.btnClear.Size = new System.Drawing.Size(50, 20); this.btnClear.TabIndex = 26; this.btnClear.Text = "Clear"; this.btnClear.UseVisualStyleBackColor = true; this.btnClear.Click += new System.EventHandler(this.btnClear_Click); // // btnDelete // this.btnDelete.Location = new System.Drawing.Point(62, 14); this.btnDelete.Name = "btnDelete"; this.btnDelete.Size = new System.Drawing.Size(50, 20); this.btnDelete.TabIndex = 25; this.btnDelete.Text = "Delete"; this.btnDelete.UseVisualStyleBackColor = true; this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click); // // btnInsert // this.btnInsert.Location = new System.Drawing.Point(8, 14); this.btnInsert.Name = "btnInsert"; this.btnInsert.Size = new System.Drawing.Size(50, 20); this.btnInsert.TabIndex = 24; this.btnInsert.Text = "Insert"; this.btnInsert.UseVisualStyleBackColor = true; this.btnInsert.Click += new System.EventHandler(this.btnInsert_Click); // // grpExt // this.grpExt.Controls.Add(this.txtExtPath); this.grpExt.Controls.Add(this.btnClose); this.grpExt.Controls.Add(this.btnOpen); this.grpExt.Controls.Add(this.btnSave); this.grpExt.Dock = System.Windows.Forms.DockStyle.Top; this.grpExt.Location = new System.Drawing.Point(0, 0); this.grpExt.Name = "grpExt"; this.grpExt.Padding = new System.Windows.Forms.Padding(6, 4, 6, 3); this.grpExt.Size = new System.Drawing.Size(173, 69); this.grpExt.TabIndex = 23; this.grpExt.TabStop = false; this.grpExt.Text = "External File"; // // txtExtPath // this.txtExtPath.Dock = System.Windows.Forms.DockStyle.Top; this.txtExtPath.Location = new System.Drawing.Point(6, 17); this.txtExtPath.Name = "txtExtPath"; this.txtExtPath.ReadOnly = true; this.txtExtPath.Size = new System.Drawing.Size(161, 20); this.txtExtPath.TabIndex = 3; this.txtExtPath.Click += new System.EventHandler(this.txtExtPath_Click); // // btnClose // this.btnClose.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btnClose.Location = new System.Drawing.Point(116, 42); this.btnClose.Margin = new System.Windows.Forms.Padding(2); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(50, 20); this.btnClose.TabIndex = 2; this.btnClose.Text = "Close"; this.btnClose.UseVisualStyleBackColor = true; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // btnOpen // this.btnOpen.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btnOpen.Location = new System.Drawing.Point(8, 42); this.btnOpen.Margin = new System.Windows.Forms.Padding(2); this.btnOpen.Name = "btnOpen"; this.btnOpen.Size = new System.Drawing.Size(50, 20); this.btnOpen.TabIndex = 0; this.btnOpen.Text = "Load"; this.btnOpen.UseVisualStyleBackColor = true; this.btnOpen.Click += new System.EventHandler(this.btnOpen_Click); // // btnSave // this.btnSave.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btnSave.Location = new System.Drawing.Point(62, 42); this.btnSave.Margin = new System.Windows.Forms.Padding(2); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(50, 20); this.btnSave.TabIndex = 1; this.btnSave.Text = "Save"; this.btnSave.UseVisualStyleBackColor = true; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // listAnims // this.listAnims.AutoArrange = false; this.listAnims.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.nameColumn }); this.listAnims.ContextMenuStrip = this.ctxAnim; this.listAnims.Dock = System.Windows.Forms.DockStyle.Fill; listViewGroup1.Header = "Animations"; listViewGroup1.Name = "grpAnims"; this.listAnims.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { listViewGroup1 }); this.listAnims.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; this.listAnims.HideSelection = false; this.listAnims.Location = new System.Drawing.Point(0, 69); this.listAnims.MultiSelect = false; this.listAnims.Name = "listAnims"; this.listAnims.Size = new System.Drawing.Size(173, 221); this.listAnims.TabIndex = 24; this.listAnims.UseCompatibleStateImageBehavior = false; this.listAnims.View = System.Windows.Forms.View.Details; this.listAnims.SelectedIndexChanged += new System.EventHandler(this.listAnims_SelectedIndexChanged); // // nameColumn // this.nameColumn.Text = "Name"; this.nameColumn.Width = 160; // // ctxAnim // this.ctxAnim.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.sourceToolStripMenuItem, this.toolStripMenuItem1, this.exportToolStripMenuItem, this.replaceToolStripMenuItem }); this.ctxAnim.Name = "ctxAnim"; this.ctxAnim.Size = new System.Drawing.Size(125, 76); this.ctxAnim.Opening += new System.ComponentModel.CancelEventHandler(this.ctxAnim_Opening); // // sourceToolStripMenuItem // this.sourceToolStripMenuItem.Enabled = false; this.sourceToolStripMenuItem.Name = "sourceToolStripMenuItem"; this.sourceToolStripMenuItem.Size = new System.Drawing.Size(124, 22); this.sourceToolStripMenuItem.Text = "Source"; // // toolStripMenuItem1 // this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new System.Drawing.Size(121, 6); // // exportToolStripMenuItem // this.exportToolStripMenuItem.Name = "exportToolStripMenuItem"; this.exportToolStripMenuItem.Size = new System.Drawing.Size(124, 22); this.exportToolStripMenuItem.Text = "Export..."; this.exportToolStripMenuItem.Click += new System.EventHandler(this.exportToolStripMenuItem_Click); // // replaceToolStripMenuItem // this.replaceToolStripMenuItem.Name = "replaceToolStripMenuItem"; this.replaceToolStripMenuItem.Size = new System.Drawing.Size(124, 22); this.replaceToolStripMenuItem.Text = "Replace..."; this.replaceToolStripMenuItem.Click += new System.EventHandler(this.replaceToolStripMenuItem_Click); // // grpTransAll // this.grpTransAll.Controls.Add(this.btnClean); this.grpTransAll.Controls.Add(this.btnPasteAll); this.grpTransAll.Controls.Add(this.btnCopyAll); this.grpTransAll.Controls.Add(this.btnClear); this.grpTransAll.Controls.Add(this.btnInsert); this.grpTransAll.Controls.Add(this.btnDelete); this.grpTransAll.Dock = System.Windows.Forms.DockStyle.Bottom; this.grpTransAll.Enabled = false; this.grpTransAll.Location = new System.Drawing.Point(0, 290); this.grpTransAll.Name = "grpTransAll"; this.grpTransAll.Size = new System.Drawing.Size(173, 65); this.grpTransAll.TabIndex = 25; this.grpTransAll.TabStop = false; this.grpTransAll.Text = "Transform All"; // // btnClean // this.btnClean.Location = new System.Drawing.Point(116, 40); this.btnClean.Name = "btnClean"; this.btnClean.Size = new System.Drawing.Size(50, 20); this.btnClean.TabIndex = 29; this.btnClean.Text = "Clean"; this.btnClean.UseVisualStyleBackColor = true; this.btnClean.Click += new System.EventHandler(this.btnClean_Click); // // btnPasteAll // this.btnPasteAll.Location = new System.Drawing.Point(62, 40); this.btnPasteAll.Name = "btnPasteAll"; this.btnPasteAll.Size = new System.Drawing.Size(50, 20); this.btnPasteAll.TabIndex = 28; this.btnPasteAll.Text = "Paste"; this.btnPasteAll.UseVisualStyleBackColor = true; this.btnPasteAll.Click += new System.EventHandler(this.btnPasteAll_Click); // // btnCopyAll // this.btnCopyAll.Location = new System.Drawing.Point(8, 40); this.btnCopyAll.Name = "btnCopyAll"; this.btnCopyAll.Size = new System.Drawing.Size(50, 20); this.btnCopyAll.TabIndex = 27; this.btnCopyAll.Text = "Copy"; this.btnCopyAll.UseVisualStyleBackColor = true; this.btnCopyAll.Click += new System.EventHandler(this.btnCopyAll_Click); // // ModelAnimPanel // this.Controls.Add(this.listAnims); this.Controls.Add(this.grpTransAll); this.Controls.Add(this.grpExt); this.Controls.Add(this.grpTransform); this.Name = "ModelAnimPanel"; this.Size = new System.Drawing.Size(173, 594); this.grpTransform.ResumeLayout(false); this.grpTransform.PerformLayout(); this.grpExt.ResumeLayout(false); this.grpExt.PerformLayout(); this.ctxAnim.ResumeLayout(false); this.grpTransAll.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.numScaleY = new System.Windows.Forms.NumericInputBox(); this.numRot = new System.Windows.Forms.NumericInputBox(); this.numTransX = new System.Windows.Forms.NumericInputBox(); this.numTransY = new System.Windows.Forms.NumericInputBox(); this.numScaleX = new System.Windows.Forms.NumericInputBox(); this.label7 = new System.Windows.Forms.Label(); this.numFrame = new System.Windows.Forms.NumericUpDown(); this.lblFrameCount = new System.Windows.Forms.Label(); this.btnPrev = new System.Windows.Forms.Button(); this.btnNext = new System.Windows.Forms.Button(); this.listKeyframes = new System.Windows.Forms.ListBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.panel1 = new System.Windows.Forms.Panel(); this.label9 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.numFrame)).BeginInit(); this.groupBox1.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // label1 // this.label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label1.Location = new System.Drawing.Point(10, 30); this.label1.Margin = new System.Windows.Forms.Padding(0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(70, 20); this.label1.TabIndex = 0; this.label1.Text = "Scale"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label2 // this.label2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label2.Location = new System.Drawing.Point(10, 49); this.label2.Margin = new System.Windows.Forms.Padding(0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(70, 20); this.label2.TabIndex = 1; this.label2.Text = "Translation"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label3 // this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label3.Location = new System.Drawing.Point(10, 68); this.label3.Margin = new System.Windows.Forms.Padding(0); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(88, 20); this.label3.TabIndex = 2; this.label3.Text = "Rotation"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numScaleY // this.numScaleY.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numScaleY.Location = new System.Drawing.Point(184, 30); this.numScaleY.Margin = new System.Windows.Forms.Padding(0); this.numScaleY.Name = "numScaleY"; this.numScaleY.Size = new System.Drawing.Size(70, 20); this.numScaleY.TabIndex = 3; this.numScaleY.Text = "0"; this.numScaleY.ValueChanged += new System.EventHandler(this.BoxChanged); // // numRot // this.numRot.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numRot.Location = new System.Drawing.Point(97, 68); this.numRot.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numRot.Name = "numRot"; this.numRot.Size = new System.Drawing.Size(70, 20); this.numRot.TabIndex = 6; this.numRot.Text = "0"; this.numRot.ValueChanged += new System.EventHandler(this.BoxChanged); // // numTransX // this.numTransX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numTransX.Location = new System.Drawing.Point(97, 49); this.numTransX.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numTransX.Name = "numTransX"; this.numTransX.Size = new System.Drawing.Size(70, 20); this.numTransX.TabIndex = 9; this.numTransX.Text = "0"; this.numTransX.ValueChanged += new System.EventHandler(this.BoxChanged); // // numTransY // this.numTransY.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numTransY.Location = new System.Drawing.Point(184, 49); this.numTransY.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numTransY.Name = "numTransY"; this.numTransY.Size = new System.Drawing.Size(70, 20); this.numTransY.TabIndex = 10; this.numTransY.Text = "0"; this.numTransY.ValueChanged += new System.EventHandler(this.BoxChanged); // // numScaleX // this.numScaleX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numScaleX.Location = new System.Drawing.Point(97, 30); this.numScaleX.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numScaleX.Name = "numScaleX"; this.numScaleX.Size = new System.Drawing.Size(70, 20); this.numScaleX.TabIndex = 11; this.numScaleX.Text = "0"; this.numScaleX.ValueChanged += new System.EventHandler(this.BoxChanged); // // label7 // this.label7.Location = new System.Drawing.Point(37, 5); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(61, 20); this.label7.TabIndex = 15; this.label7.Text = "Frame:"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numFrame // this.numFrame.Location = new System.Drawing.Point(104, 5); this.numFrame.Minimum = new decimal(new int[] { 1, 0, 0, 0}); this.numFrame.Name = "numFrame"; this.numFrame.Size = new System.Drawing.Size(58, 20); this.numFrame.TabIndex = 0; this.numFrame.Value = new decimal(new int[] { 1, 0, 0, 0}); this.numFrame.ValueChanged += new System.EventHandler(this.numFrame_ValueChanged); // // lblFrameCount // this.lblFrameCount.Location = new System.Drawing.Point(168, 5); this.lblFrameCount.Name = "lblFrameCount"; this.lblFrameCount.Size = new System.Drawing.Size(45, 20); this.lblFrameCount.TabIndex = 17; this.lblFrameCount.Text = "/ 10"; this.lblFrameCount.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // btnPrev // this.btnPrev.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnPrev.Location = new System.Drawing.Point(219, 4); this.btnPrev.Name = "btnPrev"; this.btnPrev.Size = new System.Drawing.Size(23, 23); this.btnPrev.TabIndex = 1; this.btnPrev.Text = "<"; this.btnPrev.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.btnPrev.UseVisualStyleBackColor = true; this.btnPrev.Click += new System.EventHandler(this.btnPrev_Click); // // btnNext // this.btnNext.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnNext.Location = new System.Drawing.Point(244, 4); this.btnNext.Name = "btnNext"; this.btnNext.Size = new System.Drawing.Size(23, 23); this.btnNext.TabIndex = 2; this.btnNext.Text = ">"; this.btnNext.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.btnNext.UseVisualStyleBackColor = true; this.btnNext.Click += new System.EventHandler(this.btnNext_Click); // // listKeyframes // this.listKeyframes.Dock = System.Windows.Forms.DockStyle.Fill; this.listKeyframes.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.listKeyframes.FormattingEnabled = true; this.listKeyframes.IntegralHeight = false; this.listKeyframes.ItemHeight = 14; this.listKeyframes.Location = new System.Drawing.Point(3, 16); this.listKeyframes.Name = "listKeyframes"; this.listKeyframes.Size = new System.Drawing.Size(294, 96); this.listKeyframes.TabIndex = 18; this.listKeyframes.SelectedIndexChanged += new System.EventHandler(this.listKeyframes_SelectedIndexChanged); // // groupBox1 // this.groupBox1.Controls.Add(this.listKeyframes); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(300, 115); this.groupBox1.TabIndex = 21; this.groupBox1.TabStop = false; this.groupBox1.Text = "Keyframes"; // // panel1 // this.panel1.Controls.Add(this.label9); this.panel1.Controls.Add(this.label8); this.panel1.Controls.Add(this.label6); this.panel1.Controls.Add(this.label5); this.panel1.Controls.Add(this.label7); this.panel1.Controls.Add(this.btnNext); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.numTransY); this.panel1.Controls.Add(this.btnPrev); this.panel1.Controls.Add(this.numScaleY); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.lblFrameCount); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.numFrame); this.panel1.Controls.Add(this.numScaleX); this.panel1.Controls.Add(this.numRot); this.panel1.Controls.Add(this.numTransX); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 115); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(300, 97); this.panel1.TabIndex = 23; // // label9 // this.label9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label9.Location = new System.Drawing.Point(166, 30); this.label9.Margin = new System.Windows.Forms.Padding(0); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(19, 20); this.label9.TabIndex = 22; this.label9.Text = "Y"; this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label8 // this.label8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label8.Location = new System.Drawing.Point(79, 30); this.label8.Margin = new System.Windows.Forms.Padding(0); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(19, 20); this.label8.TabIndex = 21; this.label8.Text = "X"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label6 // this.label6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label6.Location = new System.Drawing.Point(166, 49); this.label6.Margin = new System.Windows.Forms.Padding(0); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(19, 20); this.label6.TabIndex = 20; this.label6.Text = "Y"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label5 // this.label5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label5.Location = new System.Drawing.Point(79, 49); this.label5.Margin = new System.Windows.Forms.Padding(0); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(19, 20); this.label5.TabIndex = 19; this.label5.Text = "X"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // TexAnimEditControl // this.Controls.Add(this.groupBox1); this.Controls.Add(this.panel1); this.Name = "TexAnimEditControl"; this.Size = new System.Drawing.Size(300, 212); ((System.ComponentModel.ISupportInitialize)(this.numFrame)).EndInit(); this.groupBox1.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); }
public SCN0Editor() { InitializeComponent(); _transBoxes[0] = new NumericInputBox[10]; _transBoxes[1] = new NumericInputBox[2]; _transBoxes[2] = new NumericInputBox[15]; _transBoxes[0][0] = numStartX; numStartX.Tag = 0; _transBoxes[0][1] = numStartY; numStartY.Tag = 1; _transBoxes[0][2] = numStartZ; numStartZ.Tag = 2; _transBoxes[0][3] = numEndX; numEndX.Tag = 3; _transBoxes[0][4] = numEndY; numEndY.Tag = 4; _transBoxes[0][5] = numEndZ; numEndZ.Tag = 5; _transBoxes[0][6] = numRefDist; numRefDist.Tag = 6; _transBoxes[0][7] = numRefBright; numRefBright.Tag = 7; _transBoxes[0][8] = numSpotCut; numSpotCut.Tag = 8; _transBoxes[0][9] = numSpotBright; numSpotBright.Tag = 9; _transBoxes[1][0] = numFogStartZ; numFogStartZ.Tag = 0; _transBoxes[1][1] = numFogEndZ; numFogEndZ.Tag = 1; _transBoxes[2][0] = numPosX; numPosX.Tag = 0; _transBoxes[2][1] = numPosY; numPosY.Tag = 1; _transBoxes[2][2] = numPosZ; numPosZ.Tag = 2; _transBoxes[2][3] = numAspect; numAspect.Tag = 3; _transBoxes[2][4] = numNearZ; numNearZ.Tag = 4; _transBoxes[2][5] = numFarZ; numFarZ.Tag = 5; _transBoxes[2][6] = numRotX; numRotX.Tag = 6; _transBoxes[2][7] = numRotY; numRotY.Tag = 7; _transBoxes[2][8] = numRotZ; numRotZ.Tag = 8; _transBoxes[2][9] = numAimX; numAimX.Tag = 9; _transBoxes[2][10] = numAimY; numAimY.Tag = 10; _transBoxes[2][11] = numAimZ; numAimZ.Tag = 11; _transBoxes[2][12] = numTwist; numTwist.Tag = 12; _transBoxes[2][13] = numFovY; numFovY.Tag = 13; _transBoxes[2][14] = numHeight; numHeight.Tag = 14; }
internal unsafe void BoxChanged(object sender, EventArgs e) { if (TargetTexRef == null || sender == null) { return; } NumericInputBox box = sender as NumericInputBox; int index = (int)box.Tag; if (index == 2 || index == 4 || index == 5 || index == 8) { return; } MDL0MaterialRefNode mr = TargetTexRef; if ((SelectedAnimation != null) && (CurrentFrame > 0)) { SRT0TextureNode entry = SelectedAnimation.FindChild(mr.Parent.Name + "/Texture" + mr.Index, true) as SRT0TextureNode; if (entry == null) { if (!float.IsNaN(box.Value)) { entry = SelectedAnimation.FindOrCreateEntry(mr.Parent.Name, mr.Index); //Set initial values (so they aren't null) FrameState state = mr._bindState; //Get the texture's bindstate float * p = (float *)&state; for (int i = 0; i < 3; i++) //Get the scale { if (p[i] != 1.0f) //Check for default values { entry.SetKeyframe(KeyFrameMode.ScaleX + i, 0, p[i]); } } for (int i = 3; i < 9; i++) //Get rotation and translation respectively { if (p[i] != 0.0f) //Check for default values { entry.SetKeyframe(KeyFrameMode.ScaleX + i, 0, p[i]); } } if (p[10] != 0.0f) { entry.SetKeyframe(KeyFrameMode.ScaleX + 10, 0, p[10]); } //Finally, replace with the changed value entry.SetKeyframe(KeyFrameMode.ScaleX + index, CurrentFrame - 1, box.Value); } } else //Set to existing SRT0 texture if (float.IsNaN(box.Value)) { entry.RemoveKeyframe(KeyFrameMode.ScaleX + index, CurrentFrame - 1); } else { entry.SetKeyframe(KeyFrameMode.ScaleX + index, CurrentFrame - 1, box.Value); } } else { //Change base transform FrameState state = mr._bindState; float * p = (float *)&state; p[index] = float.IsNaN(box.Value) ? (index > 2 ? 0.0f : 1.0f) : box.Value; mr._bindState = state; //mr.RecalcBindState(); mr.SignalPropertyChange(); } TargetModel.ApplySRT(SelectedAnimation, CurrentFrame); ResetBox(index); _mainWindow.modelPanel1.Invalidate(); }
public void UpdateInterpolationEditor(NumericInputBox box) { if (_mainWindow.InterpolationEditor == null || !_mainWindow.InterpolationEditor.Visible) return; _mainWindow.InterpolationEditor.interpolationViewer._updating = true; if (box.BackColor == Color.Yellow) { KeyframeEntry kfe = Entry.GetKeys((int)box.Tag).GetKeyframe(CurrentFrame - 1); if (kfe != null) _mainWindow.InterpolationEditor.SelectedKeyframe = kfe; } else _mainWindow.InterpolationEditor.SelectedKeyframe = null; _mainWindow.InterpolationEditor.interpolationViewer._updating = false; }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CollisionEditor)); this.undoToolStrip = new System.Windows.Forms.SplitContainer(); this.redoToolStrip = new System.Windows.Forms.SplitContainer(); this.modelTree = new System.Windows.Forms.TreeView(); this.contextMenuStrip2 = new System.Windows.Forms.ContextMenuStrip(this.components); this.assignToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.snapToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.panel2 = new System.Windows.Forms.Panel(); this.chkBones = new System.Windows.Forms.CheckBox(); this.chkPoly = new System.Windows.Forms.CheckBox(); this.chkAllModels = new System.Windows.Forms.CheckBox(); this.lstObjects = new System.Windows.Forms.CheckedListBox(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.newObjectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); this.snapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.panel3 = new System.Windows.Forms.Panel(); this.pnlObjProps = new System.Windows.Forms.Panel(); this.chkObjSSEUnk = new System.Windows.Forms.CheckBox(); this.chkObjModule = new System.Windows.Forms.CheckBox(); this.chkObjUnk = new System.Windows.Forms.CheckBox(); this.btnUnlink = new System.Windows.Forms.Button(); this.btnRelink = new System.Windows.Forms.Button(); this.txtBone = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.txtModel = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.pnlPointProps = new System.Windows.Forms.Panel(); this.label2 = new System.Windows.Forms.Label(); this.numY = new System.Windows.Forms.NumericInputBox(); this.label1 = new System.Windows.Forms.Label(); this.numX = new System.Windows.Forms.NumericInputBox(); this.pnlPlaneProps = new System.Windows.Forms.Panel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.cboType = new System.Windows.Forms.ComboBox(); this.chkTypeUnk2 = new System.Windows.Forms.CheckBox(); this.chkTypeUnk1 = new System.Windows.Forms.CheckBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.chkLeftLedge = new System.Windows.Forms.CheckBox(); this.chkNoWalljump = new System.Windows.Forms.CheckBox(); this.chkRightLedge = new System.Windows.Forms.CheckBox(); this.chkFallThrough = new System.Windows.Forms.CheckBox(); this.cboMaterial = new System.Windows.Forms.ComboBox(); this.label5 = new System.Windows.Forms.Label(); this.panel4 = new System.Windows.Forms.Panel(); this.btnPlayAnims = new System.Windows.Forms.Button(); this.btnPrevFrame = new System.Windows.Forms.Button(); this.btnNextFrame = new System.Windows.Forms.Button(); this._modelPanel = new System.Windows.Forms.ModelPanel(); this.panel1 = new System.Windows.Forms.Panel(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.btnUndo = new System.Windows.Forms.ToolStripButton(); this.btnRedo = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.btnSplit = new System.Windows.Forms.ToolStripButton(); this.btnMerge = new System.Windows.Forms.ToolStripButton(); this.btnDelete = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.btnSameX = new System.Windows.Forms.ToolStripButton(); this.btnSameY = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.btnResetCam = new System.Windows.Forms.ToolStripButton(); this.btnResetSnap = new System.Windows.Forms.ToolStripButton(); this.btnHelp = new System.Windows.Forms.ToolStripButton(); this.btnResetRot = new System.Windows.Forms.Button(); this.trackBar1 = new System.Windows.Forms.TrackBar(); ((System.ComponentModel.ISupportInitialize)(this.undoToolStrip)).BeginInit(); this.undoToolStrip.Panel1.SuspendLayout(); this.undoToolStrip.Panel2.SuspendLayout(); this.undoToolStrip.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.redoToolStrip)).BeginInit(); this.redoToolStrip.Panel1.SuspendLayout(); this.redoToolStrip.Panel2.SuspendLayout(); this.redoToolStrip.SuspendLayout(); this.contextMenuStrip2.SuspendLayout(); this.panel2.SuspendLayout(); this.contextMenuStrip1.SuspendLayout(); this.panel3.SuspendLayout(); this.pnlObjProps.SuspendLayout(); this.pnlPointProps.SuspendLayout(); this.pnlPlaneProps.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox1.SuspendLayout(); this.panel4.SuspendLayout(); this.panel1.SuspendLayout(); this.toolStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit(); this.SuspendLayout(); // // undoToolStrip // this.undoToolStrip.Dock = System.Windows.Forms.DockStyle.Fill; this.undoToolStrip.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; this.undoToolStrip.Location = new System.Drawing.Point(0, 0); this.undoToolStrip.Name = "undoToolStrip"; // // undoToolStrip.Panel1 // this.undoToolStrip.Panel1.Controls.Add(this.redoToolStrip); // // undoToolStrip.Panel2 // this.undoToolStrip.Panel2.Controls.Add(this._modelPanel); this.undoToolStrip.Panel2.Controls.Add(this.panel1); this.undoToolStrip.Size = new System.Drawing.Size(694, 467); this.undoToolStrip.SplitterDistance = 209; this.undoToolStrip.TabIndex = 1; // // redoToolStrip // this.redoToolStrip.Dock = System.Windows.Forms.DockStyle.Fill; this.redoToolStrip.Location = new System.Drawing.Point(0, 0); this.redoToolStrip.Name = "redoToolStrip"; this.redoToolStrip.Orientation = System.Windows.Forms.Orientation.Horizontal; // // redoToolStrip.Panel1 // this.redoToolStrip.Panel1.Controls.Add(this.modelTree); this.redoToolStrip.Panel1.Controls.Add(this.panel2); // // redoToolStrip.Panel2 // this.redoToolStrip.Panel2.Controls.Add(this.lstObjects); this.redoToolStrip.Panel2.Controls.Add(this.panel3); this.redoToolStrip.Panel2.Controls.Add(this.panel4); this.redoToolStrip.Size = new System.Drawing.Size(209, 467); this.redoToolStrip.SplitterDistance = 242; this.redoToolStrip.TabIndex = 2; // // modelTree // this.modelTree.BorderStyle = System.Windows.Forms.BorderStyle.None; this.modelTree.CheckBoxes = true; this.modelTree.ContextMenuStrip = this.contextMenuStrip2; this.modelTree.Dock = System.Windows.Forms.DockStyle.Fill; this.modelTree.HideSelection = false; this.modelTree.Location = new System.Drawing.Point(0, 17); this.modelTree.Name = "modelTree"; this.modelTree.Size = new System.Drawing.Size(209, 225); this.modelTree.TabIndex = 4; this.modelTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.modelTree_AfterCheck); this.modelTree.BeforeSelect += new System.Windows.Forms.TreeViewCancelEventHandler(this.modelTree_BeforeSelect); this.modelTree.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.modelTree_AfterSelect); // // contextMenuStrip2 // this.contextMenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.assignToolStripMenuItem, this.snapToolStripMenuItem1}); this.contextMenuStrip2.Name = "contextMenuStrip2"; this.contextMenuStrip2.Size = new System.Drawing.Size(110, 48); this.contextMenuStrip2.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuStrip2_Opening); // // assignToolStripMenuItem // this.assignToolStripMenuItem.Name = "assignToolStripMenuItem"; this.assignToolStripMenuItem.Size = new System.Drawing.Size(109, 22); this.assignToolStripMenuItem.Text = "Assign"; this.assignToolStripMenuItem.Click += new System.EventHandler(this.btnRelink_Click); // // snapToolStripMenuItem1 // this.snapToolStripMenuItem1.Name = "snapToolStripMenuItem1"; this.snapToolStripMenuItem1.Size = new System.Drawing.Size(109, 22); this.snapToolStripMenuItem1.Text = "Snap"; this.snapToolStripMenuItem1.Click += new System.EventHandler(this.snapToolStripMenuItem1_Click); // // panel2 // this.panel2.Controls.Add(this.chkBones); this.panel2.Controls.Add(this.chkPoly); this.panel2.Controls.Add(this.chkAllModels); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(209, 17); this.panel2.TabIndex = 3; // // chkBones // this.chkBones.Location = new System.Drawing.Point(100, 0); this.chkBones.Name = "chkBones"; this.chkBones.Padding = new System.Windows.Forms.Padding(1, 0, 0, 0); this.chkBones.Size = new System.Drawing.Size(67, 17); this.chkBones.TabIndex = 4; this.chkBones.Text = "Bones"; this.chkBones.UseVisualStyleBackColor = true; this.chkBones.CheckedChanged += new System.EventHandler(this.chkBones_CheckedChanged); // // chkPoly // this.chkPoly.Checked = true; this.chkPoly.CheckState = System.Windows.Forms.CheckState.Checked; this.chkPoly.Location = new System.Drawing.Point(44, 0); this.chkPoly.Name = "chkPoly"; this.chkPoly.Padding = new System.Windows.Forms.Padding(1, 0, 0, 0); this.chkPoly.Size = new System.Drawing.Size(54, 17); this.chkPoly.TabIndex = 3; this.chkPoly.Text = "Poly"; this.chkPoly.ThreeState = true; this.chkPoly.UseVisualStyleBackColor = true; this.chkPoly.CheckStateChanged += new System.EventHandler(this.chkPoly_CheckStateChanged); // // chkAllModels // this.chkAllModels.Checked = true; this.chkAllModels.CheckState = System.Windows.Forms.CheckState.Checked; this.chkAllModels.Location = new System.Drawing.Point(0, 0); this.chkAllModels.Name = "chkAllModels"; this.chkAllModels.Padding = new System.Windows.Forms.Padding(1, 0, 0, 0); this.chkAllModels.Size = new System.Drawing.Size(41, 17); this.chkAllModels.TabIndex = 2; this.chkAllModels.Text = "All"; this.chkAllModels.UseVisualStyleBackColor = true; this.chkAllModels.CheckedChanged += new System.EventHandler(this.chkAllModels_CheckedChanged); // // lstObjects // this.lstObjects.BorderStyle = System.Windows.Forms.BorderStyle.None; this.lstObjects.ContextMenuStrip = this.contextMenuStrip1; this.lstObjects.Dock = System.Windows.Forms.DockStyle.Fill; this.lstObjects.FormattingEnabled = true; this.lstObjects.IntegralHeight = false; this.lstObjects.Location = new System.Drawing.Point(0, 0); this.lstObjects.Name = "lstObjects"; this.lstObjects.Size = new System.Drawing.Size(209, 82); this.lstObjects.TabIndex = 1; this.lstObjects.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.lstObjects_ItemCheck); this.lstObjects.SelectedValueChanged += new System.EventHandler(this.lstObjects_SelectedValueChanged); this.lstObjects.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lstObjects_MouseDown); // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.newObjectToolStripMenuItem, this.toolStripMenuItem2, this.snapToolStripMenuItem, this.toolStripMenuItem1, this.deleteToolStripMenuItem}); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(137, 82); // // newObjectToolStripMenuItem // this.newObjectToolStripMenuItem.Name = "newObjectToolStripMenuItem"; this.newObjectToolStripMenuItem.Size = new System.Drawing.Size(136, 22); this.newObjectToolStripMenuItem.Text = "New Object"; this.newObjectToolStripMenuItem.Click += new System.EventHandler(this.newObjectToolStripMenuItem_Click); // // toolStripMenuItem2 // this.toolStripMenuItem2.Name = "toolStripMenuItem2"; this.toolStripMenuItem2.Size = new System.Drawing.Size(133, 6); // // snapToolStripMenuItem // this.snapToolStripMenuItem.Name = "snapToolStripMenuItem"; this.snapToolStripMenuItem.Size = new System.Drawing.Size(136, 22); this.snapToolStripMenuItem.Text = "Snap"; this.snapToolStripMenuItem.Click += new System.EventHandler(this.snapToolStripMenuItem_Click); // // toolStripMenuItem1 // this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new System.Drawing.Size(133, 6); // // deleteToolStripMenuItem // this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem"; this.deleteToolStripMenuItem.Size = new System.Drawing.Size(136, 22); this.deleteToolStripMenuItem.Text = "Delete"; this.deleteToolStripMenuItem.Click += new System.EventHandler(this.deleteToolStripMenuItem_Click); // // panel3 // this.panel3.Controls.Add(this.pnlPlaneProps); this.panel3.Controls.Add(this.pnlPointProps); this.panel3.Controls.Add(this.pnlObjProps); this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel3.Location = new System.Drawing.Point(0, 82); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(209, 115); this.panel3.TabIndex = 16; // // pnlObjProps // this.pnlObjProps.Controls.Add(this.chkObjSSEUnk); this.pnlObjProps.Controls.Add(this.chkObjModule); this.pnlObjProps.Controls.Add(this.chkObjUnk); this.pnlObjProps.Controls.Add(this.btnUnlink); this.pnlObjProps.Controls.Add(this.btnRelink); this.pnlObjProps.Controls.Add(this.txtBone); this.pnlObjProps.Controls.Add(this.label4); this.pnlObjProps.Controls.Add(this.txtModel); this.pnlObjProps.Controls.Add(this.label3); this.pnlObjProps.Dock = System.Windows.Forms.DockStyle.Bottom; this.pnlObjProps.Location = new System.Drawing.Point(0, -15); this.pnlObjProps.Name = "pnlObjProps"; this.pnlObjProps.Size = new System.Drawing.Size(209, 130); this.pnlObjProps.TabIndex = 1; this.pnlObjProps.Visible = false; // // chkObjSSEUnk // this.chkObjSSEUnk.AutoSize = true; this.chkObjSSEUnk.Location = new System.Drawing.Point(10, 102); this.chkObjSSEUnk.Name = "chkObjSSEUnk"; this.chkObjSSEUnk.Size = new System.Drawing.Size(96, 17); this.chkObjSSEUnk.TabIndex = 15; this.chkObjSSEUnk.Text = "SSE Unknown"; this.chkObjSSEUnk.UseVisualStyleBackColor = true; this.chkObjSSEUnk.CheckedChanged += new System.EventHandler(this.chkObjSSEUnk_CheckedChanged); // // chkObjModule // this.chkObjModule.AutoSize = true; this.chkObjModule.Location = new System.Drawing.Point(10, 79); this.chkObjModule.Name = "chkObjModule"; this.chkObjModule.Size = new System.Drawing.Size(111, 17); this.chkObjModule.TabIndex = 14; this.chkObjModule.Text = "Module Controlled"; this.chkObjModule.UseVisualStyleBackColor = true; this.chkObjModule.CheckedChanged += new System.EventHandler(this.chkObjModule_CheckedChanged); // // chkObjUnk // this.chkObjUnk.AutoSize = true; this.chkObjUnk.Location = new System.Drawing.Point(10, 56); this.chkObjUnk.Name = "chkObjUnk"; this.chkObjUnk.Size = new System.Drawing.Size(72, 17); this.chkObjUnk.TabIndex = 13; this.chkObjUnk.Text = "Unknown"; this.chkObjUnk.UseVisualStyleBackColor = true; this.chkObjUnk.CheckedChanged += new System.EventHandler(this.chkObjUnk_CheckedChanged); // // btnUnlink // this.btnUnlink.Location = new System.Drawing.Point(177, 22); this.btnUnlink.Name = "btnUnlink"; this.btnUnlink.Size = new System.Drawing.Size(28, 21); this.btnUnlink.TabIndex = 12; this.btnUnlink.Text = "-"; this.btnUnlink.UseVisualStyleBackColor = true; this.btnUnlink.Click += new System.EventHandler(this.btnUnlink_Click); // // btnRelink // this.btnRelink.Location = new System.Drawing.Point(177, 2); this.btnRelink.Name = "btnRelink"; this.btnRelink.Size = new System.Drawing.Size(28, 21); this.btnRelink.TabIndex = 4; this.btnRelink.Text = "+"; this.btnRelink.UseVisualStyleBackColor = true; this.btnRelink.Click += new System.EventHandler(this.btnRelink_Click); // // txtBone // this.txtBone.Location = new System.Drawing.Point(49, 23); this.txtBone.Name = "txtBone"; this.txtBone.ReadOnly = true; this.txtBone.Size = new System.Drawing.Size(126, 20); this.txtBone.TabIndex = 3; // // label4 // this.label4.Location = new System.Drawing.Point(4, 23); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(42, 20); this.label4.TabIndex = 2; this.label4.Text = "Bone:"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // txtModel // this.txtModel.Location = new System.Drawing.Point(49, 3); this.txtModel.Name = "txtModel"; this.txtModel.ReadOnly = true; this.txtModel.Size = new System.Drawing.Size(126, 20); this.txtModel.TabIndex = 1; // // label3 // this.label3.Location = new System.Drawing.Point(4, 3); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(42, 20); this.label3.TabIndex = 0; this.label3.Text = "Model:"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // pnlPointProps // this.pnlPointProps.Controls.Add(this.label2); this.pnlPointProps.Controls.Add(this.numY); this.pnlPointProps.Controls.Add(this.label1); this.pnlPointProps.Controls.Add(this.numX); this.pnlPointProps.Dock = System.Windows.Forms.DockStyle.Bottom; this.pnlPointProps.Location = new System.Drawing.Point(0, -85); this.pnlPointProps.Name = "pnlPointProps"; this.pnlPointProps.Size = new System.Drawing.Size(209, 70); this.pnlPointProps.TabIndex = 15; this.pnlPointProps.Visible = false; // // label2 // this.label2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label2.Location = new System.Drawing.Point(18, 32); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(42, 20); this.label2.TabIndex = 3; this.label2.Text = "Y"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numY // this.numY.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numY.Integral = false; this.numY.Location = new System.Drawing.Point(59, 32); this.numY.MaximumValue = 3.402823E+38F; this.numY.MinimumValue = -3.402823E+38F; this.numY.Name = "numY"; this.numY.Size = new System.Drawing.Size(100, 20); this.numY.TabIndex = 2; this.numY.Text = "0"; this.numY.ValueChanged += new System.EventHandler(this.numY_ValueChanged); // // label1 // this.label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label1.Location = new System.Drawing.Point(18, 13); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(42, 20); this.label1.TabIndex = 1; this.label1.Text = "X"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numX // this.numX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numX.Integral = false; this.numX.Location = new System.Drawing.Point(59, 13); this.numX.MaximumValue = 3.402823E+38F; this.numX.MinimumValue = -3.402823E+38F; this.numX.Name = "numX"; this.numX.Size = new System.Drawing.Size(100, 20); this.numX.TabIndex = 0; this.numX.Text = "0"; this.numX.ValueChanged += new System.EventHandler(this.numX_ValueChanged); // // pnlPlaneProps // this.pnlPlaneProps.Controls.Add(this.groupBox2); this.pnlPlaneProps.Controls.Add(this.groupBox1); this.pnlPlaneProps.Controls.Add(this.cboMaterial); this.pnlPlaneProps.Controls.Add(this.label5); this.pnlPlaneProps.Dock = System.Windows.Forms.DockStyle.Bottom; this.pnlPlaneProps.Location = new System.Drawing.Point(0, -199); this.pnlPlaneProps.Name = "pnlPlaneProps"; this.pnlPlaneProps.Size = new System.Drawing.Size(209, 114); this.pnlPlaneProps.TabIndex = 0; this.pnlPlaneProps.Visible = false; // // groupBox2 // this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.groupBox2.Controls.Add(this.cboType); this.groupBox2.Controls.Add(this.chkTypeUnk2); this.groupBox2.Controls.Add(this.chkTypeUnk1); this.groupBox2.Location = new System.Drawing.Point(104, 28); this.groupBox2.Margin = new System.Windows.Forms.Padding(0); this.groupBox2.Name = "groupBox2"; this.groupBox2.Padding = new System.Windows.Forms.Padding(0); this.groupBox2.Size = new System.Drawing.Size(105, 86); this.groupBox2.TabIndex = 14; this.groupBox2.TabStop = false; this.groupBox2.Text = "Types"; // // cboType // this.cboType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cboType.FormattingEnabled = true; this.cboType.Location = new System.Drawing.Point(8, 16); this.cboType.Name = "cboType"; this.cboType.Size = new System.Drawing.Size(89, 21); this.cboType.TabIndex = 5; this.cboType.SelectedIndexChanged += new System.EventHandler(this.cboType_SelectedIndexChanged); // // chkTypeUnk2 // this.chkTypeUnk2.Location = new System.Drawing.Point(8, 58); this.chkTypeUnk2.Margin = new System.Windows.Forms.Padding(0); this.chkTypeUnk2.Name = "chkTypeUnk2"; this.chkTypeUnk2.Size = new System.Drawing.Size(86, 18); this.chkTypeUnk2.TabIndex = 3; this.chkTypeUnk2.Text = "Items"; this.chkTypeUnk2.UseVisualStyleBackColor = true; this.chkTypeUnk2.CheckedChanged += new System.EventHandler(this.chkTypeUnk2_CheckedChanged); // // chkTypeUnk1 // this.chkTypeUnk1.Location = new System.Drawing.Point(8, 40); this.chkTypeUnk1.Margin = new System.Windows.Forms.Padding(0); this.chkTypeUnk1.Name = "chkTypeUnk1"; this.chkTypeUnk1.Size = new System.Drawing.Size(86, 18); this.chkTypeUnk1.TabIndex = 4; this.chkTypeUnk1.Text = "Characters"; this.chkTypeUnk1.UseVisualStyleBackColor = true; this.chkTypeUnk1.CheckedChanged += new System.EventHandler(this.chkTypeUnk1_CheckedChanged); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.groupBox1.Controls.Add(this.chkLeftLedge); this.groupBox1.Controls.Add(this.chkNoWalljump); this.groupBox1.Controls.Add(this.chkRightLedge); this.groupBox1.Controls.Add(this.chkFallThrough); this.groupBox1.Location = new System.Drawing.Point(0, 28); this.groupBox1.Margin = new System.Windows.Forms.Padding(0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Padding = new System.Windows.Forms.Padding(0); this.groupBox1.Size = new System.Drawing.Size(104, 86); this.groupBox1.TabIndex = 13; this.groupBox1.TabStop = false; this.groupBox1.Text = "Flags"; // // chkLeftLedge // this.chkLeftLedge.Location = new System.Drawing.Point(8, 33); this.chkLeftLedge.Margin = new System.Windows.Forms.Padding(0); this.chkLeftLedge.Name = "chkLeftLedge"; this.chkLeftLedge.Size = new System.Drawing.Size(86, 18); this.chkLeftLedge.TabIndex = 4; this.chkLeftLedge.Text = "Left Ledge"; this.chkLeftLedge.UseVisualStyleBackColor = true; this.chkLeftLedge.CheckedChanged += new System.EventHandler(this.chkLeftLedge_CheckedChanged); // // chkNoWalljump // this.chkNoWalljump.Location = new System.Drawing.Point(8, 65); this.chkNoWalljump.Margin = new System.Windows.Forms.Padding(0); this.chkNoWalljump.Name = "chkNoWalljump"; this.chkNoWalljump.Size = new System.Drawing.Size(90, 18); this.chkNoWalljump.TabIndex = 2; this.chkNoWalljump.Text = "No Walljump"; this.chkNoWalljump.UseVisualStyleBackColor = true; this.chkNoWalljump.CheckedChanged += new System.EventHandler(this.chkNoWalljump_CheckedChanged); // // chkRightLedge // this.chkRightLedge.Location = new System.Drawing.Point(8, 49); this.chkRightLedge.Margin = new System.Windows.Forms.Padding(0); this.chkRightLedge.Name = "chkRightLedge"; this.chkRightLedge.Size = new System.Drawing.Size(86, 18); this.chkRightLedge.TabIndex = 1; this.chkRightLedge.Text = "Right Ledge"; this.chkRightLedge.UseVisualStyleBackColor = true; this.chkRightLedge.CheckedChanged += new System.EventHandler(this.chkRightLedge_CheckedChanged); // // chkFallThrough // this.chkFallThrough.Location = new System.Drawing.Point(8, 17); this.chkFallThrough.Margin = new System.Windows.Forms.Padding(0); this.chkFallThrough.Name = "chkFallThrough"; this.chkFallThrough.Size = new System.Drawing.Size(90, 18); this.chkFallThrough.TabIndex = 0; this.chkFallThrough.Text = "Fall-Through"; this.chkFallThrough.UseVisualStyleBackColor = true; this.chkFallThrough.CheckedChanged += new System.EventHandler(this.chkFallThrough_CheckedChanged); // // cboMaterial // this.cboMaterial.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cboMaterial.FormattingEnabled = true; this.cboMaterial.Location = new System.Drawing.Point(66, 4); this.cboMaterial.Name = "cboMaterial"; this.cboMaterial.Size = new System.Drawing.Size(139, 21); this.cboMaterial.TabIndex = 12; this.cboMaterial.SelectedIndexChanged += new System.EventHandler(this.cboMaterial_SelectedIndexChanged); // // label5 // this.label5.Location = new System.Drawing.Point(7, 4); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(53, 21); this.label5.TabIndex = 8; this.label5.Text = "Material:"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // panel4 // this.panel4.Controls.Add(this.btnPlayAnims); this.panel4.Controls.Add(this.btnPrevFrame); this.panel4.Controls.Add(this.btnNextFrame); this.panel4.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel4.Enabled = false; this.panel4.Location = new System.Drawing.Point(0, 197); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(209, 24); this.panel4.TabIndex = 17; this.panel4.Visible = false; // // btnPlayAnims // this.btnPlayAnims.Dock = System.Windows.Forms.DockStyle.Fill; this.btnPlayAnims.Location = new System.Drawing.Point(35, 0); this.btnPlayAnims.Name = "btnPlayAnims"; this.btnPlayAnims.Size = new System.Drawing.Size(139, 24); this.btnPlayAnims.TabIndex = 16; this.btnPlayAnims.Text = "Play Animations"; this.btnPlayAnims.UseVisualStyleBackColor = true; this.btnPlayAnims.Click += new System.EventHandler(this.btnPlayAnims_Click); // // btnPrevFrame // this.btnPrevFrame.Dock = System.Windows.Forms.DockStyle.Left; this.btnPrevFrame.Location = new System.Drawing.Point(0, 0); this.btnPrevFrame.Name = "btnPrevFrame"; this.btnPrevFrame.Size = new System.Drawing.Size(35, 24); this.btnPrevFrame.TabIndex = 18; this.btnPrevFrame.Text = "<"; this.btnPrevFrame.UseVisualStyleBackColor = true; this.btnPrevFrame.Click += new System.EventHandler(this.btnPrevFrame_Click); // // btnNextFrame // this.btnNextFrame.Dock = System.Windows.Forms.DockStyle.Right; this.btnNextFrame.Location = new System.Drawing.Point(174, 0); this.btnNextFrame.Name = "btnNextFrame"; this.btnNextFrame.Size = new System.Drawing.Size(35, 24); this.btnNextFrame.TabIndex = 17; this.btnNextFrame.Text = ">"; this.btnNextFrame.UseVisualStyleBackColor = true; this.btnNextFrame.Click += new System.EventHandler(this.btnNextFrame_Click); // // _modelPanel // this._modelPanel.DefaultTranslate = ((System.Vector3)(resources.GetObject("_modelPanel.DefaultTranslate"))); this._modelPanel.Dock = System.Windows.Forms.DockStyle.Fill; this._modelPanel.InitialYFactor = 100; this._modelPanel.InitialZoomFactor = 5; this._modelPanel.Location = new System.Drawing.Point(0, 25); this._modelPanel.Name = "_modelPanel"; this._modelPanel.RotationScale = 0.1F; this._modelPanel.Size = new System.Drawing.Size(481, 442); this._modelPanel.TabIndex = 0; this._modelPanel.TranslationScale = 0.05F; this._modelPanel.ZoomScale = 2.5F; this._modelPanel.PreRender += new System.Windows.Forms.GLRenderEventHandler(this._modelPanel_PreRender); this._modelPanel.PostRender += new System.Windows.Forms.GLRenderEventHandler(this._modelPanel_PostRender); this._modelPanel.KeyDown += new System.Windows.Forms.KeyEventHandler(this._modelPanel_KeyDown); this._modelPanel.MouseDown += new System.Windows.Forms.MouseEventHandler(this._modelPanel_MouseDown); this._modelPanel.MouseMove += new System.Windows.Forms.MouseEventHandler(this._modelPanel_MouseMove); this._modelPanel.MouseUp += new System.Windows.Forms.MouseEventHandler(this._modelPanel_MouseUp); // // panel1 // this.panel1.BackColor = System.Drawing.Color.WhiteSmoke; this.panel1.Controls.Add(this.toolStrip1); this.panel1.Controls.Add(this.btnResetRot); this.panel1.Controls.Add(this.trackBar1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(481, 25); this.panel1.TabIndex = 2; // // toolStrip1 // this.toolStrip1.BackColor = System.Drawing.Color.WhiteSmoke; this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Fill; this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.btnUndo, this.btnRedo, this.toolStripSeparator3, this.btnSplit, this.btnMerge, this.btnDelete, this.toolStripSeparator2, this.btnSameX, this.btnSameY, this.toolStripSeparator1, this.btnResetCam, this.btnResetSnap, this.btnHelp}); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(335, 25); this.toolStrip1.TabIndex = 1; this.toolStrip1.Text = "toolStrip1"; // // btnUndo // this.btnUndo.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.btnUndo.Enabled = false; this.btnUndo.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnUndo.Name = "btnUndo"; this.btnUndo.Size = new System.Drawing.Size(40, 22); this.btnUndo.Text = "Undo"; this.btnUndo.Click += new System.EventHandler(this.Undo); // // btnRedo // this.btnRedo.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.btnRedo.Enabled = false; this.btnRedo.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnRedo.Name = "btnRedo"; this.btnRedo.Size = new System.Drawing.Size(38, 22); this.btnRedo.Text = "Redo"; this.btnRedo.Click += new System.EventHandler(this.Redo); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25); // // btnSplit // this.btnSplit.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.btnSplit.Enabled = false; this.btnSplit.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnSplit.Name = "btnSplit"; this.btnSplit.Size = new System.Drawing.Size(34, 22); this.btnSplit.Text = "Split"; this.btnSplit.Click += new System.EventHandler(this.btnSplit_Click); // // btnMerge // this.btnMerge.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.btnMerge.Enabled = false; this.btnMerge.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnMerge.Name = "btnMerge"; this.btnMerge.Size = new System.Drawing.Size(45, 22); this.btnMerge.Text = "Merge"; this.btnMerge.Click += new System.EventHandler(this.btnMerge_Click); // // btnDelete // this.btnDelete.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.btnDelete.Enabled = false; this.btnDelete.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnDelete.Name = "btnDelete"; this.btnDelete.Size = new System.Drawing.Size(44, 22); this.btnDelete.Text = "Delete"; // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); // // btnSameX // this.btnSameX.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.btnSameX.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnSameX.Name = "btnSameX"; this.btnSameX.Size = new System.Drawing.Size(49, 22); this.btnSameX.Text = "Align X"; this.btnSameX.Click += new System.EventHandler(this.btnSameX_Click); // // btnSameY // this.btnSameY.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.btnSameY.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnSameY.Name = "btnSameY"; this.btnSameY.Size = new System.Drawing.Size(49, 22); this.btnSameY.Text = "Align Y"; this.btnSameY.Click += new System.EventHandler(this.btnSameY_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); // // btnResetCam // this.btnResetCam.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.btnResetCam.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnResetCam.Name = "btnResetCam"; this.btnResetCam.Size = new System.Drawing.Size(83, 19); this.btnResetCam.Text = "Reset Camera"; this.btnResetCam.Click += new System.EventHandler(this.btnResetCam_Click); // // btnResetSnap // this.btnResetSnap.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.btnResetSnap.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnResetSnap.Name = "btnResetSnap"; this.btnResetSnap.Size = new System.Drawing.Size(57, 19); this.btnResetSnap.Text = "Un-Snap"; this.btnResetSnap.Click += new System.EventHandler(this.btnResetSnap_Click); // // btnHelp // this.btnHelp.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.btnHelp.Image = ((System.Drawing.Image)(resources.GetObject("btnHelp.Image"))); this.btnHelp.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnHelp.Name = "btnHelp"; this.btnHelp.Size = new System.Drawing.Size(36, 19); this.btnHelp.Text = "Help"; this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click); // // btnResetRot // this.btnResetRot.Dock = System.Windows.Forms.DockStyle.Right; this.btnResetRot.Enabled = false; this.btnResetRot.FlatAppearance.BorderSize = 0; this.btnResetRot.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnResetRot.Location = new System.Drawing.Point(335, 0); this.btnResetRot.Name = "btnResetRot"; this.btnResetRot.Size = new System.Drawing.Size(16, 25); this.btnResetRot.TabIndex = 4; this.btnResetRot.Text = "*"; this.btnResetRot.UseVisualStyleBackColor = true; this.btnResetRot.Visible = false; this.btnResetRot.Click += new System.EventHandler(this.btnResetRot_Click); // // trackBar1 // this.trackBar1.Dock = System.Windows.Forms.DockStyle.Right; this.trackBar1.Enabled = false; this.trackBar1.Location = new System.Drawing.Point(351, 0); this.trackBar1.Maximum = 180; this.trackBar1.Minimum = -180; this.trackBar1.Name = "trackBar1"; this.trackBar1.Size = new System.Drawing.Size(130, 25); this.trackBar1.TabIndex = 3; this.trackBar1.TickStyle = System.Windows.Forms.TickStyle.None; this.trackBar1.Visible = false; this.trackBar1.Scroll += new System.EventHandler(this.trackBar1_Scroll); // // CollisionEditor // this.BackColor = System.Drawing.Color.Lavender; this.Controls.Add(this.undoToolStrip); this.Name = "CollisionEditor"; this.Size = new System.Drawing.Size(694, 467); this.undoToolStrip.Panel1.ResumeLayout(false); this.undoToolStrip.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.undoToolStrip)).EndInit(); this.undoToolStrip.ResumeLayout(false); this.redoToolStrip.Panel1.ResumeLayout(false); this.redoToolStrip.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.redoToolStrip)).EndInit(); this.redoToolStrip.ResumeLayout(false); this.contextMenuStrip2.ResumeLayout(false); this.panel2.ResumeLayout(false); this.contextMenuStrip1.ResumeLayout(false); this.panel3.ResumeLayout(false); this.pnlObjProps.ResumeLayout(false); this.pnlObjProps.PerformLayout(); this.pnlPointProps.ResumeLayout(false); this.pnlPointProps.PerformLayout(); this.pnlPlaneProps.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.panel4.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.listBox1 = new System.Windows.Forms.ListBox(); this.label1 = new System.Windows.Forms.Label(); this.listBox2 = new System.Windows.Forms.ListBox(); this.label2 = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); this.label3 = new System.Windows.Forms.Label(); this.trackBar1 = new System.Windows.Forms.TrackBar(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.button2 = new System.Windows.Forms.Button(); this.label7 = new System.Windows.Forms.Label(); this.button3 = new System.Windows.Forms.Button(); this.button4 = new System.Windows.Forms.Button(); this.splitter1 = new System.Windows.Forms.Splitter(); this.panel1 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); this.button5 = new System.Windows.Forms.Button(); this.textBox1 = new System.Windows.Forms.NumericInputBox(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // listBox1 // this.listBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.listBox1.FormattingEnabled = true; this.listBox1.IntegralHeight = false; this.listBox1.Location = new System.Drawing.Point(0, 0); this.listBox1.Name = "listBox1"; this.listBox1.Size = new System.Drawing.Size(256, 49); this.listBox1.TabIndex = 0; this.listBox1.SelectedValueChanged += new System.EventHandler(this.listBox1_SelectedValueChanged); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(4, 31); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(95, 13); this.label1.TabIndex = 1; this.label1.Text = "Target Vertex Sets"; // // listBox2 // this.listBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.listBox2.FormattingEnabled = true; this.listBox2.IntegralHeight = false; this.listBox2.Location = new System.Drawing.Point(3, 0); this.listBox2.Name = "listBox2"; this.listBox2.Size = new System.Drawing.Size(261, 49); this.listBox2.TabIndex = 2; this.listBox2.SelectedValueChanged += new System.EventHandler(this.listBox2_SelectedValueChanged); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(267, 31); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(117, 13); this.label2.TabIndex = 3; this.label2.Text = "Destination Vertex Sets"; // // button1 // this.button1.Location = new System.Drawing.Point(429, 27); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(37, 20); this.button1.TabIndex = 4; this.button1.Text = "Add"; this.button1.UseVisualStyleBackColor = true; this.button1.Visible = false; this.button1.Click += new System.EventHandler(this.button1_Click); // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(4, 8); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(98, 13); this.label3.TabIndex = 5; this.label3.Text = "Morph Percentage:"; // // trackBar1 // this.trackBar1.Location = new System.Drawing.Point(126, 4); this.trackBar1.Maximum = 1000; this.trackBar1.Name = "trackBar1"; this.trackBar1.Size = new System.Drawing.Size(204, 45); this.trackBar1.TabIndex = 6; this.trackBar1.TickStyle = System.Windows.Forms.TickStyle.None; this.trackBar1.Scroll += new System.EventHandler(this.trackBar1_Scroll); // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(108, 8); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(21, 13); this.label4.TabIndex = 7; this.label4.Text = "0%"; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(326, 8); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(33, 13); this.label5.TabIndex = 8; this.label5.Text = "100%"; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(365, 8); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(40, 13); this.label6.TabIndex = 10; this.label6.Text = "Value: "; // // button2 // this.button2.Location = new System.Drawing.Point(472, 27); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(56, 20); this.button2.TabIndex = 11; this.button2.Text = "Remove"; this.button2.UseVisualStyleBackColor = true; this.button2.Visible = false; this.button2.Click += new System.EventHandler(this.button2_Click); // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(446, 8); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(15, 13); this.label7.TabIndex = 12; this.label7.Text = "%"; // // button3 // this.button3.Location = new System.Drawing.Point(209, 27); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(56, 20); this.button3.TabIndex = 14; this.button3.Text = "Remove"; this.button3.UseVisualStyleBackColor = true; this.button3.Visible = false; // // button4 // this.button4.Location = new System.Drawing.Point(166, 27); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(37, 20); this.button4.TabIndex = 13; this.button4.Text = "Add"; this.button4.UseVisualStyleBackColor = true; this.button4.Visible = false; this.button4.Click += new System.EventHandler(this.button4_Click); // // splitter1 // this.splitter1.Location = new System.Drawing.Point(0, 0); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(3, 49); this.splitter1.TabIndex = 15; this.splitter1.TabStop = false; // // panel1 // this.panel1.Controls.Add(this.listBox2); this.panel1.Controls.Add(this.splitter1); this.panel1.Dock = System.Windows.Forms.DockStyle.Right; this.panel1.Location = new System.Drawing.Point(256, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(264, 49); this.panel1.TabIndex = 16; // // panel2 // this.panel2.Controls.Add(this.listBox1); this.panel2.Controls.Add(this.panel1); this.panel2.Location = new System.Drawing.Point(7, 49); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(520, 49); this.panel2.TabIndex = 17; // // button5 // this.button5.Location = new System.Drawing.Point(472, 5); this.button5.Name = "button5"; this.button5.Size = new System.Drawing.Size(55, 20); this.button5.TabIndex = 18; this.button5.Text = "Set"; this.button5.UseVisualStyleBackColor = true; this.button5.Click += new System.EventHandler(this.button5_Click); // // textBox1 // this.textBox1.Integral = false; this.textBox1.Location = new System.Drawing.Point(404, 5); this.textBox1.MaximumValue = 3.402823E+38F; this.textBox1.MaxLength = 999999; this.textBox1.MinimumValue = -3.402823E+38F; this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(41, 20); this.textBox1.TabIndex = 9; this.textBox1.Text = "0"; this.textBox1.ValueChanged += new System.EventHandler(this.PercentChanged); // // SHP0Editor // this.Controls.Add(this.button5); this.Controls.Add(this.panel2); this.Controls.Add(this.button3); this.Controls.Add(this.button4); this.Controls.Add(this.label7); this.Controls.Add(this.button2); this.Controls.Add(this.textBox1); this.Controls.Add(this.label5); this.Controls.Add(this.label4); this.Controls.Add(this.label3); this.Controls.Add(this.button1); this.Controls.Add(this.label2); this.Controls.Add(this.trackBar1); this.Controls.Add(this.label6); this.Controls.Add(this.label1); this.Name = "SHP0Editor"; this.Size = new System.Drawing.Size(533, 106); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit(); this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.label1 = new System.Windows.Forms.Label(); this.numScale = new System.Windows.Forms.NumericInputBox(); this.label7 = new System.Windows.Forms.Label(); this.numFrame = new System.Windows.Forms.NumericUpDown(); this.lblFrameCount = new System.Windows.Forms.Label(); this.btnPrev = new System.Windows.Forms.Button(); this.btnNext = new System.Windows.Forms.Button(); this.listKeyframes = new System.Windows.Forms.ListBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.panel1 = new System.Windows.Forms.Panel(); this.label2 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.numFrame)).BeginInit(); this.groupBox1.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // label1 // this.label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label1.Location = new System.Drawing.Point(10, 32); this.label1.Margin = new System.Windows.Forms.Padding(0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(67, 20); this.label1.TabIndex = 0; this.label1.Text = "Percentage:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numScale // this.numScale.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numScale.Integral = false; this.numScale.Location = new System.Drawing.Point(76, 32); this.numScale.Margin = new System.Windows.Forms.Padding(0); this.numScale.MaximumValue = 3.402823E+38F; this.numScale.MinimumValue = -3.402823E+38F; this.numScale.Name = "numScale"; this.numScale.Size = new System.Drawing.Size(37, 20); this.numScale.TabIndex = 3; this.numScale.Text = "0"; this.numScale.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.numScale.ValueChanged += new System.EventHandler(this.BoxChanged); // // label7 // this.label7.Location = new System.Drawing.Point(7, 3); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(42, 20); this.label7.TabIndex = 15; this.label7.Text = "Frame:"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numFrame // this.numFrame.Location = new System.Drawing.Point(55, 3); this.numFrame.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); this.numFrame.Name = "numFrame"; this.numFrame.Size = new System.Drawing.Size(58, 20); this.numFrame.TabIndex = 0; this.numFrame.Value = new decimal(new int[] { 1, 0, 0, 0 }); this.numFrame.ValueChanged += new System.EventHandler(this.numFrame_ValueChanged); // // lblFrameCount // this.lblFrameCount.Location = new System.Drawing.Point(119, 3); this.lblFrameCount.Name = "lblFrameCount"; this.lblFrameCount.Size = new System.Drawing.Size(49, 20); this.lblFrameCount.TabIndex = 17; this.lblFrameCount.Text = "/ 10"; this.lblFrameCount.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // btnPrev // this.btnPrev.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnPrev.Location = new System.Drawing.Point(166, 2); this.btnPrev.Name = "btnPrev"; this.btnPrev.Size = new System.Drawing.Size(23, 23); this.btnPrev.TabIndex = 1; this.btnPrev.Text = "<"; this.btnPrev.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.btnPrev.UseVisualStyleBackColor = true; this.btnPrev.Click += new System.EventHandler(this.btnPrev_Click); // // btnNext // this.btnNext.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnNext.Location = new System.Drawing.Point(191, 2); this.btnNext.Name = "btnNext"; this.btnNext.Size = new System.Drawing.Size(23, 23); this.btnNext.TabIndex = 2; this.btnNext.Text = ">"; this.btnNext.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.btnNext.UseVisualStyleBackColor = true; this.btnNext.Click += new System.EventHandler(this.btnNext_Click); // // listKeyframes // this.listKeyframes.Dock = System.Windows.Forms.DockStyle.Fill; this.listKeyframes.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.listKeyframes.FormattingEnabled = true; this.listKeyframes.IntegralHeight = false; this.listKeyframes.ItemHeight = 14; this.listKeyframes.Location = new System.Drawing.Point(3, 16); this.listKeyframes.Name = "listKeyframes"; this.listKeyframes.Size = new System.Drawing.Size(224, 119); this.listKeyframes.TabIndex = 18; this.listKeyframes.SelectedIndexChanged += new System.EventHandler(this.listKeyframes_SelectedIndexChanged); // // groupBox1 // this.groupBox1.Controls.Add(this.listKeyframes); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(230, 138); this.groupBox1.TabIndex = 21; this.groupBox1.TabStop = false; this.groupBox1.Text = "Keyframes"; // // panel1 // this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.label7); this.panel1.Controls.Add(this.btnNext); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.btnPrev); this.panel1.Controls.Add(this.numScale); this.panel1.Controls.Add(this.lblFrameCount); this.panel1.Controls.Add(this.numFrame); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 138); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(230, 64); this.panel1.TabIndex = 23; // // label2 // this.label2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label2.Location = new System.Drawing.Point(112, 32); this.label2.Margin = new System.Windows.Forms.Padding(0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(19, 20); this.label2.TabIndex = 18; this.label2.Text = "%"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // ShpAnimEditControl // this.Controls.Add(this.groupBox1); this.Controls.Add(this.panel1); this.Name = "ShpAnimEditControl"; this.Size = new System.Drawing.Size(230, 202); ((System.ComponentModel.ISupportInitialize)(this.numFrame)).EndInit(); this.groupBox1.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); }
private void InitializeComponent() { this.label3 = new System.Windows.Forms.Label(); this.numPosZ = new System.Windows.Forms.NumericInputBox(); this.label2 = new System.Windows.Forms.Label(); this.numPosY = new System.Windows.Forms.NumericInputBox(); this.label1 = new System.Windows.Forms.Label(); this.numPosX = new System.Windows.Forms.NumericInputBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.numNormZ = new System.Windows.Forms.NumericInputBox(); this.label4 = new System.Windows.Forms.Label(); this.numNormX = new System.Windows.Forms.NumericInputBox(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.numNormY = new System.Windows.Forms.NumericInputBox(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.colorBox = new System.Windows.Forms.Label(); this.colorIndex = new System.Windows.Forms.ComboBox(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox4.SuspendLayout(); this.SuspendLayout(); // // label3 // this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label3.Location = new System.Drawing.Point(6, 54); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(22, 20); this.label3.TabIndex = 7; this.label3.Text = "Z: "; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // numPosZ // this.numPosZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numPosZ.Location = new System.Drawing.Point(27, 54); this.numPosZ.Name = "numPosZ"; this.numPosZ.Size = new System.Drawing.Size(78, 20); this.numPosZ.TabIndex = 6; this.numPosZ.Text = "0"; this.numPosZ.ValueChanged += new System.EventHandler(this.numPosZ_TextChanged); // // label2 // this.label2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label2.Location = new System.Drawing.Point(6, 35); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(22, 20); this.label2.TabIndex = 5; this.label2.Text = "Y: "; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // numPosY // this.numPosY.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numPosY.Location = new System.Drawing.Point(27, 35); this.numPosY.Name = "numPosY"; this.numPosY.Size = new System.Drawing.Size(78, 20); this.numPosY.TabIndex = 4; this.numPosY.Text = "0"; this.numPosY.ValueChanged += new System.EventHandler(this.numPosY_TextChanged); // // label1 // this.label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label1.Location = new System.Drawing.Point(6, 16); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(22, 20); this.label1.TabIndex = 3; this.label1.Text = "X: "; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // numPosX // this.numPosX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numPosX.Location = new System.Drawing.Point(27, 16); this.numPosX.Name = "numPosX"; this.numPosX.Size = new System.Drawing.Size(78, 20); this.numPosX.TabIndex = 0; this.numPosX.Text = "0"; this.numPosX.ValueChanged += new System.EventHandler(this.numPosX_TextChanged); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.groupBox1.Controls.Add(this.numPosZ); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.numPosX); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.numPosY); this.groupBox1.Location = new System.Drawing.Point(3, 3); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(111, 82); this.groupBox1.TabIndex = 8; this.groupBox1.TabStop = false; this.groupBox1.Text = "Position"; // // groupBox2 // this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.groupBox2.Controls.Add(this.numNormZ); this.groupBox2.Controls.Add(this.label4); this.groupBox2.Controls.Add(this.numNormX); this.groupBox2.Controls.Add(this.label5); this.groupBox2.Controls.Add(this.label6); this.groupBox2.Controls.Add(this.numNormY); this.groupBox2.Location = new System.Drawing.Point(120, 3); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(111, 82); this.groupBox2.TabIndex = 9; this.groupBox2.TabStop = false; this.groupBox2.Text = "Normal"; this.groupBox2.Visible = false; // // numNormZ // this.numNormZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numNormZ.Location = new System.Drawing.Point(27, 54); this.numNormZ.Name = "numNormZ"; this.numNormZ.Size = new System.Drawing.Size(78, 20); this.numNormZ.TabIndex = 6; this.numNormZ.Text = "0"; this.numNormZ.ValueChanged += new System.EventHandler(this.numNormZ_ValueChanged); // // label4 // this.label4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label4.Location = new System.Drawing.Point(6, 54); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(22, 20); this.label4.TabIndex = 7; this.label4.Text = "Z: "; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // numNormX // this.numNormX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numNormX.Location = new System.Drawing.Point(27, 16); this.numNormX.Name = "numNormX"; this.numNormX.Size = new System.Drawing.Size(78, 20); this.numNormX.TabIndex = 0; this.numNormX.Text = "0"; this.numNormX.ValueChanged += new System.EventHandler(this.numNormX_ValueChanged); // // label5 // this.label5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label5.Location = new System.Drawing.Point(6, 16); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(22, 20); this.label5.TabIndex = 3; this.label5.Text = "X: "; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label6 // this.label6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label6.Location = new System.Drawing.Point(6, 35); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(22, 20); this.label6.TabIndex = 5; this.label6.Text = "Y: "; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // numNormY // this.numNormY.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numNormY.Location = new System.Drawing.Point(27, 35); this.numNormY.Name = "numNormY"; this.numNormY.Size = new System.Drawing.Size(78, 20); this.numNormY.TabIndex = 4; this.numNormY.Text = "0"; this.numNormY.ValueChanged += new System.EventHandler(this.numNormY_ValueChanged); // // groupBox4 // this.groupBox4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.groupBox4.Controls.Add(this.colorBox); this.groupBox4.Controls.Add(this.colorIndex); this.groupBox4.Location = new System.Drawing.Point(237, 3); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(111, 82); this.groupBox4.TabIndex = 11; this.groupBox4.TabStop = false; this.groupBox4.Text = "Color"; this.groupBox4.Visible = false; // // colorBox // this.colorBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.colorBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.colorBox.Cursor = System.Windows.Forms.Cursors.Hand; this.colorBox.Location = new System.Drawing.Point(6, 36); this.colorBox.Name = "colorBox"; this.colorBox.Size = new System.Drawing.Size(99, 38); this.colorBox.TabIndex = 12; this.colorBox.DoubleClick += new System.EventHandler(this.colorBox_Click); // // colorIndex // this.colorIndex.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.colorIndex.FormattingEnabled = true; this.colorIndex.Items.AddRange(new object[] { "Color 0", "Color 1"}); this.colorIndex.Location = new System.Drawing.Point(6, 14); this.colorIndex.Name = "colorIndex"; this.colorIndex.Size = new System.Drawing.Size(99, 21); this.colorIndex.TabIndex = 7; this.colorIndex.SelectedIndexChanged += new System.EventHandler(this.colorIndex_SelectedIndexChanged); // // VertexEditor // this.Controls.Add(this.groupBox4); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Name = "VertexEditor"; this.Size = new System.Drawing.Size(118, 85); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.groupBox4.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.grpHurtBox = new System.Windows.Forms.GroupBox(); this.numRegion = new System.Windows.Forms.NumericInputBox(); this.BoxRegion = new System.Windows.Forms.Label(); this.BoxEnabled = new System.Windows.Forms.CheckBox(); this.SelectedZone = new System.Windows.Forms.ComboBox(); this.SelectedBone = new System.Windows.Forms.ComboBox(); this.OffsetX = new System.Windows.Forms.Label(); this.numOffX = new System.Windows.Forms.NumericInputBox(); this.OffsetY = new System.Windows.Forms.Label(); this.numRadius = new System.Windows.Forms.NumericInputBox(); this.OffsetZ = new System.Windows.Forms.Label(); this.numStrZ = new System.Windows.Forms.NumericInputBox(); this.StretchX = new System.Windows.Forms.Label(); this.numStrY = new System.Windows.Forms.NumericInputBox(); this.StretchY = new System.Windows.Forms.Label(); this.numStrX = new System.Windows.Forms.NumericInputBox(); this.StretchZ = new System.Windows.Forms.Label(); this.numOffZ = new System.Windows.Forms.NumericInputBox(); this.BoxRadius = new System.Windows.Forms.Label(); this.numOffY = new System.Windows.Forms.NumericInputBox(); this.BoxZone = new System.Windows.Forms.Label(); this.BoxBone = new System.Windows.Forms.Label(); this.sourceToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); this.exportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.replaceToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.portToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.Source = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.add = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem7 = new System.Windows.Forms.ToolStripMenuItem(); this.subtract = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem5 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem8 = new System.Windows.Forms.ToolStripMenuItem(); this.removeAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.addCustomAmountToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.dlgOpen = new System.Windows.Forms.OpenFileDialog(); this.dlgSave = new System.Windows.Forms.SaveFileDialog(); this.ControlPanel = new System.Windows.Forms.Panel(); this.eventModifier1 = new System.Windows.Forms.EventModifier(); this.grpHurtBox.SuspendLayout(); this.ControlPanel.SuspendLayout(); this.SuspendLayout(); // // grpHurtBox // this.grpHurtBox.Controls.Add(this.numRegion); this.grpHurtBox.Controls.Add(this.BoxRegion); this.grpHurtBox.Controls.Add(this.BoxEnabled); this.grpHurtBox.Controls.Add(this.SelectedZone); this.grpHurtBox.Controls.Add(this.SelectedBone); this.grpHurtBox.Controls.Add(this.OffsetX); this.grpHurtBox.Controls.Add(this.numOffX); this.grpHurtBox.Controls.Add(this.OffsetY); this.grpHurtBox.Controls.Add(this.numRadius); this.grpHurtBox.Controls.Add(this.OffsetZ); this.grpHurtBox.Controls.Add(this.numStrZ); this.grpHurtBox.Controls.Add(this.StretchX); this.grpHurtBox.Controls.Add(this.numStrY); this.grpHurtBox.Controls.Add(this.StretchY); this.grpHurtBox.Controls.Add(this.numStrX); this.grpHurtBox.Controls.Add(this.StretchZ); this.grpHurtBox.Controls.Add(this.numOffZ); this.grpHurtBox.Controls.Add(this.BoxRadius); this.grpHurtBox.Controls.Add(this.numOffY); this.grpHurtBox.Controls.Add(this.BoxZone); this.grpHurtBox.Controls.Add(this.BoxBone); this.grpHurtBox.Dock = System.Windows.Forms.DockStyle.Fill; this.grpHurtBox.Location = new System.Drawing.Point(0, 0); this.grpHurtBox.Name = "grpHurtBox"; this.grpHurtBox.Size = new System.Drawing.Size(229, 264); this.grpHurtBox.TabIndex = 22; this.grpHurtBox.TabStop = false; this.grpHurtBox.Text = "Edit Hurtbox"; this.grpHurtBox.Visible = false; // // numRegion // this.numRegion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numRegion.Integral = false; this.numRegion.Location = new System.Drawing.Point(69, 171); this.numRegion.MaximumValue = 3.402823E+38F; this.numRegion.MinimumValue = -3.402823E+38F; this.numRegion.Name = "numRegion"; this.numRegion.Size = new System.Drawing.Size(155, 20); this.numRegion.TabIndex = 25; this.numRegion.Text = "0"; this.numRegion.TextChanged += new System.EventHandler(this.numRegion_TextChanged); // // BoxRegion // this.BoxRegion.Location = new System.Drawing.Point(-10, 170); this.BoxRegion.Name = "BoxRegion"; this.BoxRegion.Size = new System.Drawing.Size(74, 20); this.BoxRegion.TabIndex = 24; this.BoxRegion.Text = "Region:"; this.BoxRegion.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // BoxEnabled // this.BoxEnabled.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.BoxEnabled.AutoSize = true; this.BoxEnabled.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; this.BoxEnabled.Location = new System.Drawing.Point(158, 13); this.BoxEnabled.Name = "BoxEnabled"; this.BoxEnabled.Size = new System.Drawing.Size(65, 17); this.BoxEnabled.TabIndex = 23; this.BoxEnabled.Text = "Enabled"; this.BoxEnabled.UseVisualStyleBackColor = true; this.BoxEnabled.CheckedChanged += new System.EventHandler(this.BoxEnabled_CheckedChanged); // // SelectedZone // this.SelectedZone.FormattingEnabled = true; this.SelectedZone.Location = new System.Drawing.Point(70, 232); this.SelectedZone.Name = "SelectedZone"; this.SelectedZone.Size = new System.Drawing.Size(126, 21); this.SelectedZone.TabIndex = 22; this.SelectedZone.Tag = ""; this.SelectedZone.SelectedIndexChanged += new System.EventHandler(this.SelectedZone_SelectedIndexChanged); // // SelectedBone // this.SelectedBone.FormattingEnabled = true; this.SelectedBone.Location = new System.Drawing.Point(70, 211); this.SelectedBone.Name = "SelectedBone"; this.SelectedBone.Size = new System.Drawing.Size(126, 21); this.SelectedBone.TabIndex = 21; this.SelectedBone.Tag = ""; this.SelectedBone.SelectedIndexChanged += new System.EventHandler(this.SelectedBone_SelectedIndexChanged); // // OffsetX // this.OffsetX.Location = new System.Drawing.Point(-10, 34); this.OffsetX.Name = "OffsetX"; this.OffsetX.Size = new System.Drawing.Size(74, 20); this.OffsetX.TabIndex = 4; this.OffsetX.Text = "Offset X:"; this.OffsetX.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numOffX // this.numOffX.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numOffX.Integral = false; this.numOffX.Location = new System.Drawing.Point(69, 35); this.numOffX.MaximumValue = 3.402823E+38F; this.numOffX.MinimumValue = -3.402823E+38F; this.numOffX.Name = "numOffX"; this.numOffX.Size = new System.Drawing.Size(155, 20); this.numOffX.TabIndex = 3; this.numOffX.Text = "0"; this.numOffX.ValueChanged += new System.EventHandler(this.BoxChanged); this.numOffX.TextChanged += new System.EventHandler(this.numOffX_TextChanged); // // OffsetY // this.OffsetY.Location = new System.Drawing.Point(-10, 54); this.OffsetY.Name = "OffsetY"; this.OffsetY.Size = new System.Drawing.Size(74, 20); this.OffsetY.TabIndex = 5; this.OffsetY.Text = "Offset Y:"; this.OffsetY.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numRadius // this.numRadius.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numRadius.Integral = false; this.numRadius.Location = new System.Drawing.Point(70, 191); this.numRadius.MaximumValue = 3.402823E+38F; this.numRadius.MinimumValue = -3.402823E+38F; this.numRadius.Name = "numRadius"; this.numRadius.Size = new System.Drawing.Size(154, 20); this.numRadius.TabIndex = 18; this.numRadius.Text = "0"; this.numRadius.ValueChanged += new System.EventHandler(this.BoxChanged); this.numRadius.TextChanged += new System.EventHandler(this.numRadius_TextChanged); // // OffsetZ // this.OffsetZ.Location = new System.Drawing.Point(-11, 74); this.OffsetZ.Name = "OffsetZ"; this.OffsetZ.Size = new System.Drawing.Size(74, 20); this.OffsetZ.TabIndex = 6; this.OffsetZ.Text = "Offset Z:"; this.OffsetZ.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numStrZ // this.numStrZ.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numStrZ.Integral = false; this.numStrZ.Location = new System.Drawing.Point(69, 143); this.numStrZ.MaximumValue = 3.402823E+38F; this.numStrZ.MinimumValue = -3.402823E+38F; this.numStrZ.Name = "numStrZ"; this.numStrZ.Size = new System.Drawing.Size(155, 20); this.numStrZ.TabIndex = 17; this.numStrZ.Text = "0"; this.numStrZ.ValueChanged += new System.EventHandler(this.BoxChanged); this.numStrZ.TextChanged += new System.EventHandler(this.numStrZ_TextChanged); // // StretchX // this.StretchX.Location = new System.Drawing.Point(-10, 102); this.StretchX.Name = "StretchX"; this.StretchX.Size = new System.Drawing.Size(74, 20); this.StretchX.TabIndex = 7; this.StretchX.Text = "Stretch X:"; this.StretchX.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numStrY // this.numStrY.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numStrY.Integral = false; this.numStrY.Location = new System.Drawing.Point(69, 123); this.numStrY.MaximumValue = 3.402823E+38F; this.numStrY.MinimumValue = -3.402823E+38F; this.numStrY.Name = "numStrY"; this.numStrY.Size = new System.Drawing.Size(155, 20); this.numStrY.TabIndex = 16; this.numStrY.Text = "0"; this.numStrY.ValueChanged += new System.EventHandler(this.BoxChanged); this.numStrY.TextChanged += new System.EventHandler(this.numStrY_TextChanged); // // StretchY // this.StretchY.Location = new System.Drawing.Point(-10, 122); this.StretchY.Name = "StretchY"; this.StretchY.Size = new System.Drawing.Size(74, 20); this.StretchY.TabIndex = 8; this.StretchY.Text = "Stretch Y:"; this.StretchY.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numStrX // this.numStrX.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numStrX.Integral = false; this.numStrX.Location = new System.Drawing.Point(69, 103); this.numStrX.MaximumValue = 3.402823E+38F; this.numStrX.MinimumValue = -3.402823E+38F; this.numStrX.Name = "numStrX"; this.numStrX.Size = new System.Drawing.Size(155, 20); this.numStrX.TabIndex = 15; this.numStrX.Text = "0"; this.numStrX.ValueChanged += new System.EventHandler(this.BoxChanged); this.numStrX.TextChanged += new System.EventHandler(this.numStrX_TextChanged); // // StretchZ // this.StretchZ.Location = new System.Drawing.Point(-10, 142); this.StretchZ.Name = "StretchZ"; this.StretchZ.Size = new System.Drawing.Size(74, 20); this.StretchZ.TabIndex = 9; this.StretchZ.Text = "Stretch Z:"; this.StretchZ.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numOffZ // this.numOffZ.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numOffZ.Integral = false; this.numOffZ.Location = new System.Drawing.Point(69, 75); this.numOffZ.MaximumValue = 3.402823E+38F; this.numOffZ.MinimumValue = -3.402823E+38F; this.numOffZ.Name = "numOffZ"; this.numOffZ.Size = new System.Drawing.Size(155, 20); this.numOffZ.TabIndex = 14; this.numOffZ.Text = "0"; this.numOffZ.ValueChanged += new System.EventHandler(this.BoxChanged); this.numOffZ.TextChanged += new System.EventHandler(this.numOffZ_TextChanged); // // BoxRadius // this.BoxRadius.Location = new System.Drawing.Point(-10, 190); this.BoxRadius.Name = "BoxRadius"; this.BoxRadius.Size = new System.Drawing.Size(74, 20); this.BoxRadius.TabIndex = 10; this.BoxRadius.Text = "Radius:"; this.BoxRadius.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numOffY // this.numOffY.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numOffY.Integral = false; this.numOffY.Location = new System.Drawing.Point(69, 55); this.numOffY.MaximumValue = 3.402823E+38F; this.numOffY.MinimumValue = -3.402823E+38F; this.numOffY.Name = "numOffY"; this.numOffY.Size = new System.Drawing.Size(155, 20); this.numOffY.TabIndex = 13; this.numOffY.Text = "0"; this.numOffY.ValueChanged += new System.EventHandler(this.BoxChanged); this.numOffY.TextChanged += new System.EventHandler(this.numOffY_TextChanged); // // BoxZone // this.BoxZone.Location = new System.Drawing.Point(-10, 231); this.BoxZone.Name = "BoxZone"; this.BoxZone.Size = new System.Drawing.Size(74, 20); this.BoxZone.TabIndex = 11; this.BoxZone.Text = "Zone:"; this.BoxZone.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // BoxBone // this.BoxBone.Location = new System.Drawing.Point(-10, 210); this.BoxBone.Name = "BoxBone"; this.BoxBone.Size = new System.Drawing.Size(74, 20); this.BoxBone.TabIndex = 12; this.BoxBone.Text = "Bone:"; this.BoxBone.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // sourceToolStripMenuItem // this.sourceToolStripMenuItem.Name = "sourceToolStripMenuItem"; this.sourceToolStripMenuItem.Size = new System.Drawing.Size(32, 19); // // toolStripMenuItem1 // this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new System.Drawing.Size(6, 6); // // exportToolStripMenuItem // this.exportToolStripMenuItem.Name = "exportToolStripMenuItem"; this.exportToolStripMenuItem.Size = new System.Drawing.Size(32, 19); // // replaceToolStripMenuItem // this.replaceToolStripMenuItem.Name = "replaceToolStripMenuItem"; this.replaceToolStripMenuItem.Size = new System.Drawing.Size(32, 19); // // portToolStripMenuItem // this.portToolStripMenuItem.Name = "portToolStripMenuItem"; this.portToolStripMenuItem.Size = new System.Drawing.Size(32, 19); // // Source // this.Source.Name = "Source"; this.Source.Size = new System.Drawing.Size(32, 19); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 6); // // add // this.add.Name = "add"; this.add.Size = new System.Drawing.Size(32, 19); // // toolStripMenuItem3 // this.toolStripMenuItem3.Name = "toolStripMenuItem3"; this.toolStripMenuItem3.Size = new System.Drawing.Size(32, 19); // // toolStripMenuItem4 // this.toolStripMenuItem4.Name = "toolStripMenuItem4"; this.toolStripMenuItem4.Size = new System.Drawing.Size(32, 19); // // toolStripMenuItem7 // this.toolStripMenuItem7.Name = "toolStripMenuItem7"; this.toolStripMenuItem7.Size = new System.Drawing.Size(32, 19); // // subtract // this.subtract.Name = "subtract"; this.subtract.Size = new System.Drawing.Size(32, 19); // // toolStripMenuItem5 // this.toolStripMenuItem5.Name = "toolStripMenuItem5"; this.toolStripMenuItem5.Size = new System.Drawing.Size(32, 19); // // toolStripMenuItem6 // this.toolStripMenuItem6.Name = "toolStripMenuItem6"; this.toolStripMenuItem6.Size = new System.Drawing.Size(32, 19); // // toolStripMenuItem8 // this.toolStripMenuItem8.Name = "toolStripMenuItem8"; this.toolStripMenuItem8.Size = new System.Drawing.Size(32, 19); // // removeAllToolStripMenuItem // this.removeAllToolStripMenuItem.Name = "removeAllToolStripMenuItem"; this.removeAllToolStripMenuItem.Size = new System.Drawing.Size(32, 19); // // addCustomAmountToolStripMenuItem // this.addCustomAmountToolStripMenuItem.Name = "addCustomAmountToolStripMenuItem"; this.addCustomAmountToolStripMenuItem.Size = new System.Drawing.Size(32, 19); // // ControlPanel // this.ControlPanel.Controls.Add(this.grpHurtBox); this.ControlPanel.Controls.Add(this.eventModifier1); this.ControlPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.ControlPanel.Location = new System.Drawing.Point(0, 0); this.ControlPanel.Name = "ControlPanel"; this.ControlPanel.Size = new System.Drawing.Size(229, 264); this.ControlPanel.TabIndex = 26; this.ControlPanel.Visible = false; // // eventModifier1 // this.eventModifier1.AutoSize = true; this.eventModifier1.Dock = System.Windows.Forms.DockStyle.Fill; this.eventModifier1.Location = new System.Drawing.Point(0, 0); this.eventModifier1.Name = "eventModifier1"; this.eventModifier1.Size = new System.Drawing.Size(229, 264); this.eventModifier1.TabIndex = 37; this.eventModifier1.Visible = false; // // MiscPanel // this.Controls.Add(this.ControlPanel); this.Name = "MiscPanel"; this.Size = new System.Drawing.Size(229, 264); this.grpHurtBox.ResumeLayout(false); this.grpHurtBox.PerformLayout(); this.ControlPanel.ResumeLayout(false); this.ControlPanel.PerformLayout(); this.ResumeLayout(false); }
internal unsafe void BoxChanged(object sender, EventArgs e) { if (_transformObject == null) { return; } NumericInputBox box = sender as NumericInputBox; int index = (int)box.Tag; if (_transformObject is MDL0BoneNode) { MDL0BoneNode bone = _transformObject as MDL0BoneNode; if ((_selectedAnim != null) && (_animFrame > 0)) { //Find bone anim and change transform CHR0EntryNode entry = _selectedAnim.FindChild(bone.Name, false) as CHR0EntryNode; if (entry == null) //Create new bone animation { if (!float.IsNaN(box.Value)) { entry = _selectedAnim.CreateEntry(); entry._name = bone.Name; //Set initial values FrameState state = bone._bindState; float * p = (float *)&state; for (int i = 0; i < 3; i++) { if (p[i] != 1.0f) { entry.SetKeyframe(KeyFrameMode.ScaleX + i, 0, p[i]); } } for (int i = 3; i < 9; i++) { if (p[i] != 0.0f) { entry.SetKeyframe(KeyFrameMode.ScaleX + i, 0, p[i]); } } entry.SetKeyframe(KeyFrameMode.ScaleX + index, _animFrame - 1, box.Value); } } else //Set existing { if (float.IsNaN(box.Value)) { entry.RemoveKeyframe(KeyFrameMode.ScaleX + index, _animFrame - 1); } else { entry.SetKeyframe(KeyFrameMode.ScaleX + index, _animFrame - 1, box.Value); } } } else { //Change base transform FrameState state = bone._bindState; float * p = (float *)&state; p[index] = float.IsNaN(box.Value) ? (index > 2 ? 0.0f : 1.0f) : box.Value; state.CalcTransforms(); bone._bindState = state; bone.RecalcBindState(); bone.SignalPropertyChange(); } _targetModel.ApplyCHR(_selectedAnim, _animFrame); ResetBox(index); if (RenderStateChanged != null) { RenderStateChanged(this, null); } } }
private void InitializeComponent() { components = new Container(); FrameScale = new CheckBox(); toolStripMenuItem7 = new ToolStripMenuItem(); btnPaste = new Button(); toolStripMenuItem4 = new ToolStripMenuItem(); FrameRot = new CheckBox(); btnCopy = new Button(); toolStripMenuItem3 = new ToolStripMenuItem(); btnCut = new Button(); subtract = new ToolStripMenuItem(); toolStripMenuItem5 = new ToolStripMenuItem(); toolStripMenuItem6 = new ToolStripMenuItem(); toolStripMenuItem8 = new ToolStripMenuItem(); FrameTrans = new CheckBox(); numScaleY = new NumericInputBox(); add = new ToolStripMenuItem(); numRot = new NumericInputBox(); toolStripSeparator1 = new ToolStripSeparator(); Source = new ToolStripMenuItem(); numTransX = new NumericInputBox(); numTransY = new NumericInputBox(); lblTransX = new Label(); removeAllToolStripMenuItem = new ToolStripMenuItem(); lblRot = new Label(); ctxBox = new ContextMenuStrip(components); addCustomAmountToolStripMenuItem = new ToolStripMenuItem(); btnDelete = new Button(); grpTransform = new GroupBox(); lblScaleX = new Label(); numScaleX = new NumericInputBox(); AllScale = new CheckBox(); grpTransAll = new GroupBox(); AllRot = new CheckBox(); AllTrans = new CheckBox(); btnClean = new Button(); btnPasteAll = new Button(); btnCopyAll = new Button(); btnClear = new Button(); btnInsert = new Button(); ctxBox.SuspendLayout(); grpTransform.SuspendLayout(); grpTransAll.SuspendLayout(); SuspendLayout(); // // FrameScale // FrameScale.AutoSize = true; FrameScale.Checked = true; FrameScale.CheckState = CheckState.Checked; FrameScale.Location = new Drawing.Point(249, 58); FrameScale.Name = "FrameScale"; FrameScale.Size = new Drawing.Size(53, 17); FrameScale.TabIndex = 35; FrameScale.Text = "Scale"; FrameScale.UseVisualStyleBackColor = true; // // toolStripMenuItem7 // toolStripMenuItem7.Name = "toolStripMenuItem7"; toolStripMenuItem7.Size = new Drawing.Size(100, 22); toolStripMenuItem7.Text = "+45"; // // btnPaste // btnPaste.Location = new Drawing.Point(101, 55); btnPaste.Name = "btnPaste"; btnPaste.Size = new Drawing.Size(50, 20); btnPaste.TabIndex = 23; btnPaste.Text = "Paste"; btnPaste.UseVisualStyleBackColor = true; btnPaste.Click += new EventHandler(btnPaste_Click); // // toolStripMenuItem4 // toolStripMenuItem4.Name = "toolStripMenuItem4"; toolStripMenuItem4.Size = new Drawing.Size(100, 22); toolStripMenuItem4.Text = "+90"; // // FrameRot // FrameRot.AutoSize = true; FrameRot.Checked = true; FrameRot.CheckState = CheckState.Checked; FrameRot.Location = new Drawing.Point(208, 58); FrameRot.Name = "FrameRot"; FrameRot.Size = new Drawing.Size(43, 17); FrameRot.TabIndex = 34; FrameRot.Text = "Rot"; FrameRot.UseVisualStyleBackColor = true; // // btnCopy // btnCopy.Location = new Drawing.Point(52, 55); btnCopy.Name = "btnCopy"; btnCopy.Size = new Drawing.Size(50, 20); btnCopy.TabIndex = 22; btnCopy.Text = "Copy"; btnCopy.UseVisualStyleBackColor = true; btnCopy.Click += new EventHandler(btnCopy_Click); // // toolStripMenuItem3 // toolStripMenuItem3.Name = "toolStripMenuItem3"; toolStripMenuItem3.Size = new Drawing.Size(100, 22); toolStripMenuItem3.Text = "+180"; // // btnCut // btnCut.Location = new Drawing.Point(3, 55); btnCut.Name = "btnCut"; btnCut.Size = new Drawing.Size(50, 20); btnCut.TabIndex = 21; btnCut.Text = "Cut"; btnCut.UseVisualStyleBackColor = true; btnCut.Click += new EventHandler(btnCut_Click); // // subtract // subtract.DropDownItems.AddRange(new ToolStripItem[] { toolStripMenuItem5, toolStripMenuItem6, toolStripMenuItem8 }); subtract.Name = "subtract"; subtract.Size = new Drawing.Size(166, 22); subtract.Text = "Subtract From All"; // // toolStripMenuItem5 // toolStripMenuItem5.Name = "toolStripMenuItem5"; toolStripMenuItem5.Size = new Drawing.Size(97, 22); toolStripMenuItem5.Text = "-180"; // // toolStripMenuItem6 // toolStripMenuItem6.Name = "toolStripMenuItem6"; toolStripMenuItem6.Size = new Drawing.Size(97, 22); toolStripMenuItem6.Text = "-90"; // // toolStripMenuItem8 // toolStripMenuItem8.Name = "toolStripMenuItem8"; toolStripMenuItem8.Size = new Drawing.Size(97, 22); toolStripMenuItem8.Text = "-45"; // // FrameTrans // FrameTrans.AutoSize = true; FrameTrans.Checked = true; FrameTrans.CheckState = CheckState.Checked; FrameTrans.Location = new Drawing.Point(155, 58); FrameTrans.Name = "FrameTrans"; FrameTrans.Size = new Drawing.Size(53, 17); FrameTrans.TabIndex = 33; FrameTrans.Text = "Trans"; FrameTrans.UseVisualStyleBackColor = true; // // numScaleY // numScaleY.BorderStyle = BorderStyle.FixedSingle; numScaleY.Integral = false; numScaleY.Location = new Drawing.Point(154, 35); numScaleY.MaximumValue = 3.402823E+38F; numScaleY.MinimumValue = -3.402823E+38F; numScaleY.Name = "numScaleY"; numScaleY.Size = new Drawing.Size(82, 20); numScaleY.TabIndex = 18; numScaleY.Text = "0"; numScaleY.ValueChanged += new EventHandler(BoxChangedCreateUndo); numScaleY.MouseDown += new MouseEventHandler(box_MouseDown); // // add // add.DropDownItems.AddRange(new ToolStripItem[] { toolStripMenuItem3, toolStripMenuItem4, toolStripMenuItem7 }); add.Name = "add"; add.Size = new Drawing.Size(166, 22); add.Text = "Add To All"; // // numRot // numRot.BorderStyle = BorderStyle.FixedSingle; numRot.Integral = false; numRot.Location = new Drawing.Point(235, 35); numRot.MaximumValue = 3.402823E+38F; numRot.MinimumValue = -3.402823E+38F; numRot.Name = "numRot"; numRot.Size = new Drawing.Size(82, 20); numRot.TabIndex = 15; numRot.Text = "0"; numRot.ValueChanged += new EventHandler(BoxChangedCreateUndo); numRot.MouseDown += new MouseEventHandler(box_MouseDown); // // toolStripSeparator1 // toolStripSeparator1.Name = "toolStripSeparator1"; toolStripSeparator1.Size = new Drawing.Size(163, 6); // // Source // Source.Enabled = false; Source.Name = "Source"; Source.Size = new Drawing.Size(166, 22); Source.Text = "Source"; // // numTransX // numTransX.BorderStyle = BorderStyle.FixedSingle; numTransX.Integral = false; numTransX.Location = new Drawing.Point(73, 16); numTransX.MaximumValue = 3.402823E+38F; numTransX.MinimumValue = -3.402823E+38F; numTransX.Name = "numTransX"; numTransX.Size = new Drawing.Size(82, 20); numTransX.TabIndex = 3; numTransX.Text = "0"; numTransX.ValueChanged += new EventHandler(BoxChangedCreateUndo); numTransX.MouseDown += new MouseEventHandler(box_MouseDown); // // numTransY // numTransY.BorderStyle = BorderStyle.FixedSingle; numTransY.Integral = false; numTransY.Location = new Drawing.Point(154, 16); numTransY.MaximumValue = 3.402823E+38F; numTransY.MinimumValue = -3.402823E+38F; numTransY.Name = "numTransY"; numTransY.Size = new Drawing.Size(82, 20); numTransY.TabIndex = 13; numTransY.Text = "0"; numTransY.ValueChanged += new EventHandler(BoxChangedCreateUndo); numTransY.MouseDown += new MouseEventHandler(box_MouseDown); // // lblTransX // lblTransX.BorderStyle = BorderStyle.FixedSingle; lblTransX.Location = new Drawing.Point(4, 16); lblTransX.Name = "lblTransX"; lblTransX.Size = new Drawing.Size(70, 20); lblTransX.TabIndex = 4; lblTransX.Text = "Translation:"; lblTransX.TextAlign = ContentAlignment.MiddleRight; // // removeAllToolStripMenuItem // removeAllToolStripMenuItem.Name = "removeAllToolStripMenuItem"; removeAllToolStripMenuItem.Size = new Drawing.Size(166, 22); removeAllToolStripMenuItem.Text = "Remove All"; // // lblRot // lblRot.BorderStyle = BorderStyle.FixedSingle; lblRot.Location = new Drawing.Point(235, 16); lblRot.Name = "lblRot"; lblRot.Size = new Drawing.Size(82, 20); lblRot.TabIndex = 7; lblRot.Text = "Rotation:"; lblRot.TextAlign = ContentAlignment.MiddleLeft; // // ctxBox // ctxBox.Items.AddRange(new ToolStripItem[] { Source, toolStripSeparator1, add, subtract, removeAllToolStripMenuItem, addCustomAmountToolStripMenuItem }); ctxBox.Name = "ctxBox"; ctxBox.Size = new Drawing.Size(167, 120); // // addCustomAmountToolStripMenuItem // addCustomAmountToolStripMenuItem.Name = "addCustomAmountToolStripMenuItem"; addCustomAmountToolStripMenuItem.Size = new Drawing.Size(166, 22); addCustomAmountToolStripMenuItem.Text = "Edit All..."; addCustomAmountToolStripMenuItem.Click += new EventHandler(addCustomAmountToolStripMenuItem_Click_1); // // btnDelete // btnDelete.Location = new Drawing.Point(6, 16); btnDelete.Name = "btnDelete"; btnDelete.Size = new Drawing.Size(50, 20); btnDelete.TabIndex = 25; btnDelete.Text = "Delete"; btnDelete.UseVisualStyleBackColor = true; btnDelete.Click += new EventHandler(btnDelete_Click); // // grpTransform // grpTransform.Controls.Add(lblScaleX); grpTransform.Controls.Add(numScaleX); grpTransform.Controls.Add(FrameScale); grpTransform.Controls.Add(btnPaste); grpTransform.Controls.Add(FrameRot); grpTransform.Controls.Add(btnCopy); grpTransform.Controls.Add(FrameTrans); grpTransform.Controls.Add(btnCut); grpTransform.Controls.Add(numScaleY); grpTransform.Controls.Add(numRot); grpTransform.Controls.Add(numTransX); grpTransform.Controls.Add(numTransY); grpTransform.Controls.Add(lblTransX); grpTransform.Controls.Add(lblRot); grpTransform.Dock = DockStyle.Left; grpTransform.Enabled = false; grpTransform.Location = new Drawing.Point(0, 0); grpTransform.Name = "grpTransform"; grpTransform.Size = new Drawing.Size(321, 78); grpTransform.TabIndex = 28; grpTransform.TabStop = false; grpTransform.Text = "Transform Frame"; // // lblScaleX // lblScaleX.BorderStyle = BorderStyle.FixedSingle; lblScaleX.Location = new Drawing.Point(4, 35); lblScaleX.Name = "lblScaleX"; lblScaleX.Size = new Drawing.Size(70, 20); lblScaleX.TabIndex = 37; lblScaleX.Text = "Scale:"; lblScaleX.TextAlign = ContentAlignment.MiddleRight; // // numScaleX // numScaleX.BorderStyle = BorderStyle.FixedSingle; numScaleX.Integral = false; numScaleX.Location = new Drawing.Point(73, 35); numScaleX.MaximumValue = 3.402823E+38F; numScaleX.MinimumValue = -3.402823E+38F; numScaleX.Name = "numScaleX"; numScaleX.Size = new Drawing.Size(82, 20); numScaleX.TabIndex = 36; numScaleX.Text = "0"; numScaleX.ValueChanged += new EventHandler(BoxChangedCreateUndo); numScaleX.MouseDown += new MouseEventHandler(box_MouseDown); // // AllScale // AllScale.AutoSize = true; AllScale.Checked = true; AllScale.CheckState = CheckState.Checked; AllScale.Location = new Drawing.Point(108, 57); AllScale.Name = "AllScale"; AllScale.Size = new Drawing.Size(53, 17); AllScale.TabIndex = 32; AllScale.Text = "Scale"; AllScale.UseVisualStyleBackColor = true; // // grpTransAll // grpTransAll.Controls.Add(AllScale); grpTransAll.Controls.Add(AllRot); grpTransAll.Controls.Add(AllTrans); grpTransAll.Controls.Add(btnClean); grpTransAll.Controls.Add(btnPasteAll); grpTransAll.Controls.Add(btnCopyAll); grpTransAll.Controls.Add(btnClear); grpTransAll.Controls.Add(btnInsert); grpTransAll.Controls.Add(btnDelete); grpTransAll.Dock = DockStyle.Fill; grpTransAll.Enabled = false; grpTransAll.Location = new Drawing.Point(321, 0); grpTransAll.Name = "grpTransAll"; grpTransAll.Size = new Drawing.Size(162, 78); grpTransAll.TabIndex = 29; grpTransAll.TabStop = false; grpTransAll.Text = "Transform All"; // // AllRot // AllRot.AutoSize = true; AllRot.Checked = true; AllRot.CheckState = CheckState.Checked; AllRot.Location = new Drawing.Point(108, 38); AllRot.Name = "AllRot"; AllRot.Size = new Drawing.Size(43, 17); AllRot.TabIndex = 31; AllRot.Text = "Rot"; AllRot.UseVisualStyleBackColor = true; // // AllTrans // AllTrans.AutoSize = true; AllTrans.Checked = true; AllTrans.CheckState = CheckState.Checked; AllTrans.Location = new Drawing.Point(108, 19); AllTrans.Name = "AllTrans"; AllTrans.Size = new Drawing.Size(53, 17); AllTrans.TabIndex = 30; AllTrans.Text = "Trans"; AllTrans.UseVisualStyleBackColor = true; // // btnClean // btnClean.Location = new Drawing.Point(55, 35); btnClean.Name = "btnClean"; btnClean.Size = new Drawing.Size(50, 20); btnClean.TabIndex = 29; btnClean.Text = "Clean"; btnClean.UseVisualStyleBackColor = true; btnClean.Click += new EventHandler(btnClean_Click); // // btnPasteAll // btnPasteAll.Location = new Drawing.Point(6, 35); btnPasteAll.Name = "btnPasteAll"; btnPasteAll.Size = new Drawing.Size(50, 20); btnPasteAll.TabIndex = 28; btnPasteAll.Text = "Paste"; btnPasteAll.UseVisualStyleBackColor = true; btnPasteAll.Click += new EventHandler(btnPasteAll_Click); // // btnCopyAll // btnCopyAll.Location = new Drawing.Point(6, 54); btnCopyAll.Name = "btnCopyAll"; btnCopyAll.Size = new Drawing.Size(50, 20); btnCopyAll.TabIndex = 27; btnCopyAll.Text = "Copy"; btnCopyAll.UseVisualStyleBackColor = true; btnCopyAll.Click += new EventHandler(btnCopyAll_Click); // // btnClear // btnClear.Location = new Drawing.Point(55, 16); btnClear.Name = "btnClear"; btnClear.Size = new Drawing.Size(50, 20); btnClear.TabIndex = 26; btnClear.Text = "Clear"; btnClear.UseVisualStyleBackColor = true; btnClear.Click += new EventHandler(btnClear_Click); // // btnInsert // btnInsert.Location = new Drawing.Point(55, 54); btnInsert.Name = "btnInsert"; btnInsert.Size = new Drawing.Size(50, 20); btnInsert.TabIndex = 24; btnInsert.Text = "Insert"; btnInsert.UseVisualStyleBackColor = true; btnInsert.Click += new EventHandler(btnInsert_Click); // // SRT0Editor // Controls.Add(grpTransAll); Controls.Add(grpTransform); MinimumSize = new Drawing.Size(483, 78); Name = "SRT0Editor"; Size = new Drawing.Size(483, 78); ctxBox.ResumeLayout(false); grpTransform.ResumeLayout(false); grpTransform.PerformLayout(); grpTransAll.ResumeLayout(false); grpTransAll.PerformLayout(); ResumeLayout(false); }
private void InitializeComponent() { this.label1 = new System.Windows.Forms.Label(); this.numScale = new System.Windows.Forms.NumericInputBox(); this.label7 = new System.Windows.Forms.Label(); this.numFrame = new System.Windows.Forms.NumericUpDown(); this.lblFrameCount = new System.Windows.Forms.Label(); this.btnPrev = new System.Windows.Forms.Button(); this.btnNext = new System.Windows.Forms.Button(); this.listKeyframes = new System.Windows.Forms.ListBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.panel1 = new System.Windows.Forms.Panel(); this.label2 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.numFrame)).BeginInit(); this.groupBox1.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // label1 // this.label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label1.Location = new System.Drawing.Point(10, 32); this.label1.Margin = new System.Windows.Forms.Padding(0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(67, 20); this.label1.TabIndex = 0; this.label1.Text = "Percentage:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numScale // this.numScale.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numScale.Integral = false; this.numScale.Location = new System.Drawing.Point(76, 32); this.numScale.Margin = new System.Windows.Forms.Padding(0); this.numScale.MaximumValue = 3.402823E+38F; this.numScale.MinimumValue = -3.402823E+38F; this.numScale.Name = "numScale"; this.numScale.Size = new System.Drawing.Size(37, 20); this.numScale.TabIndex = 3; this.numScale.Text = "0"; this.numScale.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.numScale.ValueChanged += new System.EventHandler(this.BoxChanged); // // label7 // this.label7.Location = new System.Drawing.Point(7, 3); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(42, 20); this.label7.TabIndex = 15; this.label7.Text = "Frame:"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numFrame // this.numFrame.Location = new System.Drawing.Point(55, 3); this.numFrame.Minimum = new decimal(new int[] { 1, 0, 0, 0}); this.numFrame.Name = "numFrame"; this.numFrame.Size = new System.Drawing.Size(58, 20); this.numFrame.TabIndex = 0; this.numFrame.Value = new decimal(new int[] { 1, 0, 0, 0}); this.numFrame.ValueChanged += new System.EventHandler(this.numFrame_ValueChanged); // // lblFrameCount // this.lblFrameCount.Location = new System.Drawing.Point(119, 3); this.lblFrameCount.Name = "lblFrameCount"; this.lblFrameCount.Size = new System.Drawing.Size(49, 20); this.lblFrameCount.TabIndex = 17; this.lblFrameCount.Text = "/ 10"; this.lblFrameCount.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // btnPrev // this.btnPrev.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnPrev.Location = new System.Drawing.Point(166, 2); this.btnPrev.Name = "btnPrev"; this.btnPrev.Size = new System.Drawing.Size(23, 23); this.btnPrev.TabIndex = 1; this.btnPrev.Text = "<"; this.btnPrev.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.btnPrev.UseVisualStyleBackColor = true; this.btnPrev.Click += new System.EventHandler(this.btnPrev_Click); // // btnNext // this.btnNext.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnNext.Location = new System.Drawing.Point(191, 2); this.btnNext.Name = "btnNext"; this.btnNext.Size = new System.Drawing.Size(23, 23); this.btnNext.TabIndex = 2; this.btnNext.Text = ">"; this.btnNext.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.btnNext.UseVisualStyleBackColor = true; this.btnNext.Click += new System.EventHandler(this.btnNext_Click); // // listKeyframes // this.listKeyframes.Dock = System.Windows.Forms.DockStyle.Fill; this.listKeyframes.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.listKeyframes.FormattingEnabled = true; this.listKeyframes.IntegralHeight = false; this.listKeyframes.ItemHeight = 14; this.listKeyframes.Location = new System.Drawing.Point(3, 16); this.listKeyframes.Name = "listKeyframes"; this.listKeyframes.Size = new System.Drawing.Size(224, 119); this.listKeyframes.TabIndex = 18; this.listKeyframes.SelectedIndexChanged += new System.EventHandler(this.listKeyframes_SelectedIndexChanged); // // groupBox1 // this.groupBox1.Controls.Add(this.listKeyframes); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(230, 138); this.groupBox1.TabIndex = 21; this.groupBox1.TabStop = false; this.groupBox1.Text = "Keyframes"; // // panel1 // this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.label7); this.panel1.Controls.Add(this.btnNext); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.btnPrev); this.panel1.Controls.Add(this.numScale); this.panel1.Controls.Add(this.lblFrameCount); this.panel1.Controls.Add(this.numFrame); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 138); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(230, 64); this.panel1.TabIndex = 23; // // label2 // this.label2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label2.Location = new System.Drawing.Point(112, 32); this.label2.Margin = new System.Windows.Forms.Padding(0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(19, 20); this.label2.TabIndex = 18; this.label2.Text = "%"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // ShpAnimEditControl // this.Controls.Add(this.groupBox1); this.Controls.Add(this.panel1); this.Name = "ShpAnimEditControl"; this.Size = new System.Drawing.Size(230, 202); ((System.ComponentModel.ISupportInitialize)(this.numFrame)).EndInit(); this.groupBox1.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); }
private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.listKeyframes = new System.Windows.Forms.ListBox(); this.panel2 = new System.Windows.Forms.Panel(); this.label7 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.btnNext = new System.Windows.Forms.Button(); this.btnPrev = new System.Windows.Forms.Button(); this.lblFrameCount = new System.Windows.Forms.Label(); this.numStart = new System.Windows.Forms.NumericInputBox(); this.numEnd = new System.Windows.Forms.NumericInputBox(); this.numFrame = new System.Windows.Forms.NumericUpDown(); this.label1 = new System.Windows.Forms.Label(); this.tabPage3 = new System.Windows.Forms.TabPage(); this.lightCtrl = new System.Windows.Forms.CLRControl(); this.panel1.SuspendLayout(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.groupBox1.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numFrame)).BeginInit(); this.tabPage3.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.tabControl1); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(221, 200); this.panel1.TabIndex = 23; // // tabControl1 // this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage3); this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl1.Location = new System.Drawing.Point(0, 0); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(221, 200); this.tabControl1.TabIndex = 18; // // tabPage1 // this.tabPage1.Controls.Add(this.groupBox1); this.tabPage1.Controls.Add(this.panel2); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Size = new System.Drawing.Size(213, 174); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Lighting"; this.tabPage1.UseVisualStyleBackColor = true; // // groupBox1 // this.groupBox1.Controls.Add(this.listKeyframes); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(213, 102); this.groupBox1.TabIndex = 21; this.groupBox1.TabStop = false; this.groupBox1.Text = "Keyframes"; // // listKeyframes // this.listKeyframes.Dock = System.Windows.Forms.DockStyle.Fill; this.listKeyframes.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.listKeyframes.FormattingEnabled = true; this.listKeyframes.IntegralHeight = false; this.listKeyframes.ItemHeight = 14; this.listKeyframes.Location = new System.Drawing.Point(3, 16); this.listKeyframes.Name = "listKeyframes"; this.listKeyframes.Size = new System.Drawing.Size(207, 83); this.listKeyframes.TabIndex = 18; this.listKeyframes.SelectedIndexChanged += new System.EventHandler(this.listKeyframes_SelectedIndexChanged); // // panel2 // this.panel2.BackColor = System.Drawing.SystemColors.Control; this.panel2.Controls.Add(this.label7); this.panel2.Controls.Add(this.label3); this.panel2.Controls.Add(this.btnNext); this.panel2.Controls.Add(this.btnPrev); this.panel2.Controls.Add(this.lblFrameCount); this.panel2.Controls.Add(this.numStart); this.panel2.Controls.Add(this.numEnd); this.panel2.Controls.Add(this.numFrame); this.panel2.Controls.Add(this.label1); this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel2.Location = new System.Drawing.Point(0, 102); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(213, 72); this.panel2.TabIndex = 22; // // label7 // this.label7.Location = new System.Drawing.Point(3, 3); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(41, 20); this.label7.TabIndex = 15; this.label7.Text = "Frame:"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label3 // this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label3.Location = new System.Drawing.Point(6, 45); this.label3.Margin = new System.Windows.Forms.Padding(0); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(70, 20); this.label3.TabIndex = 2; this.label3.Text = "End Point Z"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // btnNext // this.btnNext.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnNext.Location = new System.Drawing.Point(187, 1); this.btnNext.Name = "btnNext"; this.btnNext.Size = new System.Drawing.Size(23, 23); this.btnNext.TabIndex = 2; this.btnNext.Text = ">"; this.btnNext.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.btnNext.UseVisualStyleBackColor = true; this.btnNext.Click += new System.EventHandler(this.btnNext_Click); // // btnPrev // this.btnPrev.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnPrev.Location = new System.Drawing.Point(162, 1); this.btnPrev.Name = "btnPrev"; this.btnPrev.Size = new System.Drawing.Size(23, 23); this.btnPrev.TabIndex = 1; this.btnPrev.Text = "<"; this.btnPrev.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.btnPrev.UseVisualStyleBackColor = true; this.btnPrev.Click += new System.EventHandler(this.btnPrev_Click); // // lblFrameCount // this.lblFrameCount.Location = new System.Drawing.Point(114, 3); this.lblFrameCount.Name = "lblFrameCount"; this.lblFrameCount.Size = new System.Drawing.Size(51, 20); this.lblFrameCount.TabIndex = 17; this.lblFrameCount.Text = "/ 10"; this.lblFrameCount.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // numStart // this.numStart.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numStart.Location = new System.Drawing.Point(75, 26); this.numStart.Margin = new System.Windows.Forms.Padding(0); this.numStart.Name = "numStart"; this.numStart.Size = new System.Drawing.Size(70, 20); this.numStart.TabIndex = 3; this.numStart.Text = "0"; this.numStart.ValueChanged += new System.EventHandler(this.BoxChanged); // // numEnd // this.numEnd.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numEnd.Location = new System.Drawing.Point(75, 45); this.numEnd.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numEnd.Name = "numEnd"; this.numEnd.Size = new System.Drawing.Size(70, 20); this.numEnd.TabIndex = 6; this.numEnd.Text = "0"; this.numEnd.ValueChanged += new System.EventHandler(this.BoxChanged); // // numFrame // this.numFrame.Location = new System.Drawing.Point(50, 3); this.numFrame.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); this.numFrame.Name = "numFrame"; this.numFrame.Size = new System.Drawing.Size(58, 20); this.numFrame.TabIndex = 0; this.numFrame.Value = new decimal(new int[] { 1, 0, 0, 0 }); this.numFrame.ValueChanged += new System.EventHandler(this.numFrame_ValueChanged); // // label1 // this.label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label1.Location = new System.Drawing.Point(6, 26); this.label1.Margin = new System.Windows.Forms.Padding(0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(70, 20); this.label1.TabIndex = 0; this.label1.Text = "Start Point Z"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // tabPage3 // this.tabPage3.Controls.Add(this.lightCtrl); this.tabPage3.Location = new System.Drawing.Point(4, 22); this.tabPage3.Name = "tabPage3"; this.tabPage3.Size = new System.Drawing.Size(213, 174); this.tabPage3.TabIndex = 2; this.tabPage3.Text = "Light Color"; this.tabPage3.UseVisualStyleBackColor = true; // // lightCtrl // this.lightCtrl.Dock = System.Windows.Forms.DockStyle.Fill; this.lightCtrl.Location = new System.Drawing.Point(0, 0); this.lightCtrl.Name = "lightCtrl"; this.lightCtrl.Size = new System.Drawing.Size(213, 174); this.lightCtrl.TabIndex = 0; // // SCN0FogEditControl // this.Controls.Add(this.panel1); this.Name = "SCN0FogEditControl"; this.Size = new System.Drawing.Size(221, 200); this.panel1.ResumeLayout(false); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.numFrame)).EndInit(); this.tabPage3.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.btnCancel = new System.Windows.Forms.Button(); this.btnOkay = new System.Windows.Forms.Button(); this.ax = new System.Windows.Forms.NumericInputBox(); this.radius = new System.Windows.Forms.NumericInputBox(); this.dx = new System.Windows.Forms.NumericInputBox(); this.sx = new System.Windows.Forms.NumericInputBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.sy = new System.Windows.Forms.NumericInputBox(); this.dy = new System.Windows.Forms.NumericInputBox(); this.azimuth = new System.Windows.Forms.NumericInputBox(); this.ay = new System.Windows.Forms.NumericInputBox(); this.sz = new System.Windows.Forms.NumericInputBox(); this.dz = new System.Windows.Forms.NumericInputBox(); this.elevation = new System.Windows.Forms.NumericInputBox(); this.az = new System.Windows.Forms.NumericInputBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.label23 = new System.Windows.Forms.Label(); this.label22 = new System.Windows.Forms.Label(); this.label21 = new System.Windows.Forms.Label(); this.label19 = new System.Windows.Forms.Label(); this.ez = new System.Windows.Forms.NumericInputBox(); this.ey = new System.Windows.Forms.NumericInputBox(); this.label8 = new System.Windows.Forms.Label(); this.ex = new System.Windows.Forms.NumericInputBox(); this.label17 = new System.Windows.Forms.Label(); this.label16 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.farZ = new System.Windows.Forms.NumericInputBox(); this.nearZ = new System.Windows.Forms.NumericInputBox(); this.yFov = new System.Windows.Forms.NumericInputBox(); this.zScale = new System.Windows.Forms.NumericInputBox(); this.tScale = new System.Windows.Forms.NumericInputBox(); this.rScale = new System.Windows.Forms.NumericInputBox(); this.label14 = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label(); this.label12 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.lblLineColor = new System.Windows.Forms.Label(); this.lblLineText = new System.Windows.Forms.Label(); this.label20 = new System.Windows.Forms.Label(); this.lblOrbColor = new System.Windows.Forms.Label(); this.lblOrbText = new System.Windows.Forms.Label(); this.label15 = new System.Windows.Forms.Label(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.lblCol1Color = new System.Windows.Forms.Label(); this.lblCol1Text = new System.Windows.Forms.Label(); this.label24 = new System.Windows.Forms.Label(); this.maxUndoCount = new System.Windows.Forms.NumericInputBox(); this.label18 = new System.Windows.Forms.Label(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); this.groupBox4.SuspendLayout(); this.SuspendLayout(); // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(231, 400); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 2; this.btnCancel.Text = "&Cancel"; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // btnOkay // this.btnOkay.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnOkay.Location = new System.Drawing.Point(150, 400); this.btnOkay.Name = "btnOkay"; this.btnOkay.Size = new System.Drawing.Size(75, 23); this.btnOkay.TabIndex = 1; this.btnOkay.Text = "&Okay"; this.btnOkay.UseVisualStyleBackColor = true; this.btnOkay.Click += new System.EventHandler(this.btnOkay_Click); // // ax // this.ax.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.ax.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.ax.Location = new System.Drawing.Point(88, 81); this.ax.Name = "ax"; this.ax.Size = new System.Drawing.Size(50, 20); this.ax.TabIndex = 3; this.ax.Text = "0"; this.ax.ValueChanged += new System.EventHandler(this.BoxValueChanged); // // radius // this.radius.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.radius.Location = new System.Drawing.Point(60, 35); this.radius.Name = "radius"; this.radius.Size = new System.Drawing.Size(66, 20); this.radius.TabIndex = 4; this.radius.Text = "0"; this.radius.ValueChanged += new System.EventHandler(this.BoxValueChanged); // // dx // this.dx.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.dx.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.dx.Location = new System.Drawing.Point(88, 100); this.dx.Name = "dx"; this.dx.Size = new System.Drawing.Size(50, 20); this.dx.TabIndex = 5; this.dx.Text = "0"; this.dx.ValueChanged += new System.EventHandler(this.BoxValueChanged); // // sx // this.sx.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.sx.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.sx.Location = new System.Drawing.Point(88, 119); this.sx.Name = "sx"; this.sx.Size = new System.Drawing.Size(50, 20); this.sx.TabIndex = 6; this.sx.Text = "0"; this.sx.ValueChanged += new System.EventHandler(this.BoxValueChanged); // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label1.Location = new System.Drawing.Point(33, 81); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(56, 20); this.label1.TabIndex = 7; this.label1.Text = "Ambient:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label2 // this.label2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label2.Location = new System.Drawing.Point(60, 16); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(66, 20); this.label2.TabIndex = 8; this.label2.Text = "Radius"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label3 // this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label3.Location = new System.Drawing.Point(33, 100); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(56, 20); this.label3.TabIndex = 9; this.label3.Text = "Diffuse:"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label4 // this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label4.Location = new System.Drawing.Point(33, 119); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(56, 20); this.label4.TabIndex = 10; this.label4.Text = "Specular:"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label5 // this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label5.Location = new System.Drawing.Point(88, 62); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(50, 20); this.label5.TabIndex = 19; this.label5.Text = "R"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label6 // this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label6.Location = new System.Drawing.Point(137, 62); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(50, 20); this.label6.TabIndex = 20; this.label6.Text = "G"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label7 // this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label7.Location = new System.Drawing.Point(186, 62); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(50, 20); this.label7.TabIndex = 21; this.label7.Text = "B"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // sy // this.sy.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.sy.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.sy.Location = new System.Drawing.Point(137, 119); this.sy.Name = "sy"; this.sy.Size = new System.Drawing.Size(50, 20); this.sy.TabIndex = 26; this.sy.Text = "0"; this.sy.ValueChanged += new System.EventHandler(this.BoxValueChanged); // // dy // this.dy.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.dy.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.dy.Location = new System.Drawing.Point(137, 100); this.dy.Name = "dy"; this.dy.Size = new System.Drawing.Size(50, 20); this.dy.TabIndex = 25; this.dy.Text = "0"; this.dy.ValueChanged += new System.EventHandler(this.BoxValueChanged); // // azimuth // this.azimuth.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.azimuth.Location = new System.Drawing.Point(129, 35); this.azimuth.Name = "azimuth"; this.azimuth.Size = new System.Drawing.Size(66, 20); this.azimuth.TabIndex = 24; this.azimuth.Text = "0"; this.azimuth.ValueChanged += new System.EventHandler(this.BoxValueChanged); // // ay // this.ay.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.ay.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.ay.Location = new System.Drawing.Point(137, 81); this.ay.Name = "ay"; this.ay.Size = new System.Drawing.Size(50, 20); this.ay.TabIndex = 23; this.ay.Text = "0"; this.ay.ValueChanged += new System.EventHandler(this.BoxValueChanged); // // sz // this.sz.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.sz.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.sz.Location = new System.Drawing.Point(186, 119); this.sz.Name = "sz"; this.sz.Size = new System.Drawing.Size(50, 20); this.sz.TabIndex = 30; this.sz.Text = "0"; this.sz.ValueChanged += new System.EventHandler(this.BoxValueChanged); // // dz // this.dz.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.dz.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.dz.Location = new System.Drawing.Point(186, 100); this.dz.Name = "dz"; this.dz.Size = new System.Drawing.Size(50, 20); this.dz.TabIndex = 29; this.dz.Text = "0"; this.dz.ValueChanged += new System.EventHandler(this.BoxValueChanged); // // elevation // this.elevation.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.elevation.Location = new System.Drawing.Point(197, 35); this.elevation.Name = "elevation"; this.elevation.Size = new System.Drawing.Size(66, 20); this.elevation.TabIndex = 28; this.elevation.Text = "0"; this.elevation.ValueChanged += new System.EventHandler(this.BoxValueChanged); // // az // this.az.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.az.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.az.Location = new System.Drawing.Point(186, 81); this.az.Name = "az"; this.az.Size = new System.Drawing.Size(50, 20); this.az.TabIndex = 27; this.az.Text = "0"; this.az.ValueChanged += new System.EventHandler(this.BoxValueChanged); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.label23); this.groupBox1.Controls.Add(this.label22); this.groupBox1.Controls.Add(this.label21); this.groupBox1.Controls.Add(this.label19); this.groupBox1.Controls.Add(this.ez); this.groupBox1.Controls.Add(this.ey); this.groupBox1.Controls.Add(this.label8); this.groupBox1.Controls.Add(this.ex); this.groupBox1.Controls.Add(this.label17); this.groupBox1.Controls.Add(this.label16); this.groupBox1.Controls.Add(this.sz); this.groupBox1.Controls.Add(this.dz); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.radius); this.groupBox1.Controls.Add(this.az); this.groupBox1.Controls.Add(this.elevation); this.groupBox1.Controls.Add(this.sy); this.groupBox1.Controls.Add(this.azimuth); this.groupBox1.Controls.Add(this.dy); this.groupBox1.Controls.Add(this.ay); this.groupBox1.Controls.Add(this.label7); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.sx); this.groupBox1.Controls.Add(this.dx); this.groupBox1.Controls.Add(this.ax); this.groupBox1.Location = new System.Drawing.Point(0, 91); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(315, 167); this.groupBox1.TabIndex = 35; this.groupBox1.TabStop = false; this.groupBox1.Text = "Lighting"; // // label23 // this.label23.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label23.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label23.Location = new System.Drawing.Point(235, 138); this.label23.Name = "label23"; this.label23.Size = new System.Drawing.Size(40, 20); this.label23.TabIndex = 43; this.label23.Click += new System.EventHandler(this.label23_Click); // // label22 // this.label22.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label22.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label22.Location = new System.Drawing.Point(235, 119); this.label22.Name = "label22"; this.label22.Size = new System.Drawing.Size(40, 20); this.label22.TabIndex = 42; this.label22.Click += new System.EventHandler(this.label22_Click); // // label21 // this.label21.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label21.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label21.Location = new System.Drawing.Point(235, 100); this.label21.Name = "label21"; this.label21.Size = new System.Drawing.Size(40, 20); this.label21.TabIndex = 41; this.label21.Click += new System.EventHandler(this.label21_Click); // // label19 // this.label19.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label19.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label19.Location = new System.Drawing.Point(235, 81); this.label19.Name = "label19"; this.label19.Size = new System.Drawing.Size(40, 20); this.label19.TabIndex = 11; this.label19.Click += new System.EventHandler(this.label19_Click); // // ez // this.ez.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.ez.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.ez.Location = new System.Drawing.Point(186, 138); this.ez.Name = "ez"; this.ez.Size = new System.Drawing.Size(50, 20); this.ez.TabIndex = 40; this.ez.Text = "0"; // // ey // this.ey.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.ey.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.ey.Location = new System.Drawing.Point(137, 138); this.ey.Name = "ey"; this.ey.Size = new System.Drawing.Size(50, 20); this.ey.TabIndex = 39; this.ey.Text = "0"; // // label8 // this.label8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label8.Location = new System.Drawing.Point(33, 138); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(56, 20); this.label8.TabIndex = 38; this.label8.Text = "Emission:"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // ex // this.ex.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.ex.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.ex.Location = new System.Drawing.Point(88, 138); this.ex.Name = "ex"; this.ex.Size = new System.Drawing.Size(50, 20); this.ex.TabIndex = 37; this.ex.Text = "0"; // // label17 // this.label17.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label17.Location = new System.Drawing.Point(197, 16); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(66, 20); this.label17.TabIndex = 36; this.label17.Text = "Elevation"; this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label16 // this.label16.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label16.Location = new System.Drawing.Point(129, 16); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(66, 20); this.label16.TabIndex = 35; this.label16.Text = "Azimuth"; this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // groupBox2 // this.groupBox2.Controls.Add(this.farZ); this.groupBox2.Controls.Add(this.nearZ); this.groupBox2.Controls.Add(this.yFov); this.groupBox2.Controls.Add(this.zScale); this.groupBox2.Controls.Add(this.tScale); this.groupBox2.Controls.Add(this.rScale); this.groupBox2.Controls.Add(this.label14); this.groupBox2.Controls.Add(this.label13); this.groupBox2.Controls.Add(this.label12); this.groupBox2.Controls.Add(this.label11); this.groupBox2.Controls.Add(this.label10); this.groupBox2.Controls.Add(this.label9); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox2.Location = new System.Drawing.Point(0, 0); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(315, 91); this.groupBox2.TabIndex = 36; this.groupBox2.TabStop = false; this.groupBox2.Text = "Projection"; // // farZ // this.farZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.farZ.Location = new System.Drawing.Point(247, 57); this.farZ.Name = "farZ"; this.farZ.Size = new System.Drawing.Size(60, 20); this.farZ.TabIndex = 11; this.farZ.Text = "0"; this.farZ.ValueChanged += new System.EventHandler(this.BoxValueChanged); // // nearZ // this.nearZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.nearZ.Location = new System.Drawing.Point(247, 38); this.nearZ.Name = "nearZ"; this.nearZ.Size = new System.Drawing.Size(60, 20); this.nearZ.TabIndex = 10; this.nearZ.Text = "0"; this.nearZ.ValueChanged += new System.EventHandler(this.BoxValueChanged); // // yFov // this.yFov.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.yFov.Location = new System.Drawing.Point(247, 19); this.yFov.Name = "yFov"; this.yFov.Size = new System.Drawing.Size(60, 20); this.yFov.TabIndex = 9; this.yFov.Text = "0"; this.yFov.ValueChanged += new System.EventHandler(this.BoxValueChanged); // // zScale // this.zScale.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.zScale.Location = new System.Drawing.Point(109, 57); this.zScale.Name = "zScale"; this.zScale.Size = new System.Drawing.Size(50, 20); this.zScale.TabIndex = 8; this.zScale.Text = "0"; this.zScale.ValueChanged += new System.EventHandler(this.BoxValueChanged); // // tScale // this.tScale.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.tScale.Location = new System.Drawing.Point(109, 38); this.tScale.Name = "tScale"; this.tScale.Size = new System.Drawing.Size(50, 20); this.tScale.TabIndex = 7; this.tScale.Text = "0"; this.tScale.ValueChanged += new System.EventHandler(this.BoxValueChanged); // // rScale // this.rScale.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.rScale.Location = new System.Drawing.Point(109, 19); this.rScale.Name = "rScale"; this.rScale.Size = new System.Drawing.Size(50, 20); this.rScale.TabIndex = 6; this.rScale.Text = "0"; this.rScale.ValueChanged += new System.EventHandler(this.BoxValueChanged); // // label14 // this.label14.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label14.Location = new System.Drawing.Point(158, 57); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(90, 20); this.label14.TabIndex = 5; this.label14.Text = "Far Z: "; this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label13 // this.label13.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label13.Location = new System.Drawing.Point(158, 38); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(90, 20); this.label13.TabIndex = 4; this.label13.Text = "Near Z: "; this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label12 // this.label12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label12.Location = new System.Drawing.Point(158, 19); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(90, 20); this.label12.TabIndex = 3; this.label12.Text = "Y Field Of View: "; this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label11 // this.label11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label11.Location = new System.Drawing.Point(10, 57); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(100, 20); this.label11.TabIndex = 2; this.label11.Text = "Zoom Scale: "; this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label10 // this.label10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label10.Location = new System.Drawing.Point(10, 38); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(100, 20); this.label10.TabIndex = 1; this.label10.Text = "Translation Scale: "; this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label9 // this.label9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label9.Location = new System.Drawing.Point(10, 19); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(100, 20); this.label9.TabIndex = 0; this.label9.Text = "Rotation Scale: "; this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // groupBox3 // this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox3.Controls.Add(this.lblLineColor); this.groupBox3.Controls.Add(this.lblLineText); this.groupBox3.Controls.Add(this.label20); this.groupBox3.Controls.Add(this.lblOrbColor); this.groupBox3.Controls.Add(this.lblOrbText); this.groupBox3.Controls.Add(this.label15); this.groupBox3.Location = new System.Drawing.Point(0, 258); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(315, 62); this.groupBox3.TabIndex = 37; this.groupBox3.TabStop = false; this.groupBox3.Text = "Bones"; // // lblLineColor // this.lblLineColor.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lblLineColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.lblLineColor.Location = new System.Drawing.Point(263, 35); this.lblLineColor.Name = "lblLineColor"; this.lblLineColor.Size = new System.Drawing.Size(40, 20); this.lblLineColor.TabIndex = 8; this.lblLineColor.Click += new System.EventHandler(this.lblLineColor_Click); // // lblLineText // this.lblLineText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblLineText.BackColor = System.Drawing.Color.White; this.lblLineText.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.lblLineText.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblLineText.Location = new System.Drawing.Point(76, 35); this.lblLineText.Name = "lblLineText"; this.lblLineText.Size = new System.Drawing.Size(188, 20); this.lblLineText.TabIndex = 10; this.lblLineText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label20 // this.label20.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label20.Location = new System.Drawing.Point(6, 35); this.label20.Name = "label20"; this.label20.Size = new System.Drawing.Size(71, 20); this.label20.TabIndex = 9; this.label20.Text = "Line Color:"; this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // lblOrbColor // this.lblOrbColor.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lblOrbColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.lblOrbColor.Location = new System.Drawing.Point(263, 16); this.lblOrbColor.Name = "lblOrbColor"; this.lblOrbColor.Size = new System.Drawing.Size(40, 20); this.lblOrbColor.TabIndex = 5; this.lblOrbColor.Click += new System.EventHandler(this.lblOrbColor_Click); // // lblOrbText // this.lblOrbText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblOrbText.BackColor = System.Drawing.Color.White; this.lblOrbText.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.lblOrbText.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblOrbText.Location = new System.Drawing.Point(76, 16); this.lblOrbText.Name = "lblOrbText"; this.lblOrbText.Size = new System.Drawing.Size(188, 20); this.lblOrbText.TabIndex = 7; this.lblOrbText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label15 // this.label15.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label15.Location = new System.Drawing.Point(6, 16); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(71, 20); this.label15.TabIndex = 6; this.label15.Text = "Orb Color:"; this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // groupBox4 // this.groupBox4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox4.Controls.Add(this.lblCol1Color); this.groupBox4.Controls.Add(this.lblCol1Text); this.groupBox4.Controls.Add(this.label24); this.groupBox4.Location = new System.Drawing.Point(0, 326); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(315, 42); this.groupBox4.TabIndex = 38; this.groupBox4.TabStop = false; this.groupBox4.Text = "Floor"; // // lblCol1Color // this.lblCol1Color.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lblCol1Color.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.lblCol1Color.Location = new System.Drawing.Point(263, 16); this.lblCol1Color.Name = "lblCol1Color"; this.lblCol1Color.Size = new System.Drawing.Size(40, 20); this.lblCol1Color.TabIndex = 5; this.lblCol1Color.Click += new System.EventHandler(this.lblCol1Color_Click); // // lblCol1Text // this.lblCol1Text.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblCol1Text.BackColor = System.Drawing.Color.White; this.lblCol1Text.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.lblCol1Text.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblCol1Text.Location = new System.Drawing.Point(76, 16); this.lblCol1Text.Name = "lblCol1Text"; this.lblCol1Text.Size = new System.Drawing.Size(188, 20); this.lblCol1Text.TabIndex = 7; this.lblCol1Text.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label24 // this.label24.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label24.Location = new System.Drawing.Point(6, 16); this.label24.Name = "label24"; this.label24.Size = new System.Drawing.Size(71, 20); this.label24.TabIndex = 6; this.label24.Text = "Color:"; this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // maxUndoCount // this.maxUndoCount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.maxUndoCount.Location = new System.Drawing.Point(240, 374); this.maxUndoCount.Name = "maxUndoCount"; this.maxUndoCount.Size = new System.Drawing.Size(66, 20); this.maxUndoCount.TabIndex = 37; this.maxUndoCount.Text = "0"; this.maxUndoCount.ValueChanged += new System.EventHandler(this.BoxValueChanged); // // label18 // this.label18.AutoSize = true; this.label18.Location = new System.Drawing.Point(120, 376); this.label18.Name = "label18"; this.label18.Size = new System.Drawing.Size(114, 13); this.label18.TabIndex = 39; this.label18.Text = "Undo Buffer Maximum:"; // // ModelViewerSettingsDialog // this.AcceptButton = this.btnOkay; this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(315, 432); this.Controls.Add(this.maxUndoCount); this.Controls.Add(this.label18); this.Controls.Add(this.groupBox4); this.Controls.Add(this.groupBox3); this.Controls.Add(this.groupBox1); this.Controls.Add(this.groupBox2); this.Controls.Add(this.btnOkay); this.Controls.Add(this.btnCancel); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "ModelViewerSettingsDialog"; this.ShowIcon = false; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Viewer Settings"; this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox4.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.label5 = new System.Windows.Forms.Label(); this.numScaleZ = new System.Windows.Forms.NumericInputBox(); this.numTransX = new System.Windows.Forms.NumericInputBox(); this.numScaleY = new System.Windows.Forms.NumericInputBox(); this.label6 = new System.Windows.Forms.Label(); this.numScaleX = new System.Windows.Forms.NumericInputBox(); this.label7 = new System.Windows.Forms.Label(); this.numRotZ = new System.Windows.Forms.NumericInputBox(); this.label8 = new System.Windows.Forms.Label(); this.numRotY = new System.Windows.Forms.NumericInputBox(); this.label9 = new System.Windows.Forms.Label(); this.numRotX = new System.Windows.Forms.NumericInputBox(); this.label10 = new System.Windows.Forms.Label(); this.numTransZ = new System.Windows.Forms.NumericInputBox(); this.label11 = new System.Windows.Forms.Label(); this.numTransY = new System.Windows.Forms.NumericInputBox(); this.label12 = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label(); this.SuspendLayout(); // // label5 // this.label5.Location = new System.Drawing.Point(3, 3); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(74, 20); this.label5.TabIndex = 22; this.label5.Text = "Translation X:"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numScaleZ // this.numScaleZ.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numScaleZ.Location = new System.Drawing.Point(83, 179); this.numScaleZ.Name = "numScaleZ"; this.numScaleZ.Size = new System.Drawing.Size(82, 20); this.numScaleZ.TabIndex = 38; this.numScaleZ.Text = "0"; // // numTransX // this.numTransX.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numTransX.Location = new System.Drawing.Point(83, 3); this.numTransX.Name = "numTransX"; this.numTransX.Size = new System.Drawing.Size(82, 20); this.numTransX.TabIndex = 21; this.numTransX.Text = "0"; // // numScaleY // this.numScaleY.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numScaleY.Location = new System.Drawing.Point(83, 159); this.numScaleY.Name = "numScaleY"; this.numScaleY.Size = new System.Drawing.Size(82, 20); this.numScaleY.TabIndex = 37; this.numScaleY.Text = "0"; // // label6 // this.label6.Location = new System.Drawing.Point(3, 23); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(74, 20); this.label6.TabIndex = 23; this.label6.Text = "Translation Y:"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numScaleX // this.numScaleX.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numScaleX.Location = new System.Drawing.Point(83, 139); this.numScaleX.Name = "numScaleX"; this.numScaleX.Size = new System.Drawing.Size(82, 20); this.numScaleX.TabIndex = 36; this.numScaleX.Text = "0"; // // label7 // this.label7.Location = new System.Drawing.Point(3, 43); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(74, 20); this.label7.TabIndex = 24; this.label7.Text = "Translation Z:"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numRotZ // this.numRotZ.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numRotZ.Location = new System.Drawing.Point(83, 111); this.numRotZ.Name = "numRotZ"; this.numRotZ.Size = new System.Drawing.Size(82, 20); this.numRotZ.TabIndex = 35; this.numRotZ.Text = "0"; // // label8 // this.label8.Location = new System.Drawing.Point(3, 71); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(74, 20); this.label8.TabIndex = 25; this.label8.Text = "Rotation X:"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numRotY // this.numRotY.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numRotY.Location = new System.Drawing.Point(83, 91); this.numRotY.Name = "numRotY"; this.numRotY.Size = new System.Drawing.Size(82, 20); this.numRotY.TabIndex = 34; this.numRotY.Text = "0"; // // label9 // this.label9.Location = new System.Drawing.Point(3, 91); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(74, 20); this.label9.TabIndex = 26; this.label9.Text = "Rotation Y:"; this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numRotX // this.numRotX.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numRotX.Location = new System.Drawing.Point(83, 71); this.numRotX.Name = "numRotX"; this.numRotX.Size = new System.Drawing.Size(82, 20); this.numRotX.TabIndex = 33; this.numRotX.Text = "0"; // // label10 // this.label10.Location = new System.Drawing.Point(3, 111); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(74, 20); this.label10.TabIndex = 27; this.label10.Text = "Rotation Z:"; this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numTransZ // this.numTransZ.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numTransZ.Location = new System.Drawing.Point(83, 43); this.numTransZ.Name = "numTransZ"; this.numTransZ.Size = new System.Drawing.Size(82, 20); this.numTransZ.TabIndex = 32; this.numTransZ.Text = "0"; // // label11 // this.label11.Location = new System.Drawing.Point(3, 139); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(74, 20); this.label11.TabIndex = 28; this.label11.Text = "Scale X:"; this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numTransY // this.numTransY.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numTransY.Location = new System.Drawing.Point(83, 23); this.numTransY.Name = "numTransY"; this.numTransY.Size = new System.Drawing.Size(82, 20); this.numTransY.TabIndex = 31; this.numTransY.Text = "0"; // // label12 // this.label12.Location = new System.Drawing.Point(3, 179); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(74, 20); this.label12.TabIndex = 29; this.label12.Text = "Scale Z:"; this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label13 // this.label13.Location = new System.Drawing.Point(3, 159); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(74, 20); this.label13.TabIndex = 30; this.label13.Text = "Scale Y:"; this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // TransformEditControl // this.Controls.Add(this.label5); this.Controls.Add(this.numScaleZ); this.Controls.Add(this.numTransX); this.Controls.Add(this.numScaleY); this.Controls.Add(this.label6); this.Controls.Add(this.numScaleX); this.Controls.Add(this.label7); this.Controls.Add(this.numRotZ); this.Controls.Add(this.label8); this.Controls.Add(this.numRotY); this.Controls.Add(this.label9); this.Controls.Add(this.numRotX); this.Controls.Add(this.label10); this.Controls.Add(this.numTransZ); this.Controls.Add(this.label11); this.Controls.Add(this.numTransY); this.Controls.Add(this.label12); this.Controls.Add(this.label13); this.Name = "TransformEditControl"; this.Size = new System.Drawing.Size(168, 203); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.lstBoneWeights = new System.Windows.Forms.RefreshableListBox(); this.btnSetWeight = new System.Windows.Forms.Button(); this.numWeight = new System.Windows.Forms.NumericInputBox(); this.btnBlend = new System.Windows.Forms.Button(); this.btnCopy = new System.Windows.Forms.Button(); this.btnPaste = new System.Windows.Forms.Button(); this.btnAdd = new System.Windows.Forms.Button(); this.btnSubtract = new System.Windows.Forms.Button(); this.btnLock = new System.Windows.Forms.Button(); this.lblBoneName = new System.Windows.Forms.Label(); this.btnRemove = new System.Windows.Forms.Button(); this.panel1 = new System.Windows.Forms.Panel(); this.splitter1 = new System.Windows.Forms.Splitter(); this.splitter2 = new System.Windows.Forms.Splitter(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // lstBoneWeights // this.lstBoneWeights.Dock = System.Windows.Forms.DockStyle.Fill; this.lstBoneWeights.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.lstBoneWeights.FormattingEnabled = true; this.lstBoneWeights.IntegralHeight = false; this.lstBoneWeights.Location = new System.Drawing.Point(0, 3); this.lstBoneWeights.Name = "lstBoneWeights"; this.lstBoneWeights.Size = new System.Drawing.Size(124, 75); this.lstBoneWeights.TabIndex = 0; this.lstBoneWeights.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.lstBoneWeights_DrawItem); this.lstBoneWeights.SelectedIndexChanged += new System.EventHandler(this.lstBoneWeights_SelectedIndexChanged); // // btnSetWeight // this.btnSetWeight.Location = new System.Drawing.Point(67, 28); this.btnSetWeight.Name = "btnSetWeight"; this.btnSetWeight.Size = new System.Drawing.Size(79, 22); this.btnSetWeight.TabIndex = 2; this.btnSetWeight.Text = "Set Weight"; this.btnSetWeight.UseVisualStyleBackColor = true; this.btnSetWeight.Click += new System.EventHandler(this.btnSetWeight_Click); // // numWeight // this.numWeight.Location = new System.Drawing.Point(3, 29); this.numWeight.Name = "numWeight"; this.numWeight.Size = new System.Drawing.Size(62, 20); this.numWeight.TabIndex = 3; this.numWeight.Text = "0"; // // btnBlend // this.btnBlend.Location = new System.Drawing.Point(130, 52); this.btnBlend.Name = "btnBlend"; this.btnBlend.Size = new System.Drawing.Size(62, 23); this.btnBlend.TabIndex = 4; this.btnBlend.Text = "Blend"; this.btnBlend.UseVisualStyleBackColor = true; this.btnBlend.Visible = false; this.btnBlend.Click += new System.EventHandler(this.btnBlend_Click); // // btnCopy // this.btnCopy.Location = new System.Drawing.Point(3, 52); this.btnCopy.Name = "btnCopy"; this.btnCopy.Size = new System.Drawing.Size(62, 23); this.btnCopy.TabIndex = 5; this.btnCopy.Text = "Copy"; this.btnCopy.UseVisualStyleBackColor = true; this.btnCopy.Visible = false; this.btnCopy.Click += new System.EventHandler(this.btnCopy_Click); // // btnPaste // this.btnPaste.Location = new System.Drawing.Point(67, 52); this.btnPaste.Name = "btnPaste"; this.btnPaste.Size = new System.Drawing.Size(62, 23); this.btnPaste.TabIndex = 6; this.btnPaste.Text = "Paste"; this.btnPaste.UseVisualStyleBackColor = true; this.btnPaste.Visible = false; this.btnPaste.Click += new System.EventHandler(this.btnPaste_Click); // // btnAdd // this.btnAdd.Location = new System.Drawing.Point(147, 28); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(22, 22); this.btnAdd.TabIndex = 7; this.btnAdd.Text = "+"; this.btnAdd.UseVisualStyleBackColor = true; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // btnSubtract // this.btnSubtract.Location = new System.Drawing.Point(170, 28); this.btnSubtract.Name = "btnSubtract"; this.btnSubtract.Size = new System.Drawing.Size(22, 22); this.btnSubtract.TabIndex = 8; this.btnSubtract.Text = "-"; this.btnSubtract.UseVisualStyleBackColor = true; this.btnSubtract.Click += new System.EventHandler(this.btnSubtract_Click); // // btnLock // this.btnLock.Location = new System.Drawing.Point(3, 3); this.btnLock.Name = "btnLock"; this.btnLock.Size = new System.Drawing.Size(61, 23); this.btnLock.TabIndex = 10; this.btnLock.Text = "Lock"; this.btnLock.UseVisualStyleBackColor = true; this.btnLock.Click += new System.EventHandler(this.btnLock_Click); // // lblBoneName // this.lblBoneName.AutoSize = true; this.lblBoneName.Location = new System.Drawing.Point(134, 8); this.lblBoneName.Name = "lblBoneName"; this.lblBoneName.Size = new System.Drawing.Size(32, 13); this.lblBoneName.TabIndex = 11; this.lblBoneName.Text = "Bone"; // // btnRemove // this.btnRemove.Location = new System.Drawing.Point(67, 3); this.btnRemove.Name = "btnRemove"; this.btnRemove.Size = new System.Drawing.Size(61, 23); this.btnRemove.TabIndex = 12; this.btnRemove.Text = "Remove"; this.btnRemove.UseVisualStyleBackColor = true; this.btnRemove.Click += new System.EventHandler(this.btnRemoveBone_Click); // // panel1 // this.panel1.Controls.Add(this.btnAdd); this.panel1.Controls.Add(this.numWeight); this.panel1.Controls.Add(this.btnBlend); this.panel1.Controls.Add(this.btnPaste); this.panel1.Controls.Add(this.btnSetWeight); this.panel1.Controls.Add(this.btnCopy); this.panel1.Controls.Add(this.btnSubtract); this.panel1.Controls.Add(this.btnLock); this.panel1.Controls.Add(this.lblBoneName); this.panel1.Controls.Add(this.btnRemove); this.panel1.Dock = System.Windows.Forms.DockStyle.Right; this.panel1.Location = new System.Drawing.Point(127, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(193, 78); this.panel1.TabIndex = 14; // // splitter1 // this.splitter1.Dock = System.Windows.Forms.DockStyle.Right; this.splitter1.Location = new System.Drawing.Point(124, 0); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(3, 78); this.splitter1.TabIndex = 15; this.splitter1.TabStop = false; this.splitter1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.splitter1_MouseDown); this.splitter1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.splitter1_MouseMove); this.splitter1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.splitter1_MouseUp); // // splitter2 // this.splitter2.Dock = System.Windows.Forms.DockStyle.Top; this.splitter2.Location = new System.Drawing.Point(0, 0); this.splitter2.Name = "splitter2"; this.splitter2.Size = new System.Drawing.Size(124, 3); this.splitter2.TabIndex = 16; this.splitter2.TabStop = false; this.splitter2.SplitterMoving += new System.Windows.Forms.SplitterEventHandler(this.splitter2_SplitterMoving); this.splitter2.MouseDown += new System.Windows.Forms.MouseEventHandler(this.splitter2_MouseDown); this.splitter2.MouseMove += new System.Windows.Forms.MouseEventHandler(this.splitter2_MouseMove); this.splitter2.MouseUp += new System.Windows.Forms.MouseEventHandler(this.splitter2_MouseUp); // // WeightEditor // this.Controls.Add(this.lstBoneWeights); this.Controls.Add(this.splitter2); this.Controls.Add(this.splitter1); this.Controls.Add(this.panel1); this.Name = "WeightEditor"; this.Size = new System.Drawing.Size(320, 78); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); }
private unsafe void BoxChanged(object sender, EventArgs e) { NumericInputBox box = sender as NumericInputBox; CameraAnimationFrame kf; float *pkf = (float *)&kf; float val = box.Value; int index = (int)box.Tag; int x; if (val != _currentFrame[index]) { int kfIndex = FindKeyframe(_currentPage); if (float.IsNaN(val)) { //Value removed find keyframe and zero it out if (kfIndex >= 0) { kf = (CameraAnimationFrame)listKeyframes.Items[kfIndex]; kf.SetBools(index, false); pkf[index] = val; for (x = 0; (x < 15) && float.IsNaN(pkf[x]); x++) { ; } if (x == 15) { listKeyframes.Items.RemoveAt(kfIndex); listKeyframes.SelectedIndex = -1; } else { listKeyframes.Items[kfIndex] = kf; } } _target.RemoveKeyframe((CameraKeyframeMode)index, _currentPage); val = _target.GetAnimFrame(_currentPage)[index]; box.Value = val; } else { if (kfIndex >= 0) { kf = (CameraAnimationFrame)listKeyframes.Items[kfIndex]; kf.SetBools(index, true); pkf[index] = val; listKeyframes.Items[kfIndex] = kf; } else { kf = CameraAnimationFrame.Empty; kf.SetBools(index, true); kf.Index = _currentPage; pkf[index] = val; int count = listKeyframes.Items.Count; for (x = 0; (x < count) && (((CameraAnimationFrame)listKeyframes.Items[x]).Index < _currentPage); x++) { ; } listKeyframes.Items.Insert(x, kf); listKeyframes.SelectedIndex = x; } _target.SetKeyframe((CameraKeyframeMode)index, _currentPage, val); } _currentFrame[index] = val; UpdateBox(index); } }
private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.listKeyframes = new System.Windows.Forms.ListBox(); this.panel2 = new System.Windows.Forms.Panel(); this.numFarZ = new System.Windows.Forms.NumericInputBox(); this.numNearZ = new System.Windows.Forms.NumericInputBox(); this.label12 = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label(); this.numAspect = new System.Windows.Forms.NumericInputBox(); this.numHeight = new System.Windows.Forms.NumericInputBox(); this.label10 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.numAimY = new System.Windows.Forms.NumericInputBox(); this.numAimZ = new System.Windows.Forms.NumericInputBox(); this.label7 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.numFovY = new System.Windows.Forms.NumericInputBox(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.btnNext = new System.Windows.Forms.Button(); this.label5 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.btnPrev = new System.Windows.Forms.Button(); this.numPosY = new System.Windows.Forms.NumericInputBox(); this.numRotZ = new System.Windows.Forms.NumericInputBox(); this.lblFrameCount = new System.Windows.Forms.Label(); this.numPosX = new System.Windows.Forms.NumericInputBox(); this.numTwist = new System.Windows.Forms.NumericInputBox(); this.numRotX = new System.Windows.Forms.NumericInputBox(); this.numFrame = new System.Windows.Forms.NumericUpDown(); this.numRotY = new System.Windows.Forms.NumericInputBox(); this.numAimX = new System.Windows.Forms.NumericInputBox(); this.numPosZ = new System.Windows.Forms.NumericInputBox(); this.label9 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.groupBox1.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numFrame)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.listKeyframes); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(286, 109); this.groupBox1.TabIndex = 24; this.groupBox1.TabStop = false; this.groupBox1.Text = "Keyframes"; // // listKeyframes // this.listKeyframes.Dock = System.Windows.Forms.DockStyle.Fill; this.listKeyframes.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.listKeyframes.FormattingEnabled = true; this.listKeyframes.HorizontalScrollbar = true; this.listKeyframes.IntegralHeight = false; this.listKeyframes.ItemHeight = 14; this.listKeyframes.Location = new System.Drawing.Point(3, 16); this.listKeyframes.Name = "listKeyframes"; this.listKeyframes.Size = new System.Drawing.Size(280, 90); this.listKeyframes.TabIndex = 18; this.listKeyframes.SelectedIndexChanged += new System.EventHandler(this.listKeyframes_SelectedIndexChanged); // // panel2 // this.panel2.Controls.Add(this.numFarZ); this.panel2.Controls.Add(this.numNearZ); this.panel2.Controls.Add(this.label12); this.panel2.Controls.Add(this.label13); this.panel2.Controls.Add(this.numAspect); this.panel2.Controls.Add(this.numHeight); this.panel2.Controls.Add(this.label10); this.panel2.Controls.Add(this.label11); this.panel2.Controls.Add(this.numAimY); this.panel2.Controls.Add(this.numAimZ); this.panel2.Controls.Add(this.label7); this.panel2.Controls.Add(this.label6); this.panel2.Controls.Add(this.numFovY); this.panel2.Controls.Add(this.label3); this.panel2.Controls.Add(this.label2); this.panel2.Controls.Add(this.btnNext); this.panel2.Controls.Add(this.label5); this.panel2.Controls.Add(this.label4); this.panel2.Controls.Add(this.btnPrev); this.panel2.Controls.Add(this.numPosY); this.panel2.Controls.Add(this.numRotZ); this.panel2.Controls.Add(this.lblFrameCount); this.panel2.Controls.Add(this.numPosX); this.panel2.Controls.Add(this.numTwist); this.panel2.Controls.Add(this.numRotX); this.panel2.Controls.Add(this.numFrame); this.panel2.Controls.Add(this.numRotY); this.panel2.Controls.Add(this.numAimX); this.panel2.Controls.Add(this.numPosZ); this.panel2.Controls.Add(this.label9); this.panel2.Controls.Add(this.label1); this.panel2.Controls.Add(this.label8); this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel2.Location = new System.Drawing.Point(0, 109); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(286, 167); this.panel2.TabIndex = 25; // // numFarZ // this.numFarZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numFarZ.Location = new System.Drawing.Point(211, 141); this.numFarZ.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numFarZ.Name = "numFarZ"; this.numFarZ.Size = new System.Drawing.Size(70, 20); this.numFarZ.TabIndex = 29; this.numFarZ.Text = "0"; this.numFarZ.ValueChanged += new System.EventHandler(this.BoxChanged); // // numNearZ // this.numNearZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numNearZ.Location = new System.Drawing.Point(73, 141); this.numNearZ.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numNearZ.Name = "numNearZ"; this.numNearZ.Size = new System.Drawing.Size(70, 20); this.numNearZ.TabIndex = 28; this.numNearZ.Text = "0"; this.numNearZ.ValueChanged += new System.EventHandler(this.BoxChanged); // // label12 // this.label12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label12.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label12.Location = new System.Drawing.Point(142, 141); this.label12.Margin = new System.Windows.Forms.Padding(0); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(70, 20); this.label12.TabIndex = 27; this.label12.Text = "Far Z"; this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label13 // this.label13.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label13.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label13.Location = new System.Drawing.Point(4, 141); this.label13.Margin = new System.Windows.Forms.Padding(0); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(70, 20); this.label13.TabIndex = 26; this.label13.Text = "Near Z"; this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numAspect // this.numAspect.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numAspect.Location = new System.Drawing.Point(211, 122); this.numAspect.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numAspect.Name = "numAspect"; this.numAspect.Size = new System.Drawing.Size(70, 20); this.numAspect.TabIndex = 25; this.numAspect.Text = "0"; this.numAspect.ValueChanged += new System.EventHandler(this.BoxChanged); // // numHeight // this.numHeight.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numHeight.Location = new System.Drawing.Point(73, 122); this.numHeight.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numHeight.Name = "numHeight"; this.numHeight.Size = new System.Drawing.Size(70, 20); this.numHeight.TabIndex = 24; this.numHeight.Text = "0"; this.numHeight.ValueChanged += new System.EventHandler(this.BoxChanged); // // label10 // this.label10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label10.Location = new System.Drawing.Point(142, 122); this.label10.Margin = new System.Windows.Forms.Padding(0); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(70, 20); this.label10.TabIndex = 23; this.label10.Text = "Aspect"; this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label11 // this.label11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label11.Location = new System.Drawing.Point(4, 122); this.label11.Margin = new System.Windows.Forms.Padding(0); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(70, 20); this.label11.TabIndex = 22; this.label11.Text = "Height"; this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numAimY // this.numAimY.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numAimY.Location = new System.Drawing.Point(142, 84); this.numAimY.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numAimY.Name = "numAimY"; this.numAimY.Size = new System.Drawing.Size(70, 20); this.numAimY.TabIndex = 21; this.numAimY.Text = "0"; this.numAimY.ValueChanged += new System.EventHandler(this.BoxChanged); // // numAimZ // this.numAimZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numAimZ.Location = new System.Drawing.Point(211, 84); this.numAimZ.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numAimZ.Name = "numAimZ"; this.numAimZ.Size = new System.Drawing.Size(70, 20); this.numAimZ.TabIndex = 19; this.numAimZ.Text = "0"; this.numAimZ.ValueChanged += new System.EventHandler(this.BoxChanged); // // label7 // this.label7.Location = new System.Drawing.Point(70, 4); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(41, 20); this.label7.TabIndex = 15; this.label7.Text = "Frame:"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label6 // this.label6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label6.Location = new System.Drawing.Point(211, 27); this.label6.Margin = new System.Windows.Forms.Padding(0); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(70, 20); this.label6.TabIndex = 8; this.label6.Text = "Z"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // numFovY // this.numFovY.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numFovY.Location = new System.Drawing.Point(211, 103); this.numFovY.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numFovY.Name = "numFovY"; this.numFovY.Size = new System.Drawing.Size(70, 20); this.numFovY.TabIndex = 13; this.numFovY.Text = "0"; this.numFovY.ValueChanged += new System.EventHandler(this.BoxChanged); // // label3 // this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label3.Location = new System.Drawing.Point(4, 65); this.label3.Margin = new System.Windows.Forms.Padding(0); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(70, 20); this.label3.TabIndex = 2; this.label3.Text = "Rotation"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label2 // this.label2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label2.Location = new System.Drawing.Point(4, 84); this.label2.Margin = new System.Windows.Forms.Padding(0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(70, 20); this.label2.TabIndex = 1; this.label2.Text = "Aim"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // btnNext // this.btnNext.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnNext.Location = new System.Drawing.Point(241, 2); this.btnNext.Name = "btnNext"; this.btnNext.Size = new System.Drawing.Size(23, 23); this.btnNext.TabIndex = 2; this.btnNext.Text = ">"; this.btnNext.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.btnNext.UseVisualStyleBackColor = true; this.btnNext.Click += new System.EventHandler(this.btnNext_Click); // // label5 // this.label5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label5.Location = new System.Drawing.Point(142, 27); this.label5.Margin = new System.Windows.Forms.Padding(0); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(70, 20); this.label5.TabIndex = 7; this.label5.Text = "Y"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label4 // this.label4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label4.Location = new System.Drawing.Point(73, 27); this.label4.Margin = new System.Windows.Forms.Padding(0); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(70, 20); this.label4.TabIndex = 4; this.label4.Text = "X"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // btnPrev // this.btnPrev.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnPrev.Location = new System.Drawing.Point(216, 2); this.btnPrev.Name = "btnPrev"; this.btnPrev.Size = new System.Drawing.Size(23, 23); this.btnPrev.TabIndex = 1; this.btnPrev.Text = "<"; this.btnPrev.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.btnPrev.UseVisualStyleBackColor = true; this.btnPrev.Click += new System.EventHandler(this.btnPrev_Click); // // numPosY // this.numPosY.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numPosY.Location = new System.Drawing.Point(142, 46); this.numPosY.Margin = new System.Windows.Forms.Padding(0); this.numPosY.Name = "numPosY"; this.numPosY.Size = new System.Drawing.Size(70, 20); this.numPosY.TabIndex = 4; this.numPosY.Text = "0"; this.numPosY.ValueChanged += new System.EventHandler(this.BoxChanged); // // numRotZ // this.numRotZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numRotZ.Location = new System.Drawing.Point(211, 65); this.numRotZ.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numRotZ.Name = "numRotZ"; this.numRotZ.Size = new System.Drawing.Size(70, 20); this.numRotZ.TabIndex = 8; this.numRotZ.Text = "0"; this.numRotZ.ValueChanged += new System.EventHandler(this.BoxChanged); // // lblFrameCount // this.lblFrameCount.Location = new System.Drawing.Point(181, 4); this.lblFrameCount.Name = "lblFrameCount"; this.lblFrameCount.Size = new System.Drawing.Size(29, 20); this.lblFrameCount.TabIndex = 17; this.lblFrameCount.Text = "/ 10"; this.lblFrameCount.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // numPosX // this.numPosX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numPosX.Location = new System.Drawing.Point(73, 46); this.numPosX.Margin = new System.Windows.Forms.Padding(0); this.numPosX.Name = "numPosX"; this.numPosX.Size = new System.Drawing.Size(70, 20); this.numPosX.TabIndex = 3; this.numPosX.Text = "0"; this.numPosX.ValueChanged += new System.EventHandler(this.BoxChanged); // // numTwist // this.numTwist.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numTwist.Location = new System.Drawing.Point(73, 103); this.numTwist.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numTwist.Name = "numTwist"; this.numTwist.Size = new System.Drawing.Size(70, 20); this.numTwist.TabIndex = 12; this.numTwist.Text = "0"; this.numTwist.ValueChanged += new System.EventHandler(this.BoxChanged); // // numRotX // this.numRotX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numRotX.Location = new System.Drawing.Point(73, 65); this.numRotX.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numRotX.Name = "numRotX"; this.numRotX.Size = new System.Drawing.Size(70, 20); this.numRotX.TabIndex = 6; this.numRotX.Text = "0"; this.numRotX.ValueChanged += new System.EventHandler(this.BoxChanged); // // numFrame // this.numFrame.Location = new System.Drawing.Point(117, 4); this.numFrame.Minimum = new decimal(new int[] { 1, 0, 0, 0}); this.numFrame.Name = "numFrame"; this.numFrame.Size = new System.Drawing.Size(58, 20); this.numFrame.TabIndex = 0; this.numFrame.Value = new decimal(new int[] { 1, 0, 0, 0}); this.numFrame.ValueChanged += new System.EventHandler(this.numFrame_ValueChanged); // // numRotY // this.numRotY.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numRotY.Location = new System.Drawing.Point(142, 65); this.numRotY.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numRotY.Name = "numRotY"; this.numRotY.Size = new System.Drawing.Size(70, 20); this.numRotY.TabIndex = 7; this.numRotY.Text = "0"; this.numRotY.ValueChanged += new System.EventHandler(this.BoxChanged); // // numAimX // this.numAimX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numAimX.Location = new System.Drawing.Point(73, 84); this.numAimX.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numAimX.Name = "numAimX"; this.numAimX.Size = new System.Drawing.Size(70, 20); this.numAimX.TabIndex = 11; this.numAimX.Text = "0"; this.numAimX.ValueChanged += new System.EventHandler(this.BoxChanged); // // numPosZ // this.numPosZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numPosZ.Location = new System.Drawing.Point(211, 46); this.numPosZ.Margin = new System.Windows.Forms.Padding(0); this.numPosZ.Name = "numPosZ"; this.numPosZ.Size = new System.Drawing.Size(70, 20); this.numPosZ.TabIndex = 5; this.numPosZ.Text = "0"; this.numPosZ.ValueChanged += new System.EventHandler(this.BoxChanged); // // label9 // this.label9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label9.Location = new System.Drawing.Point(142, 103); this.label9.Margin = new System.Windows.Forms.Padding(0); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(70, 20); this.label9.TabIndex = 10; this.label9.Text = "Fov Y"; this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label1 // this.label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label1.Location = new System.Drawing.Point(4, 46); this.label1.Margin = new System.Windows.Forms.Padding(0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(70, 20); this.label1.TabIndex = 0; this.label1.Text = "Position"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label8 // this.label8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label8.Location = new System.Drawing.Point(4, 103); this.label8.Margin = new System.Windows.Forms.Padding(0); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(70, 20); this.label8.TabIndex = 9; this.label8.Text = "Twist"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // SCN0CameraEditControl // this.Controls.Add(this.groupBox1); this.Controls.Add(this.panel2); this.Name = "SCN0CameraEditControl"; this.Size = new System.Drawing.Size(286, 276); this.groupBox1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.numFrame)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { label3 = new Label(); numPosZ = new NumericInputBox(); label2 = new Label(); numPosY = new NumericInputBox(); label1 = new Label(); numPosX = new NumericInputBox(); groupBox1 = new GroupBox(); groupBox2 = new GroupBox(); numNormZ = new NumericInputBox(); label4 = new Label(); numNormX = new NumericInputBox(); label5 = new Label(); label6 = new Label(); numNormY = new NumericInputBox(); groupBox4 = new GroupBox(); colorBox = new Label(); colorIndex = new ComboBox(); btnAverage = new Button(); label7 = new Label(); comboBox1 = new ComboBox(); label8 = new Label(); groupBox1.SuspendLayout(); groupBox2.SuspendLayout(); groupBox4.SuspendLayout(); SuspendLayout(); // // label3 // label3.BorderStyle = BorderStyle.FixedSingle; label3.Location = new Drawing.Point(6, 54); label3.Name = "label3"; label3.Size = new Drawing.Size(22, 20); label3.TabIndex = 7; label3.Text = "Z: "; label3.TextAlign = Drawing.ContentAlignment.MiddleLeft; // // numPosZ // numPosZ.BorderStyle = BorderStyle.FixedSingle; numPosZ.Integral = false; numPosZ.Location = new Drawing.Point(27, 54); numPosZ.MaximumValue = 3.402823E+38F; numPosZ.MinimumValue = -3.402823E+38F; numPosZ.Name = "numPosZ"; numPosZ.Size = new Drawing.Size(78, 20); numPosZ.TabIndex = 6; numPosZ.Text = "0"; numPosZ.ValueChanged += new EventHandler(numPosZ_TextChanged); // // label2 // label2.BorderStyle = BorderStyle.FixedSingle; label2.Location = new Drawing.Point(6, 35); label2.Name = "label2"; label2.Size = new Drawing.Size(22, 20); label2.TabIndex = 5; label2.Text = "Y: "; label2.TextAlign = Drawing.ContentAlignment.MiddleLeft; // // numPosY // numPosY.BorderStyle = BorderStyle.FixedSingle; numPosY.Integral = false; numPosY.Location = new Drawing.Point(27, 35); numPosY.MaximumValue = 3.402823E+38F; numPosY.MinimumValue = -3.402823E+38F; numPosY.Name = "numPosY"; numPosY.Size = new Drawing.Size(78, 20); numPosY.TabIndex = 4; numPosY.Text = "0"; numPosY.ValueChanged += new EventHandler(numPosY_TextChanged); // // label1 // label1.BorderStyle = BorderStyle.FixedSingle; label1.Location = new Drawing.Point(6, 16); label1.Name = "label1"; label1.Size = new Drawing.Size(22, 20); label1.TabIndex = 3; label1.Text = "X: "; label1.TextAlign = Drawing.ContentAlignment.MiddleLeft; // // numPosX // numPosX.BorderStyle = BorderStyle.FixedSingle; numPosX.Integral = false; numPosX.Location = new Drawing.Point(27, 16); numPosX.MaximumValue = 3.402823E+38F; numPosX.MinimumValue = -3.402823E+38F; numPosX.Name = "numPosX"; numPosX.Size = new Drawing.Size(78, 20); numPosX.TabIndex = 0; numPosX.Text = "0"; numPosX.ValueChanged += new EventHandler(numPosX_TextChanged); // // groupBox1 // groupBox1.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; groupBox1.Controls.Add(numPosZ); groupBox1.Controls.Add(label3); groupBox1.Controls.Add(numPosX); groupBox1.Controls.Add(label1); groupBox1.Controls.Add(label2); groupBox1.Controls.Add(numPosY); groupBox1.Enabled = false; groupBox1.Location = new Drawing.Point(3, 3); groupBox1.Name = "groupBox1"; groupBox1.Size = new Drawing.Size(111, 82); groupBox1.TabIndex = 8; groupBox1.TabStop = false; groupBox1.Text = "Position"; // // groupBox2 // groupBox2.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; groupBox2.Controls.Add(numNormZ); groupBox2.Controls.Add(label4); groupBox2.Controls.Add(numNormX); groupBox2.Controls.Add(label5); groupBox2.Controls.Add(label6); groupBox2.Controls.Add(numNormY); groupBox2.Location = new Drawing.Point(231, 3); groupBox2.Name = "groupBox2"; groupBox2.Size = new Drawing.Size(111, 82); groupBox2.TabIndex = 9; groupBox2.TabStop = false; groupBox2.Text = "Normal"; groupBox2.Visible = false; // // numNormZ // numNormZ.BorderStyle = BorderStyle.FixedSingle; numNormZ.Integral = false; numNormZ.Location = new Drawing.Point(27, 54); numNormZ.MaximumValue = 3.402823E+38F; numNormZ.MinimumValue = -3.402823E+38F; numNormZ.Name = "numNormZ"; numNormZ.Size = new Drawing.Size(78, 20); numNormZ.TabIndex = 6; numNormZ.Text = "0"; numNormZ.ValueChanged += new EventHandler(numNormZ_ValueChanged); // // label4 // label4.BorderStyle = BorderStyle.FixedSingle; label4.Location = new Drawing.Point(6, 54); label4.Name = "label4"; label4.Size = new Drawing.Size(22, 20); label4.TabIndex = 7; label4.Text = "Z: "; label4.TextAlign = Drawing.ContentAlignment.MiddleLeft; // // numNormX // numNormX.BorderStyle = BorderStyle.FixedSingle; numNormX.Integral = false; numNormX.Location = new Drawing.Point(27, 16); numNormX.MaximumValue = 3.402823E+38F; numNormX.MinimumValue = -3.402823E+38F; numNormX.Name = "numNormX"; numNormX.Size = new Drawing.Size(78, 20); numNormX.TabIndex = 0; numNormX.Text = "0"; numNormX.ValueChanged += new EventHandler(numNormX_ValueChanged); // // label5 // label5.BorderStyle = BorderStyle.FixedSingle; label5.Location = new Drawing.Point(6, 16); label5.Name = "label5"; label5.Size = new Drawing.Size(22, 20); label5.TabIndex = 3; label5.Text = "X: "; label5.TextAlign = Drawing.ContentAlignment.MiddleLeft; // // label6 // label6.BorderStyle = BorderStyle.FixedSingle; label6.Location = new Drawing.Point(6, 35); label6.Name = "label6"; label6.Size = new Drawing.Size(22, 20); label6.TabIndex = 5; label6.Text = "Y: "; label6.TextAlign = Drawing.ContentAlignment.MiddleLeft; // // numNormY // numNormY.BorderStyle = BorderStyle.FixedSingle; numNormY.Integral = false; numNormY.Location = new Drawing.Point(27, 35); numNormY.MaximumValue = 3.402823E+38F; numNormY.MinimumValue = -3.402823E+38F; numNormY.Name = "numNormY"; numNormY.Size = new Drawing.Size(78, 20); numNormY.TabIndex = 4; numNormY.Text = "0"; numNormY.ValueChanged += new EventHandler(numNormY_ValueChanged); // // groupBox4 // groupBox4.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; groupBox4.Controls.Add(colorBox); groupBox4.Controls.Add(colorIndex); groupBox4.Location = new Drawing.Point(348, 3); groupBox4.Name = "groupBox4"; groupBox4.Size = new Drawing.Size(111, 82); groupBox4.TabIndex = 11; groupBox4.TabStop = false; groupBox4.Text = "Color"; groupBox4.Visible = false; // // colorBox // colorBox.Anchor = AnchorStyles.Top | AnchorStyles.Right; colorBox.BorderStyle = BorderStyle.FixedSingle; colorBox.Cursor = Cursors.Hand; colorBox.Location = new Drawing.Point(6, 36); colorBox.Name = "colorBox"; colorBox.Size = new Drawing.Size(99, 38); colorBox.TabIndex = 12; colorBox.DoubleClick += new EventHandler(colorBox_Click); // // colorIndex // colorIndex.DropDownStyle = ComboBoxStyle.DropDownList; colorIndex.FormattingEnabled = true; colorIndex.Items.AddRange(new object[] { "Color 0", "Color 1" }); colorIndex.Location = new Drawing.Point(6, 14); colorIndex.Name = "colorIndex"; colorIndex.Size = new Drawing.Size(99, 21); colorIndex.TabIndex = 7; colorIndex.SelectedIndexChanged += new EventHandler(colorIndex_SelectedIndexChanged); // // btnAverage // btnAverage.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; btnAverage.Enabled = false; btnAverage.Location = new Drawing.Point(120, 54); btnAverage.Name = "btnAverage"; btnAverage.Size = new Drawing.Size(105, 23); btnAverage.TabIndex = 12; btnAverage.Text = "Average"; btnAverage.UseVisualStyleBackColor = true; btnAverage.Click += new EventHandler(btnAverage_Click); // // label7 // label7.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; label7.AutoSize = true; label7.Location = new Drawing.Point(120, 38); label7.Name = "label7"; label7.Size = new Drawing.Size(104, 13); label7.TabIndex = 13; label7.Text = "No vertices selected"; // // comboBox1 // comboBox1.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; comboBox1.DropDownStyle = ComboBoxStyle.DropDownList; comboBox1.FormattingEnabled = true; comboBox1.Location = new Drawing.Point(98, -22); comboBox1.Name = "comboBox1"; comboBox1.Size = new Drawing.Size(121, 21); comboBox1.TabIndex = 14; // // label8 // label8.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; label8.AutoSize = true; label8.Location = new Drawing.Point(6, -19); label8.Name = "label8"; label8.Size = new Drawing.Size(86, 13); label8.TabIndex = 15; label8.Text = "Facepoint Index:"; // // VertexEditor // Controls.Add(label8); Controls.Add(comboBox1); Controls.Add(label7); Controls.Add(btnAverage); Controls.Add(groupBox4); Controls.Add(groupBox2); Controls.Add(groupBox1); MinimumSize = new Drawing.Size(230, 85); Name = "VertexEditor"; Size = new Drawing.Size(230, 85); groupBox1.ResumeLayout(false); groupBox1.PerformLayout(); groupBox2.ResumeLayout(false); groupBox2.PerformLayout(); groupBox4.ResumeLayout(false); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { this.tabControl1 = new System.Windows.Forms.TabControl(); this.LightSets = new System.Windows.Forms.TabPage(); this.lstLight7 = new System.Windows.Forms.ComboBox(); this.lstLight6 = new System.Windows.Forms.ComboBox(); this.lstLight5 = new System.Windows.Forms.ComboBox(); this.lstLight4 = new System.Windows.Forms.ComboBox(); this.lstLight3 = new System.Windows.Forms.ComboBox(); this.lstLight2 = new System.Windows.Forms.ComboBox(); this.lstLight1 = new System.Windows.Forms.ComboBox(); this.lstLight0 = new System.Windows.Forms.ComboBox(); this.label38 = new System.Windows.Forms.Label(); this.label37 = new System.Windows.Forms.Label(); this.label34 = new System.Windows.Forms.Label(); this.label35 = new System.Windows.Forms.Label(); this.label36 = new System.Windows.Forms.Label(); this.label32 = new System.Windows.Forms.Label(); this.label31 = new System.Windows.Forms.Label(); this.label33 = new System.Windows.Forms.Label(); this.label30 = new System.Windows.Forms.Label(); this.lstAmb = new System.Windows.Forms.ComboBox(); this.AmbLights = new System.Windows.Forms.TabPage(); this.chkAmbAlpha = new System.Windows.Forms.CheckBox(); this.chkAmbClr = new System.Windows.Forms.CheckBox(); this.Lights = new System.Windows.Forms.TabPage(); this.groupBox6 = new System.Windows.Forms.GroupBox(); this.lightCut = new System.Windows.Forms.Button(); this.lightPaste = new System.Windows.Forms.Button(); this.lightCopy = new System.Windows.Forms.Button(); this.lightClear = new System.Windows.Forms.Button(); this.label25 = new System.Windows.Forms.Label(); this.label26 = new System.Windows.Forms.Label(); this.numSpotBright = new System.Windows.Forms.NumericInputBox(); this.label24 = new System.Windows.Forms.Label(); this.label18 = new System.Windows.Forms.Label(); this.numStartZ = new System.Windows.Forms.NumericInputBox(); this.numRefBright = new System.Windows.Forms.NumericInputBox(); this.numSpotCut = new System.Windows.Forms.NumericInputBox(); this.label19 = new System.Windows.Forms.Label(); this.numEndY = new System.Windows.Forms.NumericInputBox(); this.label20 = new System.Windows.Forms.Label(); this.numEndX = new System.Windows.Forms.NumericInputBox(); this.label21 = new System.Windows.Forms.Label(); this.numRefDist = new System.Windows.Forms.NumericInputBox(); this.label22 = new System.Windows.Forms.Label(); this.numStartX = new System.Windows.Forms.NumericInputBox(); this.numStartY = new System.Windows.Forms.NumericInputBox(); this.numEndZ = new System.Windows.Forms.NumericInputBox(); this.label23 = new System.Windows.Forms.Label(); this.groupBox5 = new System.Windows.Forms.GroupBox(); this.lstSpotFunc = new System.Windows.Forms.ComboBox(); this.lstDistFunc = new System.Windows.Forms.ComboBox(); this.label29 = new System.Windows.Forms.Label(); this.label28 = new System.Windows.Forms.Label(); this.chkLightSpec = new System.Windows.Forms.CheckBox(); this.chkLightAlpha = new System.Windows.Forms.CheckBox(); this.chkLightClr = new System.Windows.Forms.CheckBox(); this.label27 = new System.Windows.Forms.Label(); this.lstLightType = new System.Windows.Forms.ComboBox(); this.Fog = new System.Windows.Forms.TabPage(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.button3 = new System.Windows.Forms.Button(); this.button4 = new System.Windows.Forms.Button(); this.label16 = new System.Windows.Forms.Label(); this.numFogEndZ = new System.Windows.Forms.NumericInputBox(); this.numFogStartZ = new System.Windows.Forms.NumericInputBox(); this.label17 = new System.Windows.Forms.Label(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.label15 = new System.Windows.Forms.Label(); this.comboBox3 = new System.Windows.Forms.ComboBox(); this.Cameras = new System.Windows.Forms.TabPage(); this.panel2 = new System.Windows.Forms.Panel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.label11 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.numPosZ = new System.Windows.Forms.NumericInputBox(); this.btnCut = new System.Windows.Forms.Button(); this.btnPaste = new System.Windows.Forms.Button(); this.btnCopy = new System.Windows.Forms.Button(); this.btnClear = new System.Windows.Forms.Button(); this.numAimX = new System.Windows.Forms.NumericInputBox(); this.numFarZ = new System.Windows.Forms.NumericInputBox(); this.numRotY = new System.Windows.Forms.NumericInputBox(); this.numNearZ = new System.Windows.Forms.NumericInputBox(); this.numRotX = new System.Windows.Forms.NumericInputBox(); this.label12 = new System.Windows.Forms.Label(); this.numTwist = new System.Windows.Forms.NumericInputBox(); this.label13 = new System.Windows.Forms.Label(); this.numPosX = new System.Windows.Forms.NumericInputBox(); this.numAspect = new System.Windows.Forms.NumericInputBox(); this.numRotZ = new System.Windows.Forms.NumericInputBox(); this.numHeight = new System.Windows.Forms.NumericInputBox(); this.numPosY = new System.Windows.Forms.NumericInputBox(); this.label10 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.numAimY = new System.Windows.Forms.NumericInputBox(); this.label2 = new System.Windows.Forms.Label(); this.numAimZ = new System.Windows.Forms.NumericInputBox(); this.label3 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.numFovY = new System.Windows.Forms.NumericInputBox(); this.panel1 = new System.Windows.Forms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.lstCamProj = new System.Windows.Forms.ComboBox(); this.label14 = new System.Windows.Forms.Label(); this.lstCamType = new System.Windows.Forms.ComboBox(); this.label7 = new System.Windows.Forms.Label(); this.nodeType = new System.Windows.Forms.Label(); this.nodeList = new System.Windows.Forms.ComboBox(); this.btnRename = new System.Windows.Forms.Button(); this.tabControl1.SuspendLayout(); this.LightSets.SuspendLayout(); this.AmbLights.SuspendLayout(); this.Lights.SuspendLayout(); this.groupBox6.SuspendLayout(); this.groupBox5.SuspendLayout(); this.Fog.SuspendLayout(); this.groupBox4.SuspendLayout(); this.groupBox3.SuspendLayout(); this.Cameras.SuspendLayout(); this.panel2.SuspendLayout(); this.groupBox2.SuspendLayout(); this.panel1.SuspendLayout(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // tabControl1 // this.tabControl1.Appearance = System.Windows.Forms.TabAppearance.FlatButtons; this.tabControl1.Controls.Add(this.LightSets); this.tabControl1.Controls.Add(this.AmbLights); this.tabControl1.Controls.Add(this.Lights); this.tabControl1.Controls.Add(this.Fog); this.tabControl1.Controls.Add(this.Cameras); this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl1.Location = new System.Drawing.Point(0, 0); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(686, 187); this.tabControl1.TabIndex = 0; this.tabControl1.Selected += new System.Windows.Forms.TabControlEventHandler(this.tabControl1_Selected); // // LightSets // this.LightSets.Controls.Add(this.lstLight7); this.LightSets.Controls.Add(this.lstLight6); this.LightSets.Controls.Add(this.lstLight5); this.LightSets.Controls.Add(this.lstLight4); this.LightSets.Controls.Add(this.lstLight3); this.LightSets.Controls.Add(this.lstLight2); this.LightSets.Controls.Add(this.lstLight1); this.LightSets.Controls.Add(this.lstLight0); this.LightSets.Controls.Add(this.label38); this.LightSets.Controls.Add(this.label37); this.LightSets.Controls.Add(this.label34); this.LightSets.Controls.Add(this.label35); this.LightSets.Controls.Add(this.label36); this.LightSets.Controls.Add(this.label32); this.LightSets.Controls.Add(this.label31); this.LightSets.Controls.Add(this.label33); this.LightSets.Controls.Add(this.label30); this.LightSets.Controls.Add(this.lstAmb); this.LightSets.Location = new System.Drawing.Point(4, 25); this.LightSets.Name = "LightSets"; this.LightSets.Padding = new System.Windows.Forms.Padding(3); this.LightSets.Size = new System.Drawing.Size(678, 158); this.LightSets.TabIndex = 0; this.LightSets.Text = "LightSets"; this.LightSets.UseVisualStyleBackColor = true; // // lstLight7 // this.lstLight7.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.lstLight7.FormattingEnabled = true; this.lstLight7.Location = new System.Drawing.Point(536, 20); this.lstLight7.Name = "lstLight7"; this.lstLight7.Size = new System.Drawing.Size(82, 21); this.lstLight7.TabIndex = 19; this.lstLight7.SelectedIndexChanged += new System.EventHandler(this.lstLight7_SelectedIndexChanged); // // lstLight6 // this.lstLight6.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.lstLight6.FormattingEnabled = true; this.lstLight6.Location = new System.Drawing.Point(536, 0); this.lstLight6.Name = "lstLight6"; this.lstLight6.Size = new System.Drawing.Size(82, 21); this.lstLight6.TabIndex = 18; this.lstLight6.SelectedIndexChanged += new System.EventHandler(this.lstLight6_SelectedIndexChanged); // // lstLight5 // this.lstLight5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.lstLight5.FormattingEnabled = true; this.lstLight5.Location = new System.Drawing.Point(402, 20); this.lstLight5.Name = "lstLight5"; this.lstLight5.Size = new System.Drawing.Size(82, 21); this.lstLight5.TabIndex = 17; this.lstLight5.SelectedIndexChanged += new System.EventHandler(this.lstLight5_SelectedIndexChanged); // // lstLight4 // this.lstLight4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.lstLight4.FormattingEnabled = true; this.lstLight4.Location = new System.Drawing.Point(402, 0); this.lstLight4.Name = "lstLight4"; this.lstLight4.Size = new System.Drawing.Size(82, 21); this.lstLight4.TabIndex = 16; this.lstLight4.SelectedIndexChanged += new System.EventHandler(this.lstLight4_SelectedIndexChanged); // // lstLight3 // this.lstLight3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.lstLight3.FormattingEnabled = true; this.lstLight3.Location = new System.Drawing.Point(268, 20); this.lstLight3.Name = "lstLight3"; this.lstLight3.Size = new System.Drawing.Size(82, 21); this.lstLight3.TabIndex = 15; this.lstLight3.SelectedIndexChanged += new System.EventHandler(this.lstLight3_SelectedIndexChanged); // // lstLight2 // this.lstLight2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.lstLight2.FormattingEnabled = true; this.lstLight2.Location = new System.Drawing.Point(268, 0); this.lstLight2.Name = "lstLight2"; this.lstLight2.Size = new System.Drawing.Size(82, 21); this.lstLight2.TabIndex = 14; this.lstLight2.SelectedIndexChanged += new System.EventHandler(this.lstLight2_SelectedIndexChanged); // // lstLight1 // this.lstLight1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.lstLight1.FormattingEnabled = true; this.lstLight1.Location = new System.Drawing.Point(134, 20); this.lstLight1.Name = "lstLight1"; this.lstLight1.Size = new System.Drawing.Size(82, 21); this.lstLight1.TabIndex = 13; this.lstLight1.SelectedIndexChanged += new System.EventHandler(this.lstLight1_SelectedIndexChanged); // // lstLight0 // this.lstLight0.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.lstLight0.FormattingEnabled = true; this.lstLight0.Location = new System.Drawing.Point(134, 0); this.lstLight0.Name = "lstLight0"; this.lstLight0.Size = new System.Drawing.Size(82, 21); this.lstLight0.TabIndex = 12; this.lstLight0.SelectedIndexChanged += new System.EventHandler(this.lstLight0_SelectedIndexChanged); // // label38 // this.label38.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label38.Location = new System.Drawing.Point(483, 20); this.label38.Name = "label38"; this.label38.Size = new System.Drawing.Size(54, 21); this.label38.TabIndex = 10; this.label38.Text = "Light 7:"; this.label38.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label37 // this.label37.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label37.Location = new System.Drawing.Point(483, 0); this.label37.Name = "label37"; this.label37.Size = new System.Drawing.Size(54, 21); this.label37.TabIndex = 9; this.label37.Text = "Light 6:"; this.label37.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label34 // this.label34.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label34.Location = new System.Drawing.Point(349, 20); this.label34.Name = "label34"; this.label34.Size = new System.Drawing.Size(54, 21); this.label34.TabIndex = 8; this.label34.Text = "Light 5:"; this.label34.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label35 // this.label35.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label35.Location = new System.Drawing.Point(349, 0); this.label35.Name = "label35"; this.label35.Size = new System.Drawing.Size(54, 21); this.label35.TabIndex = 7; this.label35.Text = "Light 4:"; this.label35.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label36 // this.label36.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label36.Location = new System.Drawing.Point(215, 20); this.label36.Name = "label36"; this.label36.Size = new System.Drawing.Size(54, 21); this.label36.TabIndex = 6; this.label36.Text = "Light 3:"; this.label36.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label32 // this.label32.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label32.Location = new System.Drawing.Point(215, 0); this.label32.Name = "label32"; this.label32.Size = new System.Drawing.Size(54, 21); this.label32.TabIndex = 5; this.label32.Text = "Light 2:"; this.label32.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label31 // this.label31.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label31.Location = new System.Drawing.Point(81, 20); this.label31.Name = "label31"; this.label31.Size = new System.Drawing.Size(54, 21); this.label31.TabIndex = 4; this.label31.Text = "Light 1:"; this.label31.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label33 // this.label33.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label33.Location = new System.Drawing.Point(81, 0); this.label33.Name = "label33"; this.label33.Size = new System.Drawing.Size(54, 21); this.label33.TabIndex = 3; this.label33.Text = "Light 0:"; this.label33.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label30 // this.label30.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label30.Location = new System.Drawing.Point(0, 0); this.label30.Name = "label30"; this.label30.Size = new System.Drawing.Size(82, 21); this.label30.TabIndex = 0; this.label30.Text = "Ambient: "; this.label30.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lstAmb // this.lstAmb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.lstAmb.FormattingEnabled = true; this.lstAmb.Location = new System.Drawing.Point(0, 20); this.lstAmb.Name = "lstAmb"; this.lstAmb.Size = new System.Drawing.Size(82, 21); this.lstAmb.TabIndex = 11; this.lstAmb.SelectedIndexChanged += new System.EventHandler(this.lstAmb_SelectedIndexChanged); // // AmbLights // this.AmbLights.Controls.Add(this.chkAmbAlpha); this.AmbLights.Controls.Add(this.chkAmbClr); this.AmbLights.Location = new System.Drawing.Point(4, 25); this.AmbLights.Name = "AmbLights"; this.AmbLights.Padding = new System.Windows.Forms.Padding(3); this.AmbLights.Size = new System.Drawing.Size(678, 158); this.AmbLights.TabIndex = 1; this.AmbLights.Text = "AmbLights"; this.AmbLights.UseVisualStyleBackColor = true; // // chkAmbAlpha // this.chkAmbAlpha.AutoSize = true; this.chkAmbAlpha.Location = new System.Drawing.Point(6, 24); this.chkAmbAlpha.Name = "chkAmbAlpha"; this.chkAmbAlpha.Size = new System.Drawing.Size(95, 17); this.chkAmbAlpha.TabIndex = 6; this.chkAmbAlpha.Text = "Alpha Enabled"; this.chkAmbAlpha.UseVisualStyleBackColor = true; this.chkAmbAlpha.CheckedChanged += new System.EventHandler(this.chkAmbAlpha_CheckedChanged); // // chkAmbClr // this.chkAmbClr.AutoSize = true; this.chkAmbClr.Location = new System.Drawing.Point(6, 6); this.chkAmbClr.Name = "chkAmbClr"; this.chkAmbClr.Size = new System.Drawing.Size(92, 17); this.chkAmbClr.TabIndex = 5; this.chkAmbClr.Text = "Color Enabled"; this.chkAmbClr.UseVisualStyleBackColor = true; this.chkAmbClr.CheckedChanged += new System.EventHandler(this.chkAmbClr_CheckedChanged); // // Lights // this.Lights.Controls.Add(this.groupBox6); this.Lights.Controls.Add(this.groupBox5); this.Lights.Location = new System.Drawing.Point(4, 25); this.Lights.Name = "Lights"; this.Lights.Size = new System.Drawing.Size(678, 158); this.Lights.TabIndex = 2; this.Lights.Text = "Lights"; this.Lights.UseVisualStyleBackColor = true; // // groupBox6 // this.groupBox6.Controls.Add(this.lightCut); this.groupBox6.Controls.Add(this.lightPaste); this.groupBox6.Controls.Add(this.lightCopy); this.groupBox6.Controls.Add(this.lightClear); this.groupBox6.Controls.Add(this.label25); this.groupBox6.Controls.Add(this.label26); this.groupBox6.Controls.Add(this.numSpotBright); this.groupBox6.Controls.Add(this.label24); this.groupBox6.Controls.Add(this.label18); this.groupBox6.Controls.Add(this.numStartZ); this.groupBox6.Controls.Add(this.numRefBright); this.groupBox6.Controls.Add(this.numSpotCut); this.groupBox6.Controls.Add(this.label19); this.groupBox6.Controls.Add(this.numEndY); this.groupBox6.Controls.Add(this.label20); this.groupBox6.Controls.Add(this.numEndX); this.groupBox6.Controls.Add(this.label21); this.groupBox6.Controls.Add(this.numRefDist); this.groupBox6.Controls.Add(this.label22); this.groupBox6.Controls.Add(this.numStartX); this.groupBox6.Controls.Add(this.numStartY); this.groupBox6.Controls.Add(this.numEndZ); this.groupBox6.Controls.Add(this.label23); this.groupBox6.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox6.Location = new System.Drawing.Point(204, 0); this.groupBox6.Name = "groupBox6"; this.groupBox6.Size = new System.Drawing.Size(474, 158); this.groupBox6.TabIndex = 40; this.groupBox6.TabStop = false; this.groupBox6.Text = "Light Keyframes"; // // lightCut // this.lightCut.FlatAppearance.BorderColor = System.Drawing.Color.DimGray; this.lightCut.Location = new System.Drawing.Point(162, 73); this.lightCut.Name = "lightCut"; this.lightCut.Size = new System.Drawing.Size(59, 20); this.lightCut.TabIndex = 39; this.lightCut.Text = "Cut"; this.lightCut.UseVisualStyleBackColor = true; this.lightCut.Click += new System.EventHandler(this.lightCut_Click); // // lightPaste // this.lightPaste.Location = new System.Drawing.Point(104, 73); this.lightPaste.Name = "lightPaste"; this.lightPaste.Size = new System.Drawing.Size(59, 20); this.lightPaste.TabIndex = 41; this.lightPaste.Text = "Paste"; this.lightPaste.UseVisualStyleBackColor = true; this.lightPaste.Click += new System.EventHandler(this.lightPaste_Click); // // lightCopy // this.lightCopy.Location = new System.Drawing.Point(46, 73); this.lightCopy.Name = "lightCopy"; this.lightCopy.Size = new System.Drawing.Size(59, 20); this.lightCopy.TabIndex = 40; this.lightCopy.Text = "Copy"; this.lightCopy.UseVisualStyleBackColor = true; this.lightCopy.Click += new System.EventHandler(this.lightCopy_Click); // // lightClear // this.lightClear.Location = new System.Drawing.Point(220, 73); this.lightClear.Name = "lightClear"; this.lightClear.Size = new System.Drawing.Size(59, 20); this.lightClear.TabIndex = 42; this.lightClear.Text = "Clear"; this.lightClear.UseVisualStyleBackColor = true; this.lightClear.Click += new System.EventHandler(this.lightClear_Click); // // label25 // this.label25.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label25.Location = new System.Drawing.Point(3, 34); this.label25.Margin = new System.Windows.Forms.Padding(0); this.label25.Name = "label25"; this.label25.Size = new System.Drawing.Size(70, 20); this.label25.TabIndex = 20; this.label25.Text = "Start Points"; this.label25.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label26 // this.label26.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label26.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label26.Location = new System.Drawing.Point(279, 53); this.label26.Margin = new System.Windows.Forms.Padding(0); this.label26.Name = "label26"; this.label26.Size = new System.Drawing.Size(70, 20); this.label26.TabIndex = 32; this.label26.Text = "Ref Dist"; this.label26.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numSpotBright // this.numSpotBright.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numSpotBright.Integral = false; this.numSpotBright.Location = new System.Drawing.Point(348, 34); this.numSpotBright.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numSpotBright.MaximumValue = 3.402823E+38F; this.numSpotBright.MinimumValue = -3.402823E+38F; this.numSpotBright.Name = "numSpotBright"; this.numSpotBright.Size = new System.Drawing.Size(70, 20); this.numSpotBright.TabIndex = 38; this.numSpotBright.Text = "0"; this.numSpotBright.ValueChanged += new System.EventHandler(this.BoxChanged); this.numSpotBright.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // label24 // this.label24.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label24.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label24.Location = new System.Drawing.Point(279, 72); this.label24.Margin = new System.Windows.Forms.Padding(0); this.label24.Name = "label24"; this.label24.Size = new System.Drawing.Size(70, 20); this.label24.TabIndex = 33; this.label24.Text = "Ref Bright"; this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label18 // this.label18.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label18.Location = new System.Drawing.Point(210, 15); this.label18.Margin = new System.Windows.Forms.Padding(0); this.label18.Name = "label18"; this.label18.Size = new System.Drawing.Size(70, 20); this.label18.TabIndex = 31; this.label18.Text = "Z"; this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // numStartZ // this.numStartZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numStartZ.Integral = false; this.numStartZ.Location = new System.Drawing.Point(210, 34); this.numStartZ.Margin = new System.Windows.Forms.Padding(0); this.numStartZ.MaximumValue = 3.402823E+38F; this.numStartZ.MinimumValue = -3.402823E+38F; this.numStartZ.Name = "numStartZ"; this.numStartZ.Size = new System.Drawing.Size(70, 20); this.numStartZ.TabIndex = 26; this.numStartZ.Text = "0"; this.numStartZ.ValueChanged += new System.EventHandler(this.BoxChanged); this.numStartZ.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // numRefBright // this.numRefBright.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numRefBright.Integral = false; this.numRefBright.Location = new System.Drawing.Point(348, 72); this.numRefBright.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numRefBright.MaximumValue = 3.402823E+38F; this.numRefBright.MinimumValue = -3.402823E+38F; this.numRefBright.Name = "numRefBright"; this.numRefBright.Size = new System.Drawing.Size(70, 20); this.numRefBright.TabIndex = 36; this.numRefBright.Text = "0"; this.numRefBright.ValueChanged += new System.EventHandler(this.BoxChanged); this.numRefBright.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // numSpotCut // this.numSpotCut.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numSpotCut.Integral = false; this.numSpotCut.Location = new System.Drawing.Point(348, 15); this.numSpotCut.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numSpotCut.MaximumValue = 3.402823E+38F; this.numSpotCut.MinimumValue = -3.402823E+38F; this.numSpotCut.Name = "numSpotCut"; this.numSpotCut.Size = new System.Drawing.Size(70, 20); this.numSpotCut.TabIndex = 34; this.numSpotCut.Text = "0"; this.numSpotCut.ValueChanged += new System.EventHandler(this.BoxChanged); this.numSpotCut.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // label19 // this.label19.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label19.Location = new System.Drawing.Point(3, 53); this.label19.Margin = new System.Windows.Forms.Padding(0); this.label19.Name = "label19"; this.label19.Size = new System.Drawing.Size(70, 20); this.label19.TabIndex = 22; this.label19.Text = "End Points"; this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numEndY // this.numEndY.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numEndY.Integral = false; this.numEndY.Location = new System.Drawing.Point(141, 53); this.numEndY.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numEndY.MaximumValue = 3.402823E+38F; this.numEndY.MinimumValue = -3.402823E+38F; this.numEndY.Name = "numEndY"; this.numEndY.Size = new System.Drawing.Size(70, 20); this.numEndY.TabIndex = 28; this.numEndY.Text = "0"; this.numEndY.ValueChanged += new System.EventHandler(this.BoxChanged); this.numEndY.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // label20 // this.label20.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label20.Location = new System.Drawing.Point(279, 15); this.label20.Margin = new System.Windows.Forms.Padding(0); this.label20.Name = "label20"; this.label20.Size = new System.Drawing.Size(70, 20); this.label20.TabIndex = 21; this.label20.Text = "Spot Cutoff"; this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numEndX // this.numEndX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numEndX.Integral = false; this.numEndX.Location = new System.Drawing.Point(72, 53); this.numEndX.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numEndX.MaximumValue = 3.402823E+38F; this.numEndX.MinimumValue = -3.402823E+38F; this.numEndX.Name = "numEndX"; this.numEndX.Size = new System.Drawing.Size(70, 20); this.numEndX.TabIndex = 27; this.numEndX.Text = "0"; this.numEndX.ValueChanged += new System.EventHandler(this.BoxChanged); this.numEndX.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // label21 // this.label21.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label21.Location = new System.Drawing.Point(141, 15); this.label21.Margin = new System.Windows.Forms.Padding(0); this.label21.Name = "label21"; this.label21.Size = new System.Drawing.Size(70, 20); this.label21.TabIndex = 29; this.label21.Text = "Y"; this.label21.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // numRefDist // this.numRefDist.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numRefDist.Integral = false; this.numRefDist.Location = new System.Drawing.Point(348, 53); this.numRefDist.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numRefDist.MaximumValue = 3.402823E+38F; this.numRefDist.MinimumValue = -3.402823E+38F; this.numRefDist.Name = "numRefDist"; this.numRefDist.Size = new System.Drawing.Size(70, 20); this.numRefDist.TabIndex = 35; this.numRefDist.Text = "0"; this.numRefDist.ValueChanged += new System.EventHandler(this.BoxChanged); this.numRefDist.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // label22 // this.label22.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label22.Location = new System.Drawing.Point(72, 15); this.label22.Margin = new System.Windows.Forms.Padding(0); this.label22.Name = "label22"; this.label22.Size = new System.Drawing.Size(70, 20); this.label22.TabIndex = 24; this.label22.Text = "X"; this.label22.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // numStartX // this.numStartX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numStartX.Integral = false; this.numStartX.Location = new System.Drawing.Point(72, 34); this.numStartX.Margin = new System.Windows.Forms.Padding(0); this.numStartX.MaximumValue = 3.402823E+38F; this.numStartX.MinimumValue = -3.402823E+38F; this.numStartX.Name = "numStartX"; this.numStartX.Size = new System.Drawing.Size(70, 20); this.numStartX.TabIndex = 23; this.numStartX.Text = "0"; this.numStartX.ValueChanged += new System.EventHandler(this.BoxChanged); this.numStartX.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // numStartY // this.numStartY.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numStartY.Integral = false; this.numStartY.Location = new System.Drawing.Point(141, 34); this.numStartY.Margin = new System.Windows.Forms.Padding(0); this.numStartY.MaximumValue = 3.402823E+38F; this.numStartY.MinimumValue = -3.402823E+38F; this.numStartY.Name = "numStartY"; this.numStartY.Size = new System.Drawing.Size(70, 20); this.numStartY.TabIndex = 25; this.numStartY.Text = "0"; this.numStartY.ValueChanged += new System.EventHandler(this.BoxChanged); this.numStartY.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // numEndZ // this.numEndZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numEndZ.Integral = false; this.numEndZ.Location = new System.Drawing.Point(210, 53); this.numEndZ.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numEndZ.MaximumValue = 3.402823E+38F; this.numEndZ.MinimumValue = -3.402823E+38F; this.numEndZ.Name = "numEndZ"; this.numEndZ.Size = new System.Drawing.Size(70, 20); this.numEndZ.TabIndex = 30; this.numEndZ.Text = "0"; this.numEndZ.ValueChanged += new System.EventHandler(this.BoxChanged); this.numEndZ.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // label23 // this.label23.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label23.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label23.Location = new System.Drawing.Point(279, 34); this.label23.Margin = new System.Windows.Forms.Padding(0); this.label23.Name = "label23"; this.label23.Size = new System.Drawing.Size(70, 20); this.label23.TabIndex = 37; this.label23.Text = "Spot Bright"; this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // groupBox5 // this.groupBox5.Controls.Add(this.lstSpotFunc); this.groupBox5.Controls.Add(this.lstDistFunc); this.groupBox5.Controls.Add(this.label29); this.groupBox5.Controls.Add(this.label28); this.groupBox5.Controls.Add(this.chkLightSpec); this.groupBox5.Controls.Add(this.chkLightAlpha); this.groupBox5.Controls.Add(this.chkLightClr); this.groupBox5.Controls.Add(this.label27); this.groupBox5.Controls.Add(this.lstLightType); this.groupBox5.Dock = System.Windows.Forms.DockStyle.Left; this.groupBox5.Location = new System.Drawing.Point(0, 0); this.groupBox5.Name = "groupBox5"; this.groupBox5.Size = new System.Drawing.Size(204, 158); this.groupBox5.TabIndex = 39; this.groupBox5.TabStop = false; this.groupBox5.Text = "Light Settings"; // // lstSpotFunc // this.lstSpotFunc.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.lstSpotFunc.FormattingEnabled = true; this.lstSpotFunc.Items.AddRange(new object[] { "Off", "Flat", "Cos", "Cos2", "Sharp", "Ring", "Ring2"}); this.lstSpotFunc.Location = new System.Drawing.Point(128, 72); this.lstSpotFunc.Name = "lstSpotFunc"; this.lstSpotFunc.Size = new System.Drawing.Size(70, 21); this.lstSpotFunc.TabIndex = 9; this.lstSpotFunc.SelectedIndexChanged += new System.EventHandler(this.lstSpotFunc_SelectedIndexChanged); // // lstDistFunc // this.lstDistFunc.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.lstDistFunc.FormattingEnabled = true; this.lstDistFunc.Items.AddRange(new object[] { "Off", "Gentle", "Medium", "Steep"}); this.lstDistFunc.Location = new System.Drawing.Point(128, 34); this.lstDistFunc.Name = "lstDistFunc"; this.lstDistFunc.Size = new System.Drawing.Size(70, 21); this.lstDistFunc.TabIndex = 8; this.lstDistFunc.SelectedIndexChanged += new System.EventHandler(this.lstDistFunc_SelectedIndexChanged); // // label29 // this.label29.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label29.Location = new System.Drawing.Point(128, 53); this.label29.Name = "label29"; this.label29.Size = new System.Drawing.Size(70, 20); this.label29.TabIndex = 7; this.label29.Text = "Spot Func:"; this.label29.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label28 // this.label28.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label28.Location = new System.Drawing.Point(128, 15); this.label28.Name = "label28"; this.label28.Size = new System.Drawing.Size(70, 20); this.label28.TabIndex = 6; this.label28.Text = "Dist Func:"; this.label28.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // chkLightSpec // this.chkLightSpec.AutoSize = true; this.chkLightSpec.Location = new System.Drawing.Point(9, 76); this.chkLightSpec.Name = "chkLightSpec"; this.chkLightSpec.Size = new System.Drawing.Size(110, 17); this.chkLightSpec.TabIndex = 5; this.chkLightSpec.Text = "Specular Enabled"; this.chkLightSpec.UseVisualStyleBackColor = true; this.chkLightSpec.CheckedChanged += new System.EventHandler(this.chkLightSpec_CheckedChanged); // // chkLightAlpha // this.chkLightAlpha.AutoSize = true; this.chkLightAlpha.Location = new System.Drawing.Point(9, 58); this.chkLightAlpha.Name = "chkLightAlpha"; this.chkLightAlpha.Size = new System.Drawing.Size(95, 17); this.chkLightAlpha.TabIndex = 4; this.chkLightAlpha.Text = "Alpha Enabled"; this.chkLightAlpha.UseVisualStyleBackColor = true; this.chkLightAlpha.CheckedChanged += new System.EventHandler(this.chkLightAlpha_CheckedChanged); // // chkLightClr // this.chkLightClr.AutoSize = true; this.chkLightClr.Location = new System.Drawing.Point(9, 40); this.chkLightClr.Name = "chkLightClr"; this.chkLightClr.Size = new System.Drawing.Size(92, 17); this.chkLightClr.TabIndex = 3; this.chkLightClr.Text = "Color Enabled"; this.chkLightClr.UseVisualStyleBackColor = true; this.chkLightClr.CheckedChanged += new System.EventHandler(this.chkLightClr_CheckedChanged); // // label27 // this.label27.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label27.Location = new System.Drawing.Point(6, 15); this.label27.Name = "label27"; this.label27.Size = new System.Drawing.Size(46, 21); this.label27.TabIndex = 2; this.label27.Text = "Type:"; this.label27.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // lstLightType // this.lstLightType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.lstLightType.FormattingEnabled = true; this.lstLightType.Items.AddRange(new object[] { "Point", "Directional", "Spotlight"}); this.lstLightType.Location = new System.Drawing.Point(51, 15); this.lstLightType.Name = "lstLightType"; this.lstLightType.Size = new System.Drawing.Size(73, 21); this.lstLightType.TabIndex = 0; this.lstLightType.SelectedIndexChanged += new System.EventHandler(this.lstLightType_SelectedIndexChanged); // // Fog // this.Fog.Controls.Add(this.groupBox4); this.Fog.Controls.Add(this.groupBox3); this.Fog.Location = new System.Drawing.Point(4, 25); this.Fog.Name = "Fog"; this.Fog.Size = new System.Drawing.Size(678, 158); this.Fog.TabIndex = 3; this.Fog.Text = "Fog"; this.Fog.UseVisualStyleBackColor = true; // // groupBox4 // this.groupBox4.Controls.Add(this.button3); this.groupBox4.Controls.Add(this.button4); this.groupBox4.Controls.Add(this.label16); this.groupBox4.Controls.Add(this.numFogEndZ); this.groupBox4.Controls.Add(this.numFogStartZ); this.groupBox4.Controls.Add(this.label17); this.groupBox4.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox4.Location = new System.Drawing.Point(185, 0); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(493, 158); this.groupBox4.TabIndex = 40; this.groupBox4.TabStop = false; this.groupBox4.Text = "Edit Frame"; // // button3 // this.button3.Location = new System.Drawing.Point(311, 15); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(59, 20); this.button3.TabIndex = 35; this.button3.Text = "Paste"; this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.button3_Click); // // button4 // this.button4.Location = new System.Drawing.Point(253, 15); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(59, 20); this.button4.TabIndex = 34; this.button4.Text = "Copy"; this.button4.UseVisualStyleBackColor = true; this.button4.Click += new System.EventHandler(this.button4_Click); // // label16 // this.label16.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label16.Location = new System.Drawing.Point(6, 15); this.label16.Margin = new System.Windows.Forms.Padding(0); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(55, 20); this.label16.TabIndex = 7; this.label16.Text = "Start Z:"; this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numFogEndZ // this.numFogEndZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numFogEndZ.Integral = false; this.numFogEndZ.Location = new System.Drawing.Point(183, 15); this.numFogEndZ.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numFogEndZ.MaximumValue = 3.402823E+38F; this.numFogEndZ.MinimumValue = -3.402823E+38F; this.numFogEndZ.Name = "numFogEndZ"; this.numFogEndZ.Size = new System.Drawing.Size(70, 20); this.numFogEndZ.TabIndex = 10; this.numFogEndZ.Text = "0"; this.numFogEndZ.ValueChanged += new System.EventHandler(this.BoxChanged); this.numFogEndZ.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // numFogStartZ // this.numFogStartZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numFogStartZ.Integral = false; this.numFogStartZ.Location = new System.Drawing.Point(60, 15); this.numFogStartZ.Margin = new System.Windows.Forms.Padding(0); this.numFogStartZ.MaximumValue = 3.402823E+38F; this.numFogStartZ.MinimumValue = -3.402823E+38F; this.numFogStartZ.Name = "numFogStartZ"; this.numFogStartZ.Size = new System.Drawing.Size(70, 20); this.numFogStartZ.TabIndex = 9; this.numFogStartZ.Text = "0"; this.numFogStartZ.ValueChanged += new System.EventHandler(this.BoxChanged); this.numFogStartZ.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // label17 // this.label17.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label17.Location = new System.Drawing.Point(129, 15); this.label17.Margin = new System.Windows.Forms.Padding(0); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(55, 20); this.label17.TabIndex = 8; this.label17.Text = "End Z:"; this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // groupBox3 // this.groupBox3.Controls.Add(this.label15); this.groupBox3.Controls.Add(this.comboBox3); this.groupBox3.Dock = System.Windows.Forms.DockStyle.Left; this.groupBox3.Location = new System.Drawing.Point(0, 0); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(185, 158); this.groupBox3.TabIndex = 39; this.groupBox3.TabStop = false; this.groupBox3.Text = "Fog Settings"; // // label15 // this.label15.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label15.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label15.Location = new System.Drawing.Point(6, 15); this.label15.Margin = new System.Windows.Forms.Padding(0); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(42, 21); this.label15.TabIndex = 38; this.label15.Text = "Type:"; this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // comboBox3 // this.comboBox3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.comboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox3.FormattingEnabled = true; this.comboBox3.Items.AddRange(new object[] { "None", "PerspectiveLinear", "PerspectiveExp", "PerspectiveExp2", "PerspectiveRevExp", "PerspectiveRevExp2", "OrthographicLinear", "OrthographicExp", "OrthographicExp2", "OrthographicRevExp", "OrthographicRevExp2"}); this.comboBox3.Location = new System.Drawing.Point(47, 15); this.comboBox3.Name = "comboBox3"; this.comboBox3.Size = new System.Drawing.Size(132, 21); this.comboBox3.TabIndex = 37; this.comboBox3.SelectedIndexChanged += new System.EventHandler(this.comboBox3_SelectedIndexChanged); // // Cameras // this.Cameras.Controls.Add(this.panel2); this.Cameras.Location = new System.Drawing.Point(4, 25); this.Cameras.Name = "Cameras"; this.Cameras.Size = new System.Drawing.Size(678, 158); this.Cameras.TabIndex = 4; this.Cameras.Text = "Cameras"; this.Cameras.UseVisualStyleBackColor = true; // // panel2 // this.panel2.Controls.Add(this.groupBox2); this.panel2.Controls.Add(this.panel1); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(678, 158); this.panel2.TabIndex = 27; // // groupBox2 // this.groupBox2.Controls.Add(this.label11); this.groupBox2.Controls.Add(this.label8); this.groupBox2.Controls.Add(this.label1); this.groupBox2.Controls.Add(this.label9); this.groupBox2.Controls.Add(this.numPosZ); this.groupBox2.Controls.Add(this.btnCut); this.groupBox2.Controls.Add(this.btnPaste); this.groupBox2.Controls.Add(this.btnCopy); this.groupBox2.Controls.Add(this.btnClear); this.groupBox2.Controls.Add(this.numAimX); this.groupBox2.Controls.Add(this.numFarZ); this.groupBox2.Controls.Add(this.numRotY); this.groupBox2.Controls.Add(this.numNearZ); this.groupBox2.Controls.Add(this.numRotX); this.groupBox2.Controls.Add(this.label12); this.groupBox2.Controls.Add(this.numTwist); this.groupBox2.Controls.Add(this.label13); this.groupBox2.Controls.Add(this.numPosX); this.groupBox2.Controls.Add(this.numAspect); this.groupBox2.Controls.Add(this.numRotZ); this.groupBox2.Controls.Add(this.numHeight); this.groupBox2.Controls.Add(this.numPosY); this.groupBox2.Controls.Add(this.label10); this.groupBox2.Controls.Add(this.label4); this.groupBox2.Controls.Add(this.label5); this.groupBox2.Controls.Add(this.numAimY); this.groupBox2.Controls.Add(this.label2); this.groupBox2.Controls.Add(this.numAimZ); this.groupBox2.Controls.Add(this.label3); this.groupBox2.Controls.Add(this.label6); this.groupBox2.Controls.Add(this.numFovY); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(149, 0); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(529, 158); this.groupBox2.TabIndex = 39; this.groupBox2.TabStop = false; this.groupBox2.Text = "Edit Frame"; // // label11 // this.label11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label11.Location = new System.Drawing.Point(266, 49); this.label11.Margin = new System.Windows.Forms.Padding(0); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(47, 20); this.label11.TabIndex = 22; this.label11.Text = "Height:"; this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label8 // this.label8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label8.Location = new System.Drawing.Point(266, 11); this.label8.Margin = new System.Windows.Forms.Padding(0); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(47, 20); this.label8.TabIndex = 9; this.label8.Text = "Twist:"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label1 // this.label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label1.Location = new System.Drawing.Point(5, 30); this.label1.Margin = new System.Windows.Forms.Padding(0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(55, 20); this.label1.TabIndex = 0; this.label1.Text = "Position:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label9 // this.label9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label9.Location = new System.Drawing.Point(266, 30); this.label9.Margin = new System.Windows.Forms.Padding(0); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(47, 20); this.label9.TabIndex = 10; this.label9.Text = "Fov Y:"; this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numPosZ // this.numPosZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numPosZ.Integral = false; this.numPosZ.Location = new System.Drawing.Point(197, 30); this.numPosZ.Margin = new System.Windows.Forms.Padding(0); this.numPosZ.MaximumValue = 3.402823E+38F; this.numPosZ.MinimumValue = -3.402823E+38F; this.numPosZ.Name = "numPosZ"; this.numPosZ.Size = new System.Drawing.Size(70, 20); this.numPosZ.TabIndex = 5; this.numPosZ.Text = "0"; this.numPosZ.ValueChanged += new System.EventHandler(this.BoxChanged); this.numPosZ.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // btnCut // this.btnCut.FlatAppearance.BorderColor = System.Drawing.Color.DimGray; this.btnCut.Location = new System.Drawing.Point(382, 50); this.btnCut.Name = "btnCut"; this.btnCut.Size = new System.Drawing.Size(59, 20); this.btnCut.TabIndex = 30; this.btnCut.Text = "Cut"; this.btnCut.UseVisualStyleBackColor = true; this.btnCut.Click += new System.EventHandler(this.btnCut_Click); // // btnPaste // this.btnPaste.Location = new System.Drawing.Point(440, 50); this.btnPaste.Name = "btnPaste"; this.btnPaste.Size = new System.Drawing.Size(59, 20); this.btnPaste.TabIndex = 32; this.btnPaste.Text = "Paste"; this.btnPaste.UseVisualStyleBackColor = true; this.btnPaste.Click += new System.EventHandler(this.btnPaste_Click); // // btnCopy // this.btnCopy.Location = new System.Drawing.Point(382, 69); this.btnCopy.Name = "btnCopy"; this.btnCopy.Size = new System.Drawing.Size(59, 20); this.btnCopy.TabIndex = 31; this.btnCopy.Text = "Copy"; this.btnCopy.UseVisualStyleBackColor = true; this.btnCopy.Click += new System.EventHandler(this.btnCopy_Click); // // btnClear // this.btnClear.Location = new System.Drawing.Point(440, 69); this.btnClear.Name = "btnClear"; this.btnClear.Size = new System.Drawing.Size(59, 20); this.btnClear.TabIndex = 33; this.btnClear.Text = "Clear"; this.btnClear.UseVisualStyleBackColor = true; this.btnClear.Click += new System.EventHandler(this.btnClear_Click); // // numAimX // this.numAimX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numAimX.Integral = false; this.numAimX.Location = new System.Drawing.Point(59, 68); this.numAimX.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numAimX.MaximumValue = 3.402823E+38F; this.numAimX.MinimumValue = -3.402823E+38F; this.numAimX.Name = "numAimX"; this.numAimX.Size = new System.Drawing.Size(70, 20); this.numAimX.TabIndex = 11; this.numAimX.Text = "0"; this.numAimX.ValueChanged += new System.EventHandler(this.BoxChanged); this.numAimX.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // numFarZ // this.numFarZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numFarZ.Integral = false; this.numFarZ.Location = new System.Drawing.Point(428, 30); this.numFarZ.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numFarZ.MaximumValue = 3.402823E+38F; this.numFarZ.MinimumValue = -3.402823E+38F; this.numFarZ.Name = "numFarZ"; this.numFarZ.Size = new System.Drawing.Size(70, 20); this.numFarZ.TabIndex = 29; this.numFarZ.Text = "0"; this.numFarZ.ValueChanged += new System.EventHandler(this.BoxChanged); this.numFarZ.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // numRotY // this.numRotY.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numRotY.Integral = false; this.numRotY.Location = new System.Drawing.Point(128, 49); this.numRotY.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numRotY.MaximumValue = 3.402823E+38F; this.numRotY.MinimumValue = -3.402823E+38F; this.numRotY.Name = "numRotY"; this.numRotY.Size = new System.Drawing.Size(70, 20); this.numRotY.TabIndex = 7; this.numRotY.Text = "0"; this.numRotY.ValueChanged += new System.EventHandler(this.BoxChanged); this.numRotY.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // numNearZ // this.numNearZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numNearZ.Integral = false; this.numNearZ.Location = new System.Drawing.Point(428, 11); this.numNearZ.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numNearZ.MaximumValue = 3.402823E+38F; this.numNearZ.MinimumValue = -3.402823E+38F; this.numNearZ.Name = "numNearZ"; this.numNearZ.Size = new System.Drawing.Size(70, 20); this.numNearZ.TabIndex = 28; this.numNearZ.Text = "0"; this.numNearZ.ValueChanged += new System.EventHandler(this.BoxChanged); this.numNearZ.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // numRotX // this.numRotX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numRotX.Integral = false; this.numRotX.Location = new System.Drawing.Point(59, 49); this.numRotX.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numRotX.MaximumValue = 3.402823E+38F; this.numRotX.MinimumValue = -3.402823E+38F; this.numRotX.Name = "numRotX"; this.numRotX.Size = new System.Drawing.Size(70, 20); this.numRotX.TabIndex = 6; this.numRotX.Text = "0"; this.numRotX.ValueChanged += new System.EventHandler(this.BoxChanged); this.numRotX.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // label12 // this.label12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label12.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label12.Location = new System.Drawing.Point(381, 30); this.label12.Margin = new System.Windows.Forms.Padding(0); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(48, 20); this.label12.TabIndex = 27; this.label12.Text = "Far Z:"; this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numTwist // this.numTwist.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numTwist.Integral = false; this.numTwist.Location = new System.Drawing.Point(312, 11); this.numTwist.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numTwist.MaximumValue = 3.402823E+38F; this.numTwist.MinimumValue = -3.402823E+38F; this.numTwist.Name = "numTwist"; this.numTwist.Size = new System.Drawing.Size(70, 20); this.numTwist.TabIndex = 12; this.numTwist.Text = "0"; this.numTwist.ValueChanged += new System.EventHandler(this.BoxChanged); this.numTwist.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // label13 // this.label13.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label13.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label13.Location = new System.Drawing.Point(381, 11); this.label13.Margin = new System.Windows.Forms.Padding(0); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(48, 20); this.label13.TabIndex = 26; this.label13.Text = "Near Z:"; this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numPosX // this.numPosX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numPosX.Integral = false; this.numPosX.Location = new System.Drawing.Point(59, 30); this.numPosX.Margin = new System.Windows.Forms.Padding(0); this.numPosX.MaximumValue = 3.402823E+38F; this.numPosX.MinimumValue = -3.402823E+38F; this.numPosX.Name = "numPosX"; this.numPosX.Size = new System.Drawing.Size(70, 20); this.numPosX.TabIndex = 3; this.numPosX.Text = "0"; this.numPosX.ValueChanged += new System.EventHandler(this.BoxChanged); this.numPosX.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // numAspect // this.numAspect.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numAspect.Integral = false; this.numAspect.Location = new System.Drawing.Point(312, 68); this.numAspect.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numAspect.MaximumValue = 3.402823E+38F; this.numAspect.MinimumValue = -3.402823E+38F; this.numAspect.Name = "numAspect"; this.numAspect.Size = new System.Drawing.Size(70, 20); this.numAspect.TabIndex = 25; this.numAspect.Text = "0"; this.numAspect.ValueChanged += new System.EventHandler(this.BoxChanged); this.numAspect.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // numRotZ // this.numRotZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numRotZ.Integral = false; this.numRotZ.Location = new System.Drawing.Point(197, 49); this.numRotZ.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numRotZ.MaximumValue = 3.402823E+38F; this.numRotZ.MinimumValue = -3.402823E+38F; this.numRotZ.Name = "numRotZ"; this.numRotZ.Size = new System.Drawing.Size(70, 20); this.numRotZ.TabIndex = 8; this.numRotZ.Text = "0"; this.numRotZ.ValueChanged += new System.EventHandler(this.BoxChanged); this.numRotZ.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // numHeight // this.numHeight.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numHeight.Integral = false; this.numHeight.Location = new System.Drawing.Point(312, 49); this.numHeight.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numHeight.MaximumValue = 3.402823E+38F; this.numHeight.MinimumValue = -3.402823E+38F; this.numHeight.Name = "numHeight"; this.numHeight.Size = new System.Drawing.Size(70, 20); this.numHeight.TabIndex = 24; this.numHeight.Text = "0"; this.numHeight.ValueChanged += new System.EventHandler(this.BoxChanged); this.numHeight.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // numPosY // this.numPosY.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numPosY.Integral = false; this.numPosY.Location = new System.Drawing.Point(128, 30); this.numPosY.Margin = new System.Windows.Forms.Padding(0); this.numPosY.MaximumValue = 3.402823E+38F; this.numPosY.MinimumValue = -3.402823E+38F; this.numPosY.Name = "numPosY"; this.numPosY.Size = new System.Drawing.Size(70, 20); this.numPosY.TabIndex = 4; this.numPosY.Text = "0"; this.numPosY.ValueChanged += new System.EventHandler(this.BoxChanged); this.numPosY.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // label10 // this.label10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label10.Location = new System.Drawing.Point(266, 68); this.label10.Margin = new System.Windows.Forms.Padding(0); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(47, 20); this.label10.TabIndex = 23; this.label10.Text = "Aspect:"; this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label4 // this.label4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label4.Location = new System.Drawing.Point(59, 11); this.label4.Margin = new System.Windows.Forms.Padding(0); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(70, 20); this.label4.TabIndex = 4; this.label4.Text = "X"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label5 // this.label5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label5.Location = new System.Drawing.Point(128, 11); this.label5.Margin = new System.Windows.Forms.Padding(0); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(70, 20); this.label5.TabIndex = 7; this.label5.Text = "Y"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // numAimY // this.numAimY.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numAimY.Integral = false; this.numAimY.Location = new System.Drawing.Point(128, 68); this.numAimY.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numAimY.MaximumValue = 3.402823E+38F; this.numAimY.MinimumValue = -3.402823E+38F; this.numAimY.Name = "numAimY"; this.numAimY.Size = new System.Drawing.Size(70, 20); this.numAimY.TabIndex = 21; this.numAimY.Text = "0"; this.numAimY.ValueChanged += new System.EventHandler(this.BoxChanged); this.numAimY.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // label2 // this.label2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label2.Location = new System.Drawing.Point(5, 68); this.label2.Margin = new System.Windows.Forms.Padding(0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(55, 20); this.label2.TabIndex = 1; this.label2.Text = "Aim:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // numAimZ // this.numAimZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numAimZ.Integral = false; this.numAimZ.Location = new System.Drawing.Point(197, 68); this.numAimZ.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numAimZ.MaximumValue = 3.402823E+38F; this.numAimZ.MinimumValue = -3.402823E+38F; this.numAimZ.Name = "numAimZ"; this.numAimZ.Size = new System.Drawing.Size(70, 20); this.numAimZ.TabIndex = 19; this.numAimZ.Text = "0"; this.numAimZ.ValueChanged += new System.EventHandler(this.BoxChanged); this.numAimZ.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // label3 // this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label3.Location = new System.Drawing.Point(5, 49); this.label3.Margin = new System.Windows.Forms.Padding(0); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(55, 20); this.label3.TabIndex = 2; this.label3.Text = "Rotation:"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label6 // this.label6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label6.Location = new System.Drawing.Point(197, 11); this.label6.Margin = new System.Windows.Forms.Padding(0); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(70, 20); this.label6.TabIndex = 8; this.label6.Text = "Z"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // numFovY // this.numFovY.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numFovY.Integral = false; this.numFovY.Location = new System.Drawing.Point(312, 30); this.numFovY.Margin = new System.Windows.Forms.Padding(0, 10, 0, 10); this.numFovY.MaximumValue = 3.402823E+38F; this.numFovY.MinimumValue = -3.402823E+38F; this.numFovY.Name = "numFovY"; this.numFovY.Size = new System.Drawing.Size(70, 20); this.numFovY.TabIndex = 13; this.numFovY.Text = "0"; this.numFovY.ValueChanged += new System.EventHandler(this.BoxChanged); this.numFovY.MouseDown += new System.Windows.Forms.MouseEventHandler(this.box_MouseDown); // // panel1 // this.panel1.Controls.Add(this.button1); this.panel1.Controls.Add(this.groupBox1); this.panel1.Dock = System.Windows.Forms.DockStyle.Left; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(149, 158); this.panel1.TabIndex = 40; // // button1 // this.button1.Location = new System.Drawing.Point(3, 62); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(138, 23); this.button1.TabIndex = 38; this.button1.Text = "Use Current Camera"; this.button1.UseVisualStyleBackColor = true; this.button1.Visible = false; this.button1.Click += new System.EventHandler(this.button1_Click_1); // // groupBox1 // this.groupBox1.Controls.Add(this.lstCamProj); this.groupBox1.Controls.Add(this.label14); this.groupBox1.Controls.Add(this.lstCamType); this.groupBox1.Controls.Add(this.label7); this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(147, 60); this.groupBox1.TabIndex = 38; this.groupBox1.TabStop = false; this.groupBox1.Text = "Camera Settings"; // // lstCamProj // this.lstCamProj.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.lstCamProj.FormattingEnabled = true; this.lstCamProj.Items.AddRange(new object[] { "Perspective", "Orthographic"}); this.lstCamProj.Location = new System.Drawing.Point(72, 35); this.lstCamProj.Name = "lstCamProj"; this.lstCamProj.Size = new System.Drawing.Size(70, 21); this.lstCamProj.TabIndex = 35; this.lstCamProj.SelectedIndexChanged += new System.EventHandler(this.lstCamProj_SelectedIndexChanged); // // label14 // this.label14.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label14.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label14.Location = new System.Drawing.Point(72, 16); this.label14.Margin = new System.Windows.Forms.Padding(0); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(70, 20); this.label14.TabIndex = 37; this.label14.Text = "Projection"; this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lstCamType // this.lstCamType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.lstCamType.FormattingEnabled = true; this.lstCamType.Items.AddRange(new object[] { "Rotate", "Aim"}); this.lstCamType.Location = new System.Drawing.Point(3, 35); this.lstCamType.Name = "lstCamType"; this.lstCamType.Size = new System.Drawing.Size(70, 21); this.lstCamType.TabIndex = 34; this.lstCamType.SelectedIndexChanged += new System.EventHandler(this.lstCamType_SelectedIndexChanged); // // label7 // this.label7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label7.Location = new System.Drawing.Point(3, 16); this.label7.Margin = new System.Windows.Forms.Padding(0); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(70, 20); this.label7.TabIndex = 36; this.label7.Text = "Type"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // nodeType // this.nodeType.AutoSize = true; this.nodeType.BackColor = System.Drawing.SystemColors.Control; this.nodeType.Location = new System.Drawing.Point(310, 4); this.nodeType.Name = "nodeType"; this.nodeType.Size = new System.Drawing.Size(49, 13); this.nodeType.TabIndex = 0; this.nodeType.Text = "LightSet:"; this.nodeType.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // nodeList // this.nodeList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.nodeList.FormattingEnabled = true; this.nodeList.Location = new System.Drawing.Point(366, 1); this.nodeList.Name = "nodeList"; this.nodeList.Size = new System.Drawing.Size(121, 21); this.nodeList.TabIndex = 0; this.nodeList.SelectedIndexChanged += new System.EventHandler(this.nodeList_SelectedIndexChanged); // // btnRename // this.btnRename.Location = new System.Drawing.Point(491, 0); this.btnRename.Name = "btnRename"; this.btnRename.Size = new System.Drawing.Size(75, 23); this.btnRename.TabIndex = 20; this.btnRename.Text = "Rename"; this.btnRename.UseVisualStyleBackColor = true; this.btnRename.Click += new System.EventHandler(this.button1_Click); // // SCN0Editor // this.Controls.Add(this.nodeType); this.Controls.Add(this.btnRename); this.Controls.Add(this.nodeList); this.Controls.Add(this.tabControl1); this.Name = "SCN0Editor"; this.Size = new System.Drawing.Size(686, 187); this.tabControl1.ResumeLayout(false); this.LightSets.ResumeLayout(false); this.AmbLights.ResumeLayout(false); this.AmbLights.PerformLayout(); this.Lights.ResumeLayout(false); this.groupBox6.ResumeLayout(false); this.groupBox6.PerformLayout(); this.groupBox5.ResumeLayout(false); this.groupBox5.PerformLayout(); this.Fog.ResumeLayout(false); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); this.groupBox3.ResumeLayout(false); this.Cameras.ResumeLayout(false); this.panel2.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.panel1.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { listBox1 = new ListBox(); label1 = new Label(); listBox2 = new ListBox(); label2 = new Label(); button1 = new Button(); label3 = new Label(); trackBar1 = new TrackBar(); label4 = new Label(); label5 = new Label(); label6 = new Label(); button2 = new Button(); label7 = new Label(); button3 = new Button(); button4 = new Button(); splitter1 = new Splitter(); panel1 = new Panel(); panel2 = new Panel(); button5 = new Button(); textBox1 = new NumericInputBox(); ((ISupportInitialize)trackBar1).BeginInit(); panel1.SuspendLayout(); panel2.SuspendLayout(); SuspendLayout(); // // listBox1 // listBox1.Dock = DockStyle.Fill; listBox1.FormattingEnabled = true; listBox1.IntegralHeight = false; listBox1.Location = new Drawing.Point(0, 0); listBox1.Name = "listBox1"; listBox1.Size = new Drawing.Size(256, 49); listBox1.TabIndex = 0; listBox1.SelectedValueChanged += listBox1_SelectedValueChanged; // // label1 // label1.AutoSize = true; label1.Location = new Drawing.Point(4, 31); label1.Name = "label1"; label1.Size = new Drawing.Size(95, 13); label1.TabIndex = 1; label1.Text = "Target Vertex Sets"; // // listBox2 // listBox2.Dock = DockStyle.Fill; listBox2.FormattingEnabled = true; listBox2.IntegralHeight = false; listBox2.Location = new Drawing.Point(3, 0); listBox2.Name = "listBox2"; listBox2.Size = new Drawing.Size(261, 49); listBox2.TabIndex = 2; listBox2.SelectedValueChanged += listBox2_SelectedValueChanged; // // label2 // label2.AutoSize = true; label2.Location = new Drawing.Point(267, 31); label2.Name = "label2"; label2.Size = new Drawing.Size(117, 13); label2.TabIndex = 3; label2.Text = "Destination Vertex Sets"; // // button1 // button1.Location = new Drawing.Point(429, 27); button1.Name = "button1"; button1.Size = new Drawing.Size(37, 20); button1.TabIndex = 4; button1.Text = "Add"; button1.UseVisualStyleBackColor = true; button1.Visible = false; button1.Click += button1_Click; // // label3 // label3.AutoSize = true; label3.Location = new Drawing.Point(4, 8); label3.Name = "label3"; label3.Size = new Drawing.Size(98, 13); label3.TabIndex = 5; label3.Text = "Morph Percentage:"; // // trackBar1 // trackBar1.Location = new Drawing.Point(126, 4); trackBar1.Maximum = 1000; trackBar1.Name = "trackBar1"; trackBar1.Size = new Drawing.Size(204, 45); trackBar1.TabIndex = 6; trackBar1.TickStyle = TickStyle.None; trackBar1.Scroll += trackBar1_Scroll; // // label4 // label4.AutoSize = true; label4.Location = new Drawing.Point(108, 8); label4.Name = "label4"; label4.Size = new Drawing.Size(21, 13); label4.TabIndex = 7; label4.Text = "0%"; // // label5 // label5.AutoSize = true; label5.Location = new Drawing.Point(326, 8); label5.Name = "label5"; label5.Size = new Drawing.Size(33, 13); label5.TabIndex = 8; label5.Text = "100%"; // // label6 // label6.AutoSize = true; label6.Location = new Drawing.Point(365, 8); label6.Name = "label6"; label6.Size = new Drawing.Size(40, 13); label6.TabIndex = 10; label6.Text = "Value: "; // // button2 // button2.Location = new Drawing.Point(472, 27); button2.Name = "button2"; button2.Size = new Drawing.Size(56, 20); button2.TabIndex = 11; button2.Text = "Remove"; button2.UseVisualStyleBackColor = true; button2.Visible = false; button2.Click += button2_Click; // // label7 // label7.AutoSize = true; label7.Location = new Drawing.Point(446, 8); label7.Name = "label7"; label7.Size = new Drawing.Size(15, 13); label7.TabIndex = 12; label7.Text = "%"; // // button3 // button3.Location = new Drawing.Point(209, 27); button3.Name = "button3"; button3.Size = new Drawing.Size(56, 20); button3.TabIndex = 14; button3.Text = "Remove"; button3.UseVisualStyleBackColor = true; button3.Visible = false; // // button4 // button4.Location = new Drawing.Point(166, 27); button4.Name = "button4"; button4.Size = new Drawing.Size(37, 20); button4.TabIndex = 13; button4.Text = "Add"; button4.UseVisualStyleBackColor = true; button4.Visible = false; button4.Click += button4_Click; // // splitter1 // splitter1.Location = new Drawing.Point(0, 0); splitter1.Name = "splitter1"; splitter1.Size = new Drawing.Size(3, 49); splitter1.TabIndex = 15; splitter1.TabStop = false; // // panel1 // panel1.Controls.Add(listBox2); panel1.Controls.Add(splitter1); panel1.Dock = DockStyle.Right; panel1.Location = new Drawing.Point(256, 0); panel1.Name = "panel1"; panel1.Size = new Drawing.Size(264, 49); panel1.TabIndex = 16; // // panel2 // panel2.Controls.Add(listBox1); panel2.Controls.Add(panel1); panel2.Location = new Drawing.Point(7, 49); panel2.Name = "panel2"; panel2.Size = new Drawing.Size(520, 49); panel2.TabIndex = 17; // // button5 // button5.Location = new Drawing.Point(472, 5); button5.Name = "button5"; button5.Size = new Drawing.Size(55, 20); button5.TabIndex = 18; button5.Text = "Set"; button5.UseVisualStyleBackColor = true; button5.Click += button5_Click; // // textBox1 // textBox1.Integral = false; textBox1.Location = new Drawing.Point(404, 5); textBox1.MaximumValue = 3.402823E+38F; textBox1.MaxLength = 999999; textBox1.MinimumValue = -3.402823E+38F; textBox1.Name = "textBox1"; textBox1.Size = new Drawing.Size(41, 20); textBox1.TabIndex = 9; textBox1.Text = "0"; textBox1.ValueChanged += PercentChanged; // // SHP0Editor // Controls.Add(button5); Controls.Add(panel2); Controls.Add(button3); Controls.Add(button4); Controls.Add(label7); Controls.Add(button2); Controls.Add(textBox1); Controls.Add(label5); Controls.Add(label4); Controls.Add(label3); Controls.Add(button1); Controls.Add(label2); Controls.Add(trackBar1); Controls.Add(label6); Controls.Add(label1); MinimumSize = new Drawing.Size(533, 106); Name = "SHP0Editor"; Size = new Drawing.Size(533, 106); ((ISupportInitialize)trackBar1).EndInit(); panel1.ResumeLayout(false); panel2.ResumeLayout(false); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.sourceToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); this.exportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.replaceToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.portToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ctxSubActions = new System.Windows.Forms.ContextMenuStrip(this.components); this.renameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.Source = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.add = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem7 = new System.Windows.Forms.ToolStripMenuItem(); this.subtract = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem5 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem8 = new System.Windows.Forms.ToolStripMenuItem(); this.removeAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.addCustomAmountToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.dlgOpen = new System.Windows.Forms.OpenFileDialog(); this.dlgSave = new System.Windows.Forms.SaveFileDialog(); this.ActionEditor = new System.Windows.Forms.Panel(); this.scriptEditor1 = new Ikarus.NewScriptEditor(); this.scriptEditor2 = new Ikarus.UI.ScriptEditor(); this.button1 = new System.Windows.Forms.Button(); this.ActionFlagsPanel = new System.Windows.Forms.Panel(); this.SubActionFlagsPanel = new System.Windows.Forms.Panel(); this.chkUnk = new System.Windows.Forms.CheckBox(); this.chkLoop = new System.Windows.Forms.CheckBox(); this.chkFixedTrans = new System.Windows.Forms.CheckBox(); this.chkFixedRot = new System.Windows.Forms.CheckBox(); this.chkFixedScale = new System.Windows.Forms.CheckBox(); this.chkMovesChar = new System.Windows.Forms.CheckBox(); this.chkTransOutStart = new System.Windows.Forms.CheckBox(); this.inTransTime = new System.Windows.Forms.NumericInputBox(); this.chkNoOutTrans = new System.Windows.Forms.CheckBox(); this.label1 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.lblActionName = new System.Windows.Forms.Label(); this.comboActionEntry = new System.Windows.Forms.ComboBox(); this.flagsToggle = new System.Windows.Forms.Button(); this.spltEventMod = new System.Windows.Forms.Splitter(); this.eventModifier = new System.Windows.Forms.EventModifier(); this.ctxSubActions.SuspendLayout(); this.ActionEditor.SuspendLayout(); this.SubActionFlagsPanel.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // sourceToolStripMenuItem // this.sourceToolStripMenuItem.Name = "sourceToolStripMenuItem"; this.sourceToolStripMenuItem.Size = new System.Drawing.Size(32, 19); // // toolStripMenuItem1 // this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new System.Drawing.Size(6, 6); // // exportToolStripMenuItem // this.exportToolStripMenuItem.Name = "exportToolStripMenuItem"; this.exportToolStripMenuItem.Size = new System.Drawing.Size(32, 19); // // replaceToolStripMenuItem // this.replaceToolStripMenuItem.Name = "replaceToolStripMenuItem"; this.replaceToolStripMenuItem.Size = new System.Drawing.Size(32, 19); // // portToolStripMenuItem // this.portToolStripMenuItem.Name = "portToolStripMenuItem"; this.portToolStripMenuItem.Size = new System.Drawing.Size(32, 19); // // ctxSubActions // this.ctxSubActions.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.renameToolStripMenuItem}); this.ctxSubActions.Name = "ctxBox"; this.ctxSubActions.Size = new System.Drawing.Size(118, 26); this.ctxSubActions.Text = "Subaction"; // // renameToolStripMenuItem // this.renameToolStripMenuItem.Name = "renameToolStripMenuItem"; this.renameToolStripMenuItem.Size = new System.Drawing.Size(117, 22); this.renameToolStripMenuItem.Text = "Rename"; this.renameToolStripMenuItem.Click += new System.EventHandler(this.renameToolStripMenuItem_Click); // // Source // this.Source.Name = "Source"; this.Source.Size = new System.Drawing.Size(32, 19); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 6); // // add // this.add.Name = "add"; this.add.Size = new System.Drawing.Size(32, 19); // // toolStripMenuItem3 // this.toolStripMenuItem3.Name = "toolStripMenuItem3"; this.toolStripMenuItem3.Size = new System.Drawing.Size(32, 19); // // toolStripMenuItem4 // this.toolStripMenuItem4.Name = "toolStripMenuItem4"; this.toolStripMenuItem4.Size = new System.Drawing.Size(32, 19); // // toolStripMenuItem7 // this.toolStripMenuItem7.Name = "toolStripMenuItem7"; this.toolStripMenuItem7.Size = new System.Drawing.Size(32, 19); // // subtract // this.subtract.Name = "subtract"; this.subtract.Size = new System.Drawing.Size(32, 19); // // toolStripMenuItem5 // this.toolStripMenuItem5.Name = "toolStripMenuItem5"; this.toolStripMenuItem5.Size = new System.Drawing.Size(32, 19); // // toolStripMenuItem6 // this.toolStripMenuItem6.Name = "toolStripMenuItem6"; this.toolStripMenuItem6.Size = new System.Drawing.Size(32, 19); // // toolStripMenuItem8 // this.toolStripMenuItem8.Name = "toolStripMenuItem8"; this.toolStripMenuItem8.Size = new System.Drawing.Size(32, 19); // // removeAllToolStripMenuItem // this.removeAllToolStripMenuItem.Name = "removeAllToolStripMenuItem"; this.removeAllToolStripMenuItem.Size = new System.Drawing.Size(32, 19); // // addCustomAmountToolStripMenuItem // this.addCustomAmountToolStripMenuItem.Name = "addCustomAmountToolStripMenuItem"; this.addCustomAmountToolStripMenuItem.Size = new System.Drawing.Size(32, 19); // // ActionEditor // this.ActionEditor.Controls.Add(this.scriptEditor1); this.ActionEditor.Controls.Add(this.scriptEditor2); this.ActionEditor.Controls.Add(this.button1); this.ActionEditor.Controls.Add(this.ActionFlagsPanel); this.ActionEditor.Controls.Add(this.SubActionFlagsPanel); this.ActionEditor.Controls.Add(this.panel2); this.ActionEditor.Dock = System.Windows.Forms.DockStyle.Fill; this.ActionEditor.Location = new System.Drawing.Point(0, 0); this.ActionEditor.Name = "ActionEditor"; this.ActionEditor.Size = new System.Drawing.Size(229, 355); this.ActionEditor.TabIndex = 26; // // scriptEditor1 // this.scriptEditor1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.scriptEditor1.Dock = System.Windows.Forms.DockStyle.Fill; this.scriptEditor1.Location = new System.Drawing.Point(0, 21); this.scriptEditor1.Name = "scriptEditor1"; this.scriptEditor1.Size = new System.Drawing.Size(229, 310); this.scriptEditor1.TabIndex = 0; // // scriptEditor2 // this.scriptEditor2.Dock = System.Windows.Forms.DockStyle.Fill; this.scriptEditor2.Location = new System.Drawing.Point(0, 21); this.scriptEditor2.Name = "scriptEditor2"; this.scriptEditor2.Padding = new System.Windows.Forms.Padding(1); this.scriptEditor2.Size = new System.Drawing.Size(229, 310); this.scriptEditor2.TabIndex = 37; this.scriptEditor2.Visible = false; // // button1 // this.button1.Dock = System.Windows.Forms.DockStyle.Bottom; this.button1.Location = new System.Drawing.Point(0, 331); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(229, 24); this.button1.TabIndex = 38; this.button1.Text = "Switch Editor"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // ActionFlagsPanel // this.ActionFlagsPanel.Location = new System.Drawing.Point(0, 168); this.ActionFlagsPanel.Margin = new System.Windows.Forms.Padding(0); this.ActionFlagsPanel.Name = "ActionFlagsPanel"; this.ActionFlagsPanel.Size = new System.Drawing.Size(201, 147); this.ActionFlagsPanel.TabIndex = 37; this.ActionFlagsPanel.Visible = false; // // SubActionFlagsPanel // this.SubActionFlagsPanel.Controls.Add(this.chkUnk); this.SubActionFlagsPanel.Controls.Add(this.chkLoop); this.SubActionFlagsPanel.Controls.Add(this.chkFixedTrans); this.SubActionFlagsPanel.Controls.Add(this.chkFixedRot); this.SubActionFlagsPanel.Controls.Add(this.chkFixedScale); this.SubActionFlagsPanel.Controls.Add(this.chkMovesChar); this.SubActionFlagsPanel.Controls.Add(this.chkTransOutStart); this.SubActionFlagsPanel.Controls.Add(this.inTransTime); this.SubActionFlagsPanel.Controls.Add(this.chkNoOutTrans); this.SubActionFlagsPanel.Controls.Add(this.label1); this.SubActionFlagsPanel.Location = new System.Drawing.Point(0, 21); this.SubActionFlagsPanel.Margin = new System.Windows.Forms.Padding(0); this.SubActionFlagsPanel.Name = "SubActionFlagsPanel"; this.SubActionFlagsPanel.Size = new System.Drawing.Size(201, 147); this.SubActionFlagsPanel.TabIndex = 27; this.SubActionFlagsPanel.Visible = false; // // chkUnk // this.chkUnk.AutoSize = true; this.chkUnk.Location = new System.Drawing.Point(63, 125); this.chkUnk.Name = "chkUnk"; this.chkUnk.Size = new System.Drawing.Size(72, 17); this.chkUnk.TabIndex = 36; this.chkUnk.Text = "Unknown"; this.chkUnk.UseVisualStyleBackColor = true; this.chkUnk.CheckedChanged += new System.EventHandler(this.chkUnk_CheckedChanged); // // chkLoop // this.chkLoop.AutoSize = true; this.chkLoop.Location = new System.Drawing.Point(7, 125); this.chkLoop.Name = "chkLoop"; this.chkLoop.Size = new System.Drawing.Size(50, 17); this.chkLoop.TabIndex = 35; this.chkLoop.Text = "Loop"; this.chkLoop.UseVisualStyleBackColor = true; this.chkLoop.CheckedChanged += new System.EventHandler(this.chkLoop_CheckedChanged); // // chkFixedTrans // this.chkFixedTrans.AutoSize = true; this.chkFixedTrans.Location = new System.Drawing.Point(7, 108); this.chkFixedTrans.Name = "chkFixedTrans"; this.chkFixedTrans.Size = new System.Drawing.Size(106, 17); this.chkFixedTrans.TabIndex = 34; this.chkFixedTrans.Text = "Fixed Translation"; this.chkFixedTrans.UseVisualStyleBackColor = true; this.chkFixedTrans.CheckedChanged += new System.EventHandler(this.chkFixedTrans_CheckedChanged); // // chkFixedRot // this.chkFixedRot.AutoSize = true; this.chkFixedRot.Location = new System.Drawing.Point(7, 91); this.chkFixedRot.Name = "chkFixedRot"; this.chkFixedRot.Size = new System.Drawing.Size(94, 17); this.chkFixedRot.TabIndex = 33; this.chkFixedRot.Text = "Fixed Rotation"; this.chkFixedRot.UseVisualStyleBackColor = true; this.chkFixedRot.CheckedChanged += new System.EventHandler(this.chkFixedRot_CheckedChanged); // // chkFixedScale // this.chkFixedScale.AutoSize = true; this.chkFixedScale.Location = new System.Drawing.Point(7, 74); this.chkFixedScale.Name = "chkFixedScale"; this.chkFixedScale.Size = new System.Drawing.Size(81, 17); this.chkFixedScale.TabIndex = 32; this.chkFixedScale.Text = "Fixed Scale"; this.chkFixedScale.UseVisualStyleBackColor = true; this.chkFixedScale.CheckedChanged += new System.EventHandler(this.chkFixedScale_CheckedChanged); // // chkMovesChar // this.chkMovesChar.AutoSize = true; this.chkMovesChar.Location = new System.Drawing.Point(7, 57); this.chkMovesChar.Name = "chkMovesChar"; this.chkMovesChar.Size = new System.Drawing.Size(107, 17); this.chkMovesChar.TabIndex = 31; this.chkMovesChar.Text = "Moves Character"; this.chkMovesChar.UseVisualStyleBackColor = true; this.chkMovesChar.CheckedChanged += new System.EventHandler(this.chkMovesChar_CheckedChanged); // // chkTransOutStart // this.chkTransOutStart.AutoSize = true; this.chkTransOutStart.Location = new System.Drawing.Point(7, 40); this.chkTransOutStart.Name = "chkTransOutStart"; this.chkTransOutStart.Size = new System.Drawing.Size(143, 17); this.chkTransOutStart.TabIndex = 30; this.chkTransOutStart.Text = "Transition Out From Start"; this.chkTransOutStart.UseVisualStyleBackColor = true; this.chkTransOutStart.CheckedChanged += new System.EventHandler(this.chkTransOutStart_CheckedChanged); // // inTransTime // this.inTransTime.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.inTransTime.Integral = false; this.inTransTime.Location = new System.Drawing.Point(107, 4); this.inTransTime.MaximumValue = 3.402823E+38F; this.inTransTime.MinimumValue = -3.402823E+38F; this.inTransTime.Name = "inTransTime"; this.inTransTime.Size = new System.Drawing.Size(89, 20); this.inTransTime.TabIndex = 29; this.inTransTime.Text = "0"; this.inTransTime.ValueChanged += new System.EventHandler(this.inTransTime_ValueChanged); // // chkNoOutTrans // this.chkNoOutTrans.AutoSize = true; this.chkNoOutTrans.Location = new System.Drawing.Point(7, 24); this.chkNoOutTrans.Name = "chkNoOutTrans"; this.chkNoOutTrans.Size = new System.Drawing.Size(109, 17); this.chkNoOutTrans.TabIndex = 2; this.chkNoOutTrans.Text = "No Out Transition"; this.chkNoOutTrans.UseVisualStyleBackColor = true; this.chkNoOutTrans.CheckedChanged += new System.EventHandler(this.chkNoOutTrans_CheckedChanged); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(3, 7); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(100, 13); this.label1.TabIndex = 1; this.label1.Text = "In Translation Time:"; // // panel2 // this.panel2.Controls.Add(this.lblActionName); this.panel2.Controls.Add(this.comboActionEntry); this.panel2.Controls.Add(this.flagsToggle); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Margin = new System.Windows.Forms.Padding(0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(229, 21); this.panel2.TabIndex = 37; // // lblActionName // this.lblActionName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.lblActionName.Dock = System.Windows.Forms.DockStyle.Fill; this.lblActionName.Location = new System.Drawing.Point(114, 0); this.lblActionName.Name = "lblActionName"; this.lblActionName.Size = new System.Drawing.Size(115, 21); this.lblActionName.TabIndex = 2; this.lblActionName.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // comboActionEntry // this.comboActionEntry.Dock = System.Windows.Forms.DockStyle.Left; this.comboActionEntry.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboActionEntry.FormattingEnabled = true; this.comboActionEntry.Items.AddRange(new object[] { "Main", "GFX", "SFX", "Other"}); this.comboActionEntry.Location = new System.Drawing.Point(60, 0); this.comboActionEntry.Name = "comboActionEntry"; this.comboActionEntry.Size = new System.Drawing.Size(54, 21); this.comboActionEntry.TabIndex = 1; this.comboActionEntry.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); // // flagsToggle // this.flagsToggle.Cursor = System.Windows.Forms.Cursors.Default; this.flagsToggle.Dock = System.Windows.Forms.DockStyle.Left; this.flagsToggle.Location = new System.Drawing.Point(0, 0); this.flagsToggle.Name = "flagsToggle"; this.flagsToggle.Size = new System.Drawing.Size(60, 21); this.flagsToggle.TabIndex = 0; this.flagsToggle.Text = "[+] Flags"; this.flagsToggle.UseVisualStyleBackColor = true; this.flagsToggle.Click += new System.EventHandler(this.flagsToggle_Click); // // spltEventMod // this.spltEventMod.Dock = System.Windows.Forms.DockStyle.Bottom; this.spltEventMod.Location = new System.Drawing.Point(0, 355); this.spltEventMod.Name = "spltEventMod"; this.spltEventMod.Size = new System.Drawing.Size(229, 3); this.spltEventMod.TabIndex = 26; this.spltEventMod.TabStop = false; this.spltEventMod.Visible = false; // // eventModifier // this.eventModifier.AutoSize = true; this.eventModifier.Dock = System.Windows.Forms.DockStyle.Bottom; this.eventModifier.Location = new System.Drawing.Point(0, 358); this.eventModifier.Name = "eventModifier"; this.eventModifier.Size = new System.Drawing.Size(229, 257); this.eventModifier.TabIndex = 37; this.eventModifier.Visible = false; // // ScriptPanel // this.Controls.Add(this.ActionEditor); this.Controls.Add(this.spltEventMod); this.Controls.Add(this.eventModifier); this.MinimumSize = new System.Drawing.Size(185, 0); this.Name = "ScriptPanel"; this.Size = new System.Drawing.Size(229, 615); this.ctxSubActions.ResumeLayout(false); this.ActionEditor.ResumeLayout(false); this.SubActionFlagsPanel.ResumeLayout(false); this.SubActionFlagsPanel.PerformLayout(); this.panel2.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }