This commit is contained in:
meelstorm
2025-10-15 13:13:47 +02:00
parent 97ac18eac6
commit dec036dbcf
16 changed files with 534 additions and 678 deletions

View File

@@ -1,4 +1,6 @@
namespace Lindt.Candybox.Demo
using System.Resources;
namespace Lindt.Candybox.Demo
{
partial class MapEditor
{
@@ -28,200 +30,216 @@
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MapEditor));
materialRaisedButton1 = new MaterialSkin.Controls.MaterialRaisedButton();
materialRaisedButton3 = new MaterialSkin.Controls.MaterialRaisedButton();
this.maskControl1 = new Lindt.Candybox.Demo.MaskControl();
this.materialRaisedButton1 = new MaterialSkin.Controls.MaterialRaisedButton();
this.materialRaisedButton3 = new MaterialSkin.Controls.MaterialRaisedButton();
this.label1 = new System.Windows.Forms.Label();
this.udMemoryBuffer = new System.Windows.Forms.NumericUpDown();
this.btnBrush = new MaterialSkin.Controls.MaterialRaisedButton();
this.btnDrawLine = new MaterialSkin.Controls.MaterialRaisedButton();
this.btnRemoveLine = new MaterialSkin.Controls.MaterialRaisedButton();
this.btnMoveLine = new MaterialSkin.Controls.MaterialRaisedButton();
this.btnMoveVertices = new MaterialSkin.Controls.MaterialRaisedButton();
this.label2 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.udMemoryBuffer)).BeginInit();
this.SuspendLayout();
label1 = new Label();
udMemoryBuffer = new NumericUpDown();
btnBrush = new MaterialSkin.Controls.MaterialRaisedButton();
btnDrawLine = new MaterialSkin.Controls.MaterialRaisedButton();
btnRemoveLine = new MaterialSkin.Controls.MaterialRaisedButton();
btnMoveLine = new MaterialSkin.Controls.MaterialRaisedButton();
btnMoveVertices = new MaterialSkin.Controls.MaterialRaisedButton();
label2 = new Label();
btnRelearnPositions = new MaterialSkin.Controls.MaterialRaisedButton();
((System.ComponentModel.ISupportInitialize)udMemoryBuffer).BeginInit();
SuspendLayout();
//
// maskControl1
//
this.maskControl1.Location = new System.Drawing.Point(8, 32);
this.maskControl1.Mask = ((System.Drawing.Bitmap)(resources.GetObject("maskControl1.Mask")));
this.maskControl1.Name = "maskControl1";
this.maskControl1.Original = ((System.Drawing.Bitmap)(resources.GetObject("maskControl1.Original")));
this.maskControl1.Size = new System.Drawing.Size(900, 704);
this.maskControl1.TabIndex = 0;
//
// materialRaisedButton1
//
this.materialRaisedButton1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.materialRaisedButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.materialRaisedButton1.Depth = 0;
this.materialRaisedButton1.DrawBorder = true;
this.materialRaisedButton1.Icon = null;
this.materialRaisedButton1.Location = new System.Drawing.Point(928, 424);
this.materialRaisedButton1.MouseState = MaterialSkin.MouseState.HOVER;
this.materialRaisedButton1.Name = "materialRaisedButton1";
this.materialRaisedButton1.Primary = false;
this.materialRaisedButton1.Size = new System.Drawing.Size(128, 64);
this.materialRaisedButton1.TabIndex = 1;
this.materialRaisedButton1.Text = "Cancel";
this.materialRaisedButton1.UseVisualStyleBackColor = true;
this.materialRaisedButton1.Click += new System.EventHandler(this.materialRaisedButton1_Click);
materialRaisedButton1.AutoSizeMode = AutoSizeMode.GrowAndShrink;
materialRaisedButton1.Cursor = Cursors.Hand;
materialRaisedButton1.Depth = 0;
materialRaisedButton1.DrawBorder = true;
materialRaisedButton1.Icon = null;
materialRaisedButton1.Location = new Point(928, 496);
materialRaisedButton1.MouseState = MaterialSkin.MouseState.HOVER;
materialRaisedButton1.Name = "materialRaisedButton1";
materialRaisedButton1.Primary = false;
materialRaisedButton1.Size = new Size(128, 64);
materialRaisedButton1.TabIndex = 1;
materialRaisedButton1.Text = "Cancel";
materialRaisedButton1.UseVisualStyleBackColor = true;
materialRaisedButton1.Click += materialRaisedButton1_Click;
//
// materialRaisedButton3
//
this.materialRaisedButton3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.materialRaisedButton3.Cursor = System.Windows.Forms.Cursors.Hand;
this.materialRaisedButton3.Depth = 0;
this.materialRaisedButton3.DrawBorder = true;
this.materialRaisedButton3.Icon = null;
this.materialRaisedButton3.Location = new System.Drawing.Point(928, 352);
this.materialRaisedButton3.MouseState = MaterialSkin.MouseState.HOVER;
this.materialRaisedButton3.Name = "materialRaisedButton3";
this.materialRaisedButton3.Primary = true;
this.materialRaisedButton3.Size = new System.Drawing.Size(128, 64);
this.materialRaisedButton3.TabIndex = 3;
this.materialRaisedButton3.Text = "Learn";
this.materialRaisedButton3.UseVisualStyleBackColor = true;
this.materialRaisedButton3.Click += new System.EventHandler(this.materialRaisedButton3_Click);
materialRaisedButton3.AutoSizeMode = AutoSizeMode.GrowAndShrink;
materialRaisedButton3.Cursor = Cursors.Hand;
materialRaisedButton3.Depth = 0;
materialRaisedButton3.DrawBorder = true;
materialRaisedButton3.Icon = null;
materialRaisedButton3.Location = new Point(928, 352);
materialRaisedButton3.MouseState = MaterialSkin.MouseState.HOVER;
materialRaisedButton3.Name = "materialRaisedButton3";
materialRaisedButton3.Primary = true;
materialRaisedButton3.Size = new Size(128, 64);
materialRaisedButton3.TabIndex = 3;
materialRaisedButton3.Text = "Learn";
materialRaisedButton3.UseVisualStyleBackColor = true;
materialRaisedButton3.Click += materialRaisedButton3_Click;
//
// label1
//
this.label1.AutoSize = true;
this.label1.BackColor = System.Drawing.Color.White;
this.label1.Location = new System.Drawing.Point(928, 504);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(90, 15);
this.label1.TabIndex = 4;
this.label1.Text = "Memory buffer:";
label1.AutoSize = true;
label1.BackColor = Color.White;
label1.Location = new Point(928, 576);
label1.Name = "label1";
label1.Size = new Size(90, 15);
label1.TabIndex = 4;
label1.Text = "Memory buffer:";
//
// udMemoryBuffer
//
this.udMemoryBuffer.Location = new System.Drawing.Point(928, 528);
this.udMemoryBuffer.Name = "udMemoryBuffer";
this.udMemoryBuffer.Size = new System.Drawing.Size(120, 23);
this.udMemoryBuffer.TabIndex = 5;
udMemoryBuffer.Location = new Point(928, 600);
udMemoryBuffer.Name = "udMemoryBuffer";
udMemoryBuffer.Size = new Size(120, 23);
udMemoryBuffer.TabIndex = 5;
//
// btnBrush
//
this.btnBrush.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btnBrush.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnBrush.Depth = 0;
this.btnBrush.DrawBorder = true;
this.btnBrush.Icon = null;
this.btnBrush.Location = new System.Drawing.Point(928, 64);
this.btnBrush.MouseState = MaterialSkin.MouseState.HOVER;
this.btnBrush.Name = "btnBrush";
this.btnBrush.Primary = false;
this.btnBrush.Size = new System.Drawing.Size(128, 32);
this.btnBrush.TabIndex = 6;
this.btnBrush.Text = "Brush";
this.btnBrush.UseVisualStyleBackColor = true;
this.btnBrush.Click += new System.EventHandler(this.btnBrush_Click);
btnBrush.AutoSizeMode = AutoSizeMode.GrowAndShrink;
btnBrush.Cursor = Cursors.Hand;
btnBrush.Depth = 0;
btnBrush.DrawBorder = true;
btnBrush.Icon = null;
btnBrush.Location = new Point(928, 64);
btnBrush.MouseState = MaterialSkin.MouseState.HOVER;
btnBrush.Name = "btnBrush";
btnBrush.Primary = false;
btnBrush.Size = new Size(128, 32);
btnBrush.TabIndex = 6;
btnBrush.Text = "Brush";
btnBrush.UseVisualStyleBackColor = true;
btnBrush.Click += btnBrush_Click;
//
// btnDrawLine
//
this.btnDrawLine.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btnDrawLine.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDrawLine.Depth = 0;
this.btnDrawLine.DrawBorder = true;
this.btnDrawLine.Icon = null;
this.btnDrawLine.Location = new System.Drawing.Point(928, 104);
this.btnDrawLine.MouseState = MaterialSkin.MouseState.HOVER;
this.btnDrawLine.Name = "btnDrawLine";
this.btnDrawLine.Primary = false;
this.btnDrawLine.Size = new System.Drawing.Size(128, 32);
this.btnDrawLine.TabIndex = 7;
this.btnDrawLine.Text = "Draw Line";
this.btnDrawLine.UseVisualStyleBackColor = true;
this.btnDrawLine.Click += new System.EventHandler(this.btnDrawLine_Click);
btnDrawLine.AutoSizeMode = AutoSizeMode.GrowAndShrink;
btnDrawLine.Cursor = Cursors.Hand;
btnDrawLine.Depth = 0;
btnDrawLine.DrawBorder = true;
btnDrawLine.Icon = null;
btnDrawLine.Location = new Point(928, 104);
btnDrawLine.MouseState = MaterialSkin.MouseState.HOVER;
btnDrawLine.Name = "btnDrawLine";
btnDrawLine.Primary = false;
btnDrawLine.Size = new Size(128, 32);
btnDrawLine.TabIndex = 7;
btnDrawLine.Text = "Draw Line";
btnDrawLine.UseVisualStyleBackColor = true;
btnDrawLine.Click += btnDrawLine_Click;
//
// btnRemoveLine
//
this.btnRemoveLine.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btnRemoveLine.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRemoveLine.Depth = 0;
this.btnRemoveLine.DrawBorder = true;
this.btnRemoveLine.Icon = null;
this.btnRemoveLine.Location = new System.Drawing.Point(928, 144);
this.btnRemoveLine.MouseState = MaterialSkin.MouseState.HOVER;
this.btnRemoveLine.Name = "btnRemoveLine";
this.btnRemoveLine.Primary = false;
this.btnRemoveLine.Size = new System.Drawing.Size(128, 32);
this.btnRemoveLine.TabIndex = 8;
this.btnRemoveLine.Text = "Remove Line";
this.btnRemoveLine.UseVisualStyleBackColor = true;
this.btnRemoveLine.Click += new System.EventHandler(this.btnRemoveLine_Click);
btnRemoveLine.AutoSizeMode = AutoSizeMode.GrowAndShrink;
btnRemoveLine.Cursor = Cursors.Hand;
btnRemoveLine.Depth = 0;
btnRemoveLine.DrawBorder = true;
btnRemoveLine.Icon = null;
btnRemoveLine.Location = new Point(928, 144);
btnRemoveLine.MouseState = MaterialSkin.MouseState.HOVER;
btnRemoveLine.Name = "btnRemoveLine";
btnRemoveLine.Primary = false;
btnRemoveLine.Size = new Size(128, 32);
btnRemoveLine.TabIndex = 8;
btnRemoveLine.Text = "Remove Line";
btnRemoveLine.UseVisualStyleBackColor = true;
btnRemoveLine.Click += btnRemoveLine_Click;
//
// btnMoveLine
//
this.btnMoveLine.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btnMoveLine.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnMoveLine.Depth = 0;
this.btnMoveLine.DrawBorder = true;
this.btnMoveLine.Icon = null;
this.btnMoveLine.Location = new System.Drawing.Point(928, 184);
this.btnMoveLine.MouseState = MaterialSkin.MouseState.HOVER;
this.btnMoveLine.Name = "btnMoveLine";
this.btnMoveLine.Primary = false;
this.btnMoveLine.Size = new System.Drawing.Size(128, 32);
this.btnMoveLine.TabIndex = 9;
this.btnMoveLine.Text = "Move Line";
this.btnMoveLine.UseVisualStyleBackColor = true;
this.btnMoveLine.Click += new System.EventHandler(this.btnMoveLine_Click);
btnMoveLine.AutoSizeMode = AutoSizeMode.GrowAndShrink;
btnMoveLine.Cursor = Cursors.Hand;
btnMoveLine.Depth = 0;
btnMoveLine.DrawBorder = true;
btnMoveLine.Icon = null;
btnMoveLine.Location = new Point(928, 184);
btnMoveLine.MouseState = MaterialSkin.MouseState.HOVER;
btnMoveLine.Name = "btnMoveLine";
btnMoveLine.Primary = false;
btnMoveLine.Size = new Size(128, 32);
btnMoveLine.TabIndex = 9;
btnMoveLine.Text = "Move Line";
btnMoveLine.UseVisualStyleBackColor = true;
btnMoveLine.Click += btnMoveLine_Click;
//
// btnMoveVertices
//
this.btnMoveVertices.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btnMoveVertices.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnMoveVertices.Depth = 0;
this.btnMoveVertices.DrawBorder = true;
this.btnMoveVertices.Icon = null;
this.btnMoveVertices.Location = new System.Drawing.Point(928, 224);
this.btnMoveVertices.MouseState = MaterialSkin.MouseState.HOVER;
this.btnMoveVertices.Name = "btnMoveVertices";
this.btnMoveVertices.Primary = false;
this.btnMoveVertices.Size = new System.Drawing.Size(128, 32);
this.btnMoveVertices.TabIndex = 10;
this.btnMoveVertices.Text = "Move Vertices";
this.btnMoveVertices.UseVisualStyleBackColor = true;
this.btnMoveVertices.Click += new System.EventHandler(this.btnMoveVertices_Click);
btnMoveVertices.AutoSizeMode = AutoSizeMode.GrowAndShrink;
btnMoveVertices.Cursor = Cursors.Hand;
btnMoveVertices.Depth = 0;
btnMoveVertices.DrawBorder = true;
btnMoveVertices.Icon = null;
btnMoveVertices.Location = new Point(928, 224);
btnMoveVertices.MouseState = MaterialSkin.MouseState.HOVER;
btnMoveVertices.Name = "btnMoveVertices";
btnMoveVertices.Primary = false;
btnMoveVertices.Size = new Size(128, 32);
btnMoveVertices.TabIndex = 10;
btnMoveVertices.Text = "Move Vertices";
btnMoveVertices.UseVisualStyleBackColor = true;
btnMoveVertices.Click += btnMoveVertices_Click;
//
// label2
//
this.label2.AutoSize = true;
this.label2.BackColor = System.Drawing.Color.White;
this.label2.Location = new System.Drawing.Point(928, 32);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(68, 15);
this.label2.TabIndex = 11;
this.label2.Text = "Edit Modes:";
label2.AutoSize = true;
label2.BackColor = Color.White;
label2.Location = new Point(928, 32);
label2.Name = "label2";
label2.Size = new Size(69, 15);
label2.TabIndex = 11;
label2.Text = "Edit Modes:";
//
// btnRelearnPositions
//
btnRelearnPositions.AutoSizeMode = AutoSizeMode.GrowAndShrink;
btnRelearnPositions.Cursor = Cursors.Hand;
btnRelearnPositions.Depth = 0;
btnRelearnPositions.DrawBorder = true;
btnRelearnPositions.Icon = null;
btnRelearnPositions.Location = new Point(928, 424);
btnRelearnPositions.MouseState = MaterialSkin.MouseState.HOVER;
btnRelearnPositions.Name = "btnRelearnPositions";
btnRelearnPositions.Primary = false;
btnRelearnPositions.Size = new Size(128, 64);
btnRelearnPositions.TabIndex = 13;
btnRelearnPositions.Text = "Relearn positions";
btnRelearnPositions.UseVisualStyleBackColor = true;
btnRelearnPositions.Click += btnRelearnPositions_Click;
//
// MapEditor
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1066, 824);
this.Controls.Add(this.label2);
this.Controls.Add(this.btnMoveVertices);
this.Controls.Add(this.btnMoveLine);
this.Controls.Add(this.btnRemoveLine);
this.Controls.Add(this.btnDrawLine);
this.Controls.Add(this.btnBrush);
this.Controls.Add(this.udMemoryBuffer);
this.Controls.Add(this.label1);
this.Controls.Add(this.materialRaisedButton3);
this.Controls.Add(this.materialRaisedButton1);
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(1059, 817);
Controls.Add(btnRelearnPositions);
Controls.Add(label2);
Controls.Add(btnMoveVertices);
Controls.Add(btnMoveLine);
Controls.Add(btnRemoveLine);
Controls.Add(btnDrawLine);
Controls.Add(btnBrush);
Controls.Add(udMemoryBuffer);
Controls.Add(label1);
Controls.Add(materialRaisedButton3);
Controls.Add(materialRaisedButton1);
this.Controls.Add(this.maskControl1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "MapEditor";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "MapEditor";
((System.ComponentModel.ISupportInitialize)(this.udMemoryBuffer)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
MaximizeBox = false;
MinimizeBox = false;
Name = "MapEditor";
StartPosition = FormStartPosition.CenterScreen;
Text = "MapEditor";
((System.ComponentModel.ISupportInitialize)udMemoryBuffer).EndInit();
ResumeLayout(false);
PerformLayout();
}
@@ -238,5 +256,6 @@
private MaterialSkin.Controls.MaterialRaisedButton btnMoveLine;
private MaterialSkin.Controls.MaterialRaisedButton btnMoveVertices;
private System.Windows.Forms.Label label2;
private MaterialSkin.Controls.MaterialRaisedButton btnRelearnPositions;
}
}