261 lines
11 KiB
C#
261 lines
11 KiB
C#
using System.Resources;
|
|
|
|
namespace Lindt.Candybox.Demo
|
|
{
|
|
partial class MapEditor
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
materialRaisedButton1 = new MaterialSkin.Controls.MaterialRaisedButton();
|
|
materialRaisedButton3 = new MaterialSkin.Controls.MaterialRaisedButton();
|
|
this.maskControl1 = new Lindt.Candybox.Demo.MaskControl();
|
|
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.Name = "maskControl1";
|
|
this.maskControl1.Size = new System.Drawing.Size(900, 704);
|
|
this.maskControl1.TabIndex = 0;
|
|
//
|
|
// materialRaisedButton1
|
|
//
|
|
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
|
|
//
|
|
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
|
|
//
|
|
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
|
|
//
|
|
udMemoryBuffer.Location = new Point(928, 600);
|
|
udMemoryBuffer.Name = "udMemoryBuffer";
|
|
udMemoryBuffer.Size = new Size(120, 23);
|
|
udMemoryBuffer.TabIndex = 5;
|
|
//
|
|
// btnBrush
|
|
//
|
|
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
|
|
//
|
|
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
|
|
//
|
|
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
|
|
//
|
|
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
|
|
//
|
|
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
|
|
//
|
|
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
|
|
//
|
|
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);
|
|
MaximizeBox = false;
|
|
MinimizeBox = false;
|
|
Name = "MapEditor";
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
Text = "MapEditor";
|
|
((System.ComponentModel.ISupportInitialize)udMemoryBuffer).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private MaskControl maskControl1;
|
|
private MaterialSkin.Controls.MaterialRaisedButton materialRaisedButton1;
|
|
private MaterialSkin.Controls.MaterialRaisedButton materialRaisedButton3;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.NumericUpDown udMemoryBuffer;
|
|
private MaterialSkin.Controls.MaterialRaisedButton btnBrush;
|
|
private MaterialSkin.Controls.MaterialRaisedButton btnDrawLine;
|
|
private MaterialSkin.Controls.MaterialRaisedButton btnRemoveLine;
|
|
private MaterialSkin.Controls.MaterialRaisedButton btnMoveLine;
|
|
private MaterialSkin.Controls.MaterialRaisedButton btnMoveVertices;
|
|
private System.Windows.Forms.Label label2;
|
|
private MaterialSkin.Controls.MaterialRaisedButton btnRelearnPositions;
|
|
}
|
|
} |