Add del sprite, del anim buttons

This commit is contained in:
Tim Young 2017-09-20 11:03:53 -05:00
parent 3f4e6c5e71
commit f363a9ba76

View File

@ -49,10 +49,6 @@
this.lblCountSprites = new System.Windows.Forms.Label(); this.lblCountSprites = new System.Windows.Forms.Label();
this.TCTabPages = new System.Windows.Forms.TabControl(); this.TCTabPages = new System.Windows.Forms.TabControl();
this.tpFromImage = new System.Windows.Forms.TabPage(); this.tpFromImage = new System.Windows.Forms.TabPage();
this.lblAnimationNumber = new System.Windows.Forms.Label();
this.lblAnimationFwdBack = new System.Windows.Forms.Label();
this.btnAnimBack = new System.Windows.Forms.Button();
this.btnAnimFwd = new System.Windows.Forms.Button();
this.tpMirrorRotate = new System.Windows.Forms.TabPage(); this.tpMirrorRotate = new System.Windows.Forms.TabPage();
this.cbMirrorH = new System.Windows.Forms.CheckBox(); this.cbMirrorH = new System.Windows.Forms.CheckBox();
this.cbMirrorV = new System.Windows.Forms.CheckBox(); this.cbMirrorV = new System.Windows.Forms.CheckBox();
@ -60,6 +56,10 @@
this.tbRotation = new System.Windows.Forms.TextBox(); this.tbRotation = new System.Windows.Forms.TextBox();
this.lblWhichAnim = new System.Windows.Forms.Label(); this.lblWhichAnim = new System.Windows.Forms.Label();
this.cbAnimation = new System.Windows.Forms.ComboBox(); this.cbAnimation = new System.Windows.Forms.ComboBox();
this.lblAnimationNumber = new System.Windows.Forms.Label();
this.lblAnimationFwdBack = new System.Windows.Forms.Label();
this.btnAnimBack = new System.Windows.Forms.Button();
this.btnAnimFwd = new System.Windows.Forms.Button();
this.panelRadioButtons = new System.Windows.Forms.Panel(); this.panelRadioButtons = new System.Windows.Forms.Panel();
this.rbMirror = new System.Windows.Forms.RadioButton(); this.rbMirror = new System.Windows.Forms.RadioButton();
this.rbRotation = new System.Windows.Forms.RadioButton(); this.rbRotation = new System.Windows.Forms.RadioButton();
@ -71,6 +71,8 @@
this.btnPreviewAnimFwd = new System.Windows.Forms.Button(); this.btnPreviewAnimFwd = new System.Windows.Forms.Button();
this.btnPreviewAnimBack = new System.Windows.Forms.Button(); this.btnPreviewAnimBack = new System.Windows.Forms.Button();
this.pnlAnimationFWBK = new System.Windows.Forms.Panel(); this.pnlAnimationFWBK = new System.Windows.Forms.Panel();
this.btnDeleteAnim = new System.Windows.Forms.Button();
this.btnDelSprite = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.pbImageField)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pbImageField)).BeginInit();
this.TCTabPages.SuspendLayout(); this.TCTabPages.SuspendLayout();
this.tpFromImage.SuspendLayout(); this.tpFromImage.SuspendLayout();
@ -155,7 +157,7 @@
// //
// btnDone // btnDone
// //
this.btnDone.Location = new System.Drawing.Point(421, 309); this.btnDone.Location = new System.Drawing.Point(528, 312);
this.btnDone.Name = "btnDone"; this.btnDone.Name = "btnDone";
this.btnDone.Size = new System.Drawing.Size(75, 23); this.btnDone.Size = new System.Drawing.Size(75, 23);
this.btnDone.TabIndex = 8; this.btnDone.TabIndex = 8;
@ -165,7 +167,7 @@
// btnCancel // btnCancel
// //
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Location = new System.Drawing.Point(340, 309); this.btnCancel.Location = new System.Drawing.Point(447, 312);
this.btnCancel.Name = "btnCancel"; this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 9; this.btnCancel.TabIndex = 9;
@ -174,7 +176,7 @@
// //
// btnApply // btnApply
// //
this.btnApply.Location = new System.Drawing.Point(340, 280); this.btnApply.Location = new System.Drawing.Point(252, 312);
this.btnApply.Name = "btnApply"; this.btnApply.Name = "btnApply";
this.btnApply.Size = new System.Drawing.Size(75, 23); this.btnApply.Size = new System.Drawing.Size(75, 23);
this.btnApply.TabIndex = 10; this.btnApply.TabIndex = 10;
@ -184,7 +186,7 @@
// //
// btnNewSprite // btnNewSprite
// //
this.btnNewSprite.Location = new System.Drawing.Point(238, 280); this.btnNewSprite.Location = new System.Drawing.Point(252, 280);
this.btnNewSprite.Name = "btnNewSprite"; this.btnNewSprite.Name = "btnNewSprite";
this.btnNewSprite.Size = new System.Drawing.Size(92, 23); this.btnNewSprite.Size = new System.Drawing.Size(92, 23);
this.btnNewSprite.TabIndex = 11; this.btnNewSprite.TabIndex = 11;
@ -281,46 +283,6 @@
this.tpFromImage.Text = "From Image"; this.tpFromImage.Text = "From Image";
this.tpFromImage.UseVisualStyleBackColor = true; this.tpFromImage.UseVisualStyleBackColor = true;
// //
// lblAnimationNumber
//
this.lblAnimationNumber.AutoSize = true;
this.lblAnimationNumber.Location = new System.Drawing.Point(42, 24);
this.lblAnimationNumber.Name = "lblAnimationNumber";
this.lblAnimationNumber.Size = new System.Drawing.Size(16, 17);
this.lblAnimationNumber.TabIndex = 21;
this.lblAnimationNumber.Text = "0";
//
// lblAnimationFwdBack
//
this.lblAnimationFwdBack.AutoSize = true;
this.lblAnimationFwdBack.Location = new System.Drawing.Point(6, -4);
this.lblAnimationFwdBack.Name = "lblAnimationFwdBack";
this.lblAnimationFwdBack.Size = new System.Drawing.Size(74, 17);
this.lblAnimationFwdBack.TabIndex = 20;
this.lblAnimationFwdBack.Text = "Animation:";
//
// btnAnimBack
//
this.btnAnimBack.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnAnimBack.Location = new System.Drawing.Point(4, 18);
this.btnAnimBack.Name = "btnAnimBack";
this.btnAnimBack.Size = new System.Drawing.Size(32, 23);
this.btnAnimBack.TabIndex = 19;
this.btnAnimBack.Text = "<";
this.btnAnimBack.UseVisualStyleBackColor = true;
this.btnAnimBack.Click += new System.EventHandler(this.btnAnimBack_Click);
//
// btnAnimFwd
//
this.btnAnimFwd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnAnimFwd.Location = new System.Drawing.Point(96, 18);
this.btnAnimFwd.Name = "btnAnimFwd";
this.btnAnimFwd.Size = new System.Drawing.Size(32, 23);
this.btnAnimFwd.TabIndex = 18;
this.btnAnimFwd.Text = ">";
this.btnAnimFwd.UseVisualStyleBackColor = true;
this.btnAnimFwd.Click += new System.EventHandler(this.btnAnimFwd_Click);
//
// tpMirrorRotate // tpMirrorRotate
// //
this.tpMirrorRotate.Controls.Add(this.cbMirrorH); this.tpMirrorRotate.Controls.Add(this.cbMirrorH);
@ -390,6 +352,46 @@
this.cbAnimation.Size = new System.Drawing.Size(100, 24); this.cbAnimation.Size = new System.Drawing.Size(100, 24);
this.cbAnimation.TabIndex = 0; this.cbAnimation.TabIndex = 0;
// //
// lblAnimationNumber
//
this.lblAnimationNumber.AutoSize = true;
this.lblAnimationNumber.Location = new System.Drawing.Point(42, 24);
this.lblAnimationNumber.Name = "lblAnimationNumber";
this.lblAnimationNumber.Size = new System.Drawing.Size(16, 17);
this.lblAnimationNumber.TabIndex = 21;
this.lblAnimationNumber.Text = "0";
//
// lblAnimationFwdBack
//
this.lblAnimationFwdBack.AutoSize = true;
this.lblAnimationFwdBack.Location = new System.Drawing.Point(6, -4);
this.lblAnimationFwdBack.Name = "lblAnimationFwdBack";
this.lblAnimationFwdBack.Size = new System.Drawing.Size(74, 17);
this.lblAnimationFwdBack.TabIndex = 20;
this.lblAnimationFwdBack.Text = "Animation:";
//
// btnAnimBack
//
this.btnAnimBack.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnAnimBack.Location = new System.Drawing.Point(5, 18);
this.btnAnimBack.Name = "btnAnimBack";
this.btnAnimBack.Size = new System.Drawing.Size(32, 23);
this.btnAnimBack.TabIndex = 19;
this.btnAnimBack.Text = "<";
this.btnAnimBack.UseVisualStyleBackColor = true;
this.btnAnimBack.Click += new System.EventHandler(this.btnAnimBack_Click);
//
// btnAnimFwd
//
this.btnAnimFwd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnAnimFwd.Location = new System.Drawing.Point(96, 18);
this.btnAnimFwd.Name = "btnAnimFwd";
this.btnAnimFwd.Size = new System.Drawing.Size(32, 23);
this.btnAnimFwd.TabIndex = 18;
this.btnAnimFwd.Text = ">";
this.btnAnimFwd.UseVisualStyleBackColor = true;
this.btnAnimFwd.Click += new System.EventHandler(this.btnAnimFwd_Click);
//
// panelRadioButtons // panelRadioButtons
// //
this.panelRadioButtons.Controls.Add(this.rbMirror); this.panelRadioButtons.Controls.Add(this.rbMirror);
@ -435,11 +437,11 @@
// //
// btnNewAnimation // btnNewAnimation
// //
this.btnNewAnimation.Location = new System.Drawing.Point(238, 309); this.btnNewAnimation.Location = new System.Drawing.Point(4, 47);
this.btnNewAnimation.Name = "btnNewAnimation"; this.btnNewAnimation.Name = "btnNewAnimation";
this.btnNewAnimation.Size = new System.Drawing.Size(92, 23); this.btnNewAnimation.Size = new System.Drawing.Size(33, 23);
this.btnNewAnimation.TabIndex = 21; this.btnNewAnimation.TabIndex = 21;
this.btnNewAnimation.Text = "New Anim"; this.btnNewAnimation.Text = "+";
this.btnNewAnimation.UseVisualStyleBackColor = true; this.btnNewAnimation.UseVisualStyleBackColor = true;
this.btnNewAnimation.Click += new System.EventHandler(this.btnNewAnimation_Click); this.btnNewAnimation.Click += new System.EventHandler(this.btnNewAnimation_Click);
// //
@ -464,7 +466,7 @@
// //
// btnReset // btnReset
// //
this.btnReset.Location = new System.Drawing.Point(426, 280); this.btnReset.Location = new System.Drawing.Point(366, 312);
this.btnReset.Name = "btnReset"; this.btnReset.Name = "btnReset";
this.btnReset.Size = new System.Drawing.Size(75, 23); this.btnReset.Size = new System.Drawing.Size(75, 23);
this.btnReset.TabIndex = 24; this.btnReset.TabIndex = 24;
@ -498,15 +500,35 @@
// //
this.pnlAnimationFWBK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.pnlAnimationFWBK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.pnlAnimationFWBK.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.pnlAnimationFWBK.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pnlAnimationFWBK.Controls.Add(this.btnDeleteAnim);
this.pnlAnimationFWBK.Controls.Add(this.lblAnimationNumber); this.pnlAnimationFWBK.Controls.Add(this.lblAnimationNumber);
this.pnlAnimationFWBK.Controls.Add(this.lblAnimationFwdBack); this.pnlAnimationFWBK.Controls.Add(this.lblAnimationFwdBack);
this.pnlAnimationFWBK.Controls.Add(this.btnAnimFwd); this.pnlAnimationFWBK.Controls.Add(this.btnAnimFwd);
this.pnlAnimationFWBK.Controls.Add(this.btnAnimBack); this.pnlAnimationFWBK.Controls.Add(this.btnAnimBack);
this.pnlAnimationFWBK.Controls.Add(this.btnNewAnimation);
this.pnlAnimationFWBK.Location = new System.Drawing.Point(469, 223); this.pnlAnimationFWBK.Location = new System.Drawing.Point(469, 223);
this.pnlAnimationFWBK.Name = "pnlAnimationFWBK"; this.pnlAnimationFWBK.Name = "pnlAnimationFWBK";
this.pnlAnimationFWBK.Size = new System.Drawing.Size(133, 44); this.pnlAnimationFWBK.Size = new System.Drawing.Size(133, 80);
this.pnlAnimationFWBK.TabIndex = 27; this.pnlAnimationFWBK.TabIndex = 27;
// //
// btnDeleteAnim
//
this.btnDeleteAnim.Location = new System.Drawing.Point(95, 47);
this.btnDeleteAnim.Name = "btnDeleteAnim";
this.btnDeleteAnim.Size = new System.Drawing.Size(33, 23);
this.btnDeleteAnim.TabIndex = 22;
this.btnDeleteAnim.Text = "-";
this.btnDeleteAnim.UseVisualStyleBackColor = true;
//
// btnDelSprite
//
this.btnDelSprite.Location = new System.Drawing.Point(356, 280);
this.btnDelSprite.Name = "btnDelSprite";
this.btnDelSprite.Size = new System.Drawing.Size(92, 23);
this.btnDelSprite.TabIndex = 28;
this.btnDelSprite.Text = "Del Sprite";
this.btnDelSprite.UseVisualStyleBackColor = true;
//
// SpriteEntryForm // SpriteEntryForm
// //
this.AcceptButton = this.btnApply; this.AcceptButton = this.btnApply;
@ -514,12 +536,12 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.btnCancel; this.CancelButton = this.btnCancel;
this.ClientSize = new System.Drawing.Size(614, 347); this.ClientSize = new System.Drawing.Size(614, 347);
this.Controls.Add(this.btnDelSprite);
this.Controls.Add(this.btnPreviewAnimBack); this.Controls.Add(this.btnPreviewAnimBack);
this.Controls.Add(this.btnPreviewAnimFwd); this.Controls.Add(this.btnPreviewAnimFwd);
this.Controls.Add(this.btnReset); this.Controls.Add(this.btnReset);
this.Controls.Add(this.btnPreview); this.Controls.Add(this.btnPreview);
this.Controls.Add(this.pbPreview); this.Controls.Add(this.pbPreview);
this.Controls.Add(this.btnNewAnimation);
this.Controls.Add(this.panelRadioButtons); this.Controls.Add(this.panelRadioButtons);
this.Controls.Add(this.TCTabPages); this.Controls.Add(this.TCTabPages);
this.Controls.Add(this.lblCountSprites); this.Controls.Add(this.lblCountSprites);
@ -604,5 +626,7 @@
private System.Windows.Forms.Button btnPreviewAnimBack; private System.Windows.Forms.Button btnPreviewAnimBack;
private System.Windows.Forms.Label lblAnimationNumber; private System.Windows.Forms.Label lblAnimationNumber;
private System.Windows.Forms.Panel pnlAnimationFWBK; private System.Windows.Forms.Panel pnlAnimationFWBK;
private System.Windows.Forms.Button btnDeleteAnim;
private System.Windows.Forms.Button btnDelSprite;
} }
} }