maybe this works better

This commit is contained in:
Chris Forbes
2010-10-11 19:10:34 +13:00
parent 9c0e3ac4c9
commit 024b564b8c
2 changed files with 414 additions and 430 deletions

View File

@@ -28,221 +28,200 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.splitContainer2 = new System.Windows.Forms.SplitContainer(); this.pmMiniMap = new System.Windows.Forms.PictureBox();
this.pmMiniMap = new System.Windows.Forms.PictureBox(); this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage();
this.tabPage1 = new System.Windows.Forms.TabPage(); this.tilePalette = new System.Windows.Forms.FlowLayoutPanel();
this.tilePalette = new System.Windows.Forms.FlowLayoutPanel(); this.tabPage2 = new System.Windows.Forms.TabPage();
this.tabPage2 = new System.Windows.Forms.TabPage(); this.actorPalette = new System.Windows.Forms.FlowLayoutPanel();
this.actorPalette = new System.Windows.Forms.FlowLayoutPanel(); this.tabPage3 = new System.Windows.Forms.TabPage();
this.tabPage3 = new System.Windows.Forms.TabPage(); this.resourcePalette = new System.Windows.Forms.FlowLayoutPanel();
this.resourcePalette = new System.Windows.Forms.FlowLayoutPanel(); this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.cCRedAlertMapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.cCRedAlertMapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.bitmapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.bitmapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.mnuExport = new System.Windows.Forms.ToolStripMenuItem();
this.mnuExport = new System.Windows.Forms.ToolStripMenuItem(); this.mnuMinimapToPNG = new System.Windows.Forms.ToolStripMenuItem();
this.mnuMinimapToPNG = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.exotToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.exotToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.mapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.mapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.propertiesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.propertiesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.resizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.resizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.spawnpointsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.spawnpointsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.layersFloaterToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.layersFloaterToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.tt = new System.Windows.Forms.ToolTip(this.components);
this.tt = new System.Windows.Forms.ToolTip(this.components); this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.splitContainer3 = new System.Windows.Forms.SplitContainer();
this.surface1 = new OpenRA.Editor.Surface(); this.surface1 = new OpenRA.Editor.Surface();
this.saveFileDialog = new System.Windows.Forms.SaveFileDialog(); this.splitContainer1.Panel1.SuspendLayout();
this.toolStripContainer1.ContentPanel.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout();
this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); this.splitContainer1.SuspendLayout();
this.toolStripContainer1.SuspendLayout(); this.splitContainer2.Panel1.SuspendLayout();
this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer2.Panel2.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer2.SuspendLayout();
this.splitContainer1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pmMiniMap)).BeginInit();
this.splitContainer2.Panel1.SuspendLayout(); this.tabControl1.SuspendLayout();
this.splitContainer2.Panel2.SuspendLayout(); this.tabPage1.SuspendLayout();
this.splitContainer2.SuspendLayout(); this.tabPage2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pmMiniMap)).BeginInit(); this.tabPage3.SuspendLayout();
this.tabControl1.SuspendLayout(); this.menuStrip1.SuspendLayout();
this.tabPage1.SuspendLayout(); this.splitContainer3.Panel1.SuspendLayout();
this.tabPage2.SuspendLayout(); this.splitContainer3.Panel2.SuspendLayout();
this.tabPage3.SuspendLayout(); this.splitContainer3.SuspendLayout();
this.menuStrip1.SuspendLayout(); this.SuspendLayout();
this.SuspendLayout(); //
// // splitContainer1
// toolStripContainer1 //
// this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
// this.splitContainer1.Location = new System.Drawing.Point(0, 0);
// toolStripContainer1.ContentPanel this.splitContainer1.Name = "splitContainer1";
// //
this.toolStripContainer1.ContentPanel.Controls.Add(this.splitContainer1); // splitContainer1.Panel1
this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(985, 727); //
this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.Panel1.Controls.Add(this.splitContainer2);
this.toolStripContainer1.Location = new System.Drawing.Point(0, 0); //
this.toolStripContainer1.Name = "toolStripContainer1"; // splitContainer1.Panel2
this.toolStripContainer1.Padding = new System.Windows.Forms.Padding(0, 0, 0, 22); //
this.toolStripContainer1.Size = new System.Drawing.Size(985, 773); this.splitContainer1.Panel2.Controls.Add(this.surface1);
this.toolStripContainer1.TabIndex = 1; this.splitContainer1.Size = new System.Drawing.Size(985, 744);
this.toolStripContainer1.Text = "toolStripContainer1"; this.splitContainer1.SplitterDistance = 198;
// this.splitContainer1.TabIndex = 0;
// toolStripContainer1.TopToolStripPanel //
// // splitContainer2
this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.menuStrip1); //
// this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
// splitContainer1 this.splitContainer2.Location = new System.Drawing.Point(0, 0);
// this.splitContainer2.Name = "splitContainer2";
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
this.splitContainer1.Location = new System.Drawing.Point(0, 0); //
this.splitContainer1.Name = "splitContainer1"; // splitContainer2.Panel1
// //
// splitContainer1.Panel1 this.splitContainer2.Panel1.Controls.Add(this.pmMiniMap);
// //
this.splitContainer1.Panel1.Controls.Add(this.splitContainer2); // splitContainer2.Panel2
// //
// splitContainer1.Panel2 this.splitContainer2.Panel2.Controls.Add(this.tabControl1);
// this.splitContainer2.Size = new System.Drawing.Size(198, 744);
this.splitContainer1.Panel2.Controls.Add(this.surface1); this.splitContainer2.SplitterDistance = 182;
this.splitContainer1.Size = new System.Drawing.Size(985, 727); this.splitContainer2.TabIndex = 1;
this.splitContainer1.SplitterDistance = 198; //
this.splitContainer1.TabIndex = 0; // pmMiniMap
// //
// splitContainer2 this.pmMiniMap.BackColor = System.Drawing.Color.Black;
// this.pmMiniMap.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; this.pmMiniMap.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer2.Location = new System.Drawing.Point(0, 0); this.pmMiniMap.Location = new System.Drawing.Point(0, 0);
this.splitContainer2.Name = "splitContainer2"; this.pmMiniMap.Name = "pmMiniMap";
this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal; this.pmMiniMap.Size = new System.Drawing.Size(198, 182);
// this.pmMiniMap.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
// splitContainer2.Panel1 this.pmMiniMap.TabIndex = 1;
// this.pmMiniMap.TabStop = false;
this.splitContainer2.Panel1.Controls.Add(this.pmMiniMap); //
// // tabControl1
// splitContainer2.Panel2 //
// this.tabControl1.Controls.Add(this.tabPage1);
this.splitContainer2.Panel2.Controls.Add(this.tabControl1); this.tabControl1.Controls.Add(this.tabPage2);
this.splitContainer2.Size = new System.Drawing.Size(198, 727); this.tabControl1.Controls.Add(this.tabPage3);
this.splitContainer2.SplitterDistance = 160; this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer2.TabIndex = 1; this.tabControl1.Location = new System.Drawing.Point(0, 0);
// this.tabControl1.Margin = new System.Windows.Forms.Padding(3, 3, 3, 0);
// pmMiniMap this.tabControl1.Multiline = true;
// this.tabControl1.Name = "tabControl1";
this.pmMiniMap.BackColor = System.Drawing.Color.Black; this.tabControl1.Padding = new System.Drawing.Point(6, 0);
this.pmMiniMap.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.tabControl1.SelectedIndex = 0;
this.pmMiniMap.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl1.Size = new System.Drawing.Size(198, 558);
this.pmMiniMap.Location = new System.Drawing.Point(0, 0); this.tabControl1.TabIndex = 0;
this.pmMiniMap.Name = "pmMiniMap"; //
this.pmMiniMap.Size = new System.Drawing.Size(198, 160); // tabPage1
this.pmMiniMap.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; //
this.pmMiniMap.TabIndex = 1; this.tabPage1.Controls.Add(this.tilePalette);
this.pmMiniMap.TabStop = false; this.tabPage1.Location = new System.Drawing.Point(4, 20);
// this.tabPage1.Name = "tabPage1";
// tabControl1 this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
// this.tabPage1.Size = new System.Drawing.Size(190, 534);
this.tabControl1.Controls.Add(this.tabPage1); this.tabPage1.TabIndex = 0;
this.tabControl1.Controls.Add(this.tabPage2); this.tabPage1.Text = "Templates";
this.tabControl1.Controls.Add(this.tabPage3); this.tabPage1.UseVisualStyleBackColor = true;
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; //
this.tabControl1.Location = new System.Drawing.Point(0, 0); // tilePalette
this.tabControl1.Margin = new System.Windows.Forms.Padding(3, 3, 3, 0); //
this.tabControl1.Multiline = true; this.tilePalette.AutoScroll = true;
this.tabControl1.Name = "tabControl1"; this.tilePalette.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.tabControl1.Padding = new System.Drawing.Point(6, 0); this.tilePalette.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControl1.SelectedIndex = 0; this.tilePalette.Location = new System.Drawing.Point(3, 3);
this.tabControl1.Size = new System.Drawing.Size(198, 563); this.tilePalette.Name = "tilePalette";
this.tabControl1.TabIndex = 0; this.tilePalette.Size = new System.Drawing.Size(184, 528);
// this.tilePalette.TabIndex = 1;
// tabPage1 //
// // tabPage2
this.tabPage1.Controls.Add(this.tilePalette); //
this.tabPage1.Location = new System.Drawing.Point(4, 20); this.tabPage2.Controls.Add(this.actorPalette);
this.tabPage1.Name = "tabPage1"; this.tabPage2.Location = new System.Drawing.Point(4, 20);
this.tabPage1.Padding = new System.Windows.Forms.Padding(3); this.tabPage2.Name = "tabPage2";
this.tabPage1.Size = new System.Drawing.Size(190, 539); this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
this.tabPage1.TabIndex = 0; this.tabPage2.Size = new System.Drawing.Size(190, 534);
this.tabPage1.Text = "Templates"; this.tabPage2.TabIndex = 1;
this.tabPage1.UseVisualStyleBackColor = true; this.tabPage2.Text = "Actors";
// this.tabPage2.UseVisualStyleBackColor = true;
// tilePalette //
// // actorPalette
this.tilePalette.AutoScroll = true; //
this.tilePalette.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.actorPalette.AutoScroll = true;
this.tilePalette.Dock = System.Windows.Forms.DockStyle.Fill; this.actorPalette.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.tilePalette.Location = new System.Drawing.Point(3, 3); this.actorPalette.Dock = System.Windows.Forms.DockStyle.Fill;
this.tilePalette.Name = "tilePalette"; this.actorPalette.Location = new System.Drawing.Point(3, 3);
this.tilePalette.Size = new System.Drawing.Size(184, 533); this.actorPalette.Name = "actorPalette";
this.tilePalette.TabIndex = 1; this.actorPalette.Size = new System.Drawing.Size(184, 528);
// this.actorPalette.TabIndex = 2;
// tabPage2 //
// // tabPage3
this.tabPage2.Controls.Add(this.actorPalette); //
this.tabPage2.Location = new System.Drawing.Point(4, 20); this.tabPage3.Controls.Add(this.resourcePalette);
this.tabPage2.Name = "tabPage2"; this.tabPage3.Location = new System.Drawing.Point(4, 20);
this.tabPage2.Padding = new System.Windows.Forms.Padding(3); this.tabPage3.Name = "tabPage3";
this.tabPage2.Size = new System.Drawing.Size(190, 539); this.tabPage3.Size = new System.Drawing.Size(190, 534);
this.tabPage2.TabIndex = 1; this.tabPage3.TabIndex = 2;
this.tabPage2.Text = "Actors"; this.tabPage3.Text = "Resources";
this.tabPage2.UseVisualStyleBackColor = true; this.tabPage3.UseVisualStyleBackColor = true;
// //
// actorPalette // resourcePalette
// //
this.actorPalette.AutoScroll = true; this.resourcePalette.AutoScroll = true;
this.actorPalette.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.resourcePalette.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.actorPalette.Dock = System.Windows.Forms.DockStyle.Fill; this.resourcePalette.Dock = System.Windows.Forms.DockStyle.Fill;
this.actorPalette.Location = new System.Drawing.Point(3, 3); this.resourcePalette.Location = new System.Drawing.Point(0, 0);
this.actorPalette.Name = "actorPalette"; this.resourcePalette.Name = "resourcePalette";
this.actorPalette.Size = new System.Drawing.Size(184, 533); this.resourcePalette.Size = new System.Drawing.Size(190, 534);
this.actorPalette.TabIndex = 2; this.resourcePalette.TabIndex = 3;
// //
// tabPage3 // menuStrip1
// //
this.tabPage3.Controls.Add(this.resourcePalette); this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tabPage3.Location = new System.Drawing.Point(4, 20);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Size = new System.Drawing.Size(190, 539);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = "Resources";
this.tabPage3.UseVisualStyleBackColor = true;
//
// resourcePalette
//
this.resourcePalette.AutoScroll = true;
this.resourcePalette.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.resourcePalette.Dock = System.Windows.Forms.DockStyle.Fill;
this.resourcePalette.Location = new System.Drawing.Point(0, 0);
this.resourcePalette.Name = "resourcePalette";
this.resourcePalette.Size = new System.Drawing.Size(190, 539);
this.resourcePalette.TabIndex = 3;
//
// menuStrip1
//
this.menuStrip1.Dock = System.Windows.Forms.DockStyle.None;
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.fileToolStripMenuItem, this.fileToolStripMenuItem,
this.mapToolStripMenuItem, this.mapToolStripMenuItem,
this.toolsToolStripMenuItem}); this.toolsToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(985, 24); this.menuStrip1.Size = new System.Drawing.Size(985, 24);
this.menuStrip1.TabIndex = 1; this.menuStrip1.TabIndex = 1;
this.menuStrip1.Text = "menuStrip1"; this.menuStrip1.Text = "menuStrip1";
// //
// fileToolStripMenuItem // fileToolStripMenuItem
// //
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.newToolStripMenuItem, this.newToolStripMenuItem,
this.toolStripSeparator1, this.toolStripSeparator1,
this.openToolStripMenuItem, this.openToolStripMenuItem,
@@ -253,231 +232,239 @@
this.mnuExport, this.mnuExport,
this.toolStripSeparator3, this.toolStripSeparator3,
this.exotToolStripMenuItem}); this.exotToolStripMenuItem});
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
this.fileToolStripMenuItem.Size = new System.Drawing.Size(35, 20); this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
this.fileToolStripMenuItem.Text = "&File"; this.fileToolStripMenuItem.Text = "&File";
// //
// newToolStripMenuItem // newToolStripMenuItem
// //
this.newToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripMenuItem.Image"))); this.newToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripMenuItem.Image")));
this.newToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Fuchsia; this.newToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Fuchsia;
this.newToolStripMenuItem.Name = "newToolStripMenuItem"; this.newToolStripMenuItem.Name = "newToolStripMenuItem";
this.newToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.newToolStripMenuItem.Size = new System.Drawing.Size(123, 22);
this.newToolStripMenuItem.Text = "&New..."; this.newToolStripMenuItem.Text = "&New...";
this.newToolStripMenuItem.Click += new System.EventHandler(this.NewClicked); this.newToolStripMenuItem.Click += new System.EventHandler(this.NewClicked);
// //
// toolStripSeparator1 // toolStripSeparator1
// //
this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(122, 6); this.toolStripSeparator1.Size = new System.Drawing.Size(120, 6);
// //
// openToolStripMenuItem // openToolStripMenuItem
// //
this.openToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("openToolStripMenuItem.Image"))); this.openToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("openToolStripMenuItem.Image")));
this.openToolStripMenuItem.Name = "openToolStripMenuItem"; this.openToolStripMenuItem.Name = "openToolStripMenuItem";
this.openToolStripMenuItem.Size = new System.Drawing.Size(125, 22); this.openToolStripMenuItem.Size = new System.Drawing.Size(123, 22);
this.openToolStripMenuItem.Text = "&Open..."; this.openToolStripMenuItem.Text = "&Open...";
this.openToolStripMenuItem.Click += new System.EventHandler(this.OpenClicked); this.openToolStripMenuItem.Click += new System.EventHandler(this.OpenClicked);
// //
// saveToolStripMenuItem // saveToolStripMenuItem
// //
this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image"))); this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image")));
this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
this.saveToolStripMenuItem.Size = new System.Drawing.Size(125, 22); this.saveToolStripMenuItem.Size = new System.Drawing.Size(123, 22);
this.saveToolStripMenuItem.Text = "&Save"; this.saveToolStripMenuItem.Text = "&Save";
this.saveToolStripMenuItem.Click += new System.EventHandler(this.SaveClicked); this.saveToolStripMenuItem.Click += new System.EventHandler(this.SaveClicked);
// //
// saveAsToolStripMenuItem // saveAsToolStripMenuItem
// //
this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem";
this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(125, 22); this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(123, 22);
this.saveAsToolStripMenuItem.Text = "Save &As..."; this.saveAsToolStripMenuItem.Text = "Save &As...";
this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.SaveAsClicked); this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.SaveAsClicked);
// //
// toolStripSeparator2 // toolStripSeparator2
// //
this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(122, 6); this.toolStripSeparator2.Size = new System.Drawing.Size(120, 6);
// //
// toolStripMenuItem1 // toolStripMenuItem1
// //
this.toolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.cCRedAlertMapToolStripMenuItem, this.cCRedAlertMapToolStripMenuItem,
this.bitmapToolStripMenuItem}); this.bitmapToolStripMenuItem});
this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Name = "toolStripMenuItem1";
this.toolStripMenuItem1.Size = new System.Drawing.Size(125, 22); this.toolStripMenuItem1.Size = new System.Drawing.Size(123, 22);
this.toolStripMenuItem1.Text = "&Import"; this.toolStripMenuItem1.Text = "&Import";
// //
// cCRedAlertMapToolStripMenuItem // cCRedAlertMapToolStripMenuItem
// //
this.cCRedAlertMapToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("cCRedAlertMapToolStripMenuItem.Image"))); this.cCRedAlertMapToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("cCRedAlertMapToolStripMenuItem.Image")));
this.cCRedAlertMapToolStripMenuItem.Name = "cCRedAlertMapToolStripMenuItem"; this.cCRedAlertMapToolStripMenuItem.Name = "cCRedAlertMapToolStripMenuItem";
this.cCRedAlertMapToolStripMenuItem.Size = new System.Drawing.Size(185, 22); this.cCRedAlertMapToolStripMenuItem.Size = new System.Drawing.Size(195, 22);
this.cCRedAlertMapToolStripMenuItem.Text = "&C&&C / Red Alert Map..."; this.cCRedAlertMapToolStripMenuItem.Text = "&C&&C / Red Alert Map...";
this.cCRedAlertMapToolStripMenuItem.Click += new System.EventHandler(this.ImportLegacyMapClicked); this.cCRedAlertMapToolStripMenuItem.Click += new System.EventHandler(this.ImportLegacyMapClicked);
// //
// bitmapToolStripMenuItem // bitmapToolStripMenuItem
// //
this.bitmapToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("bitmapToolStripMenuItem.Image"))); this.bitmapToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("bitmapToolStripMenuItem.Image")));
this.bitmapToolStripMenuItem.Name = "bitmapToolStripMenuItem"; this.bitmapToolStripMenuItem.Name = "bitmapToolStripMenuItem";
this.bitmapToolStripMenuItem.Size = new System.Drawing.Size(185, 22); this.bitmapToolStripMenuItem.Size = new System.Drawing.Size(195, 22);
this.bitmapToolStripMenuItem.Text = "&Bitmap..."; this.bitmapToolStripMenuItem.Text = "&Bitmap...";
this.bitmapToolStripMenuItem.Visible = false; this.bitmapToolStripMenuItem.Visible = false;
// //
// mnuExport // mnuExport
// //
this.mnuExport.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mnuExport.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.mnuMinimapToPNG}); this.mnuMinimapToPNG});
this.mnuExport.Name = "mnuExport"; this.mnuExport.Name = "mnuExport";
this.mnuExport.Size = new System.Drawing.Size(152, 22); this.mnuExport.Size = new System.Drawing.Size(123, 22);
this.mnuExport.Text = "&Export"; this.mnuExport.Text = "&Export";
// //
// mnuMinimapToPNG // mnuMinimapToPNG
// //
this.mnuMinimapToPNG.Image = ((System.Drawing.Image)(resources.GetObject("mnuMinimapToPNG.Image"))); this.mnuMinimapToPNG.Image = ((System.Drawing.Image)(resources.GetObject("mnuMinimapToPNG.Image")));
this.mnuMinimapToPNG.Name = "mnuMinimapToPNG"; this.mnuMinimapToPNG.Name = "mnuMinimapToPNG";
this.mnuMinimapToPNG.Size = new System.Drawing.Size(152, 22); this.mnuMinimapToPNG.Size = new System.Drawing.Size(163, 22);
this.mnuMinimapToPNG.Text = "Minimap to PNG"; this.mnuMinimapToPNG.Text = "Minimap to PNG";
this.mnuMinimapToPNG.Click += new System.EventHandler(this.mnuMinimapToPNG_Click); this.mnuMinimapToPNG.Click += new System.EventHandler(this.mnuMinimapToPNG_Click);
// //
// toolStripSeparator3 // toolStripSeparator3
// //
this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(122, 6); this.toolStripSeparator3.Size = new System.Drawing.Size(120, 6);
// //
// exotToolStripMenuItem // exotToolStripMenuItem
// //
this.exotToolStripMenuItem.Name = "exotToolStripMenuItem"; this.exotToolStripMenuItem.Name = "exotToolStripMenuItem";
this.exotToolStripMenuItem.Size = new System.Drawing.Size(125, 22); this.exotToolStripMenuItem.Size = new System.Drawing.Size(123, 22);
this.exotToolStripMenuItem.Text = "E&xit"; this.exotToolStripMenuItem.Text = "E&xit";
this.exotToolStripMenuItem.Click += new System.EventHandler(this.CloseClicked); this.exotToolStripMenuItem.Click += new System.EventHandler(this.CloseClicked);
// //
// mapToolStripMenuItem // mapToolStripMenuItem
// //
this.mapToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mapToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.propertiesToolStripMenuItem, this.propertiesToolStripMenuItem,
this.resizeToolStripMenuItem, this.resizeToolStripMenuItem,
this.toolStripSeparator4, this.toolStripSeparator4,
this.spawnpointsToolStripMenuItem}); this.spawnpointsToolStripMenuItem});
this.mapToolStripMenuItem.Name = "mapToolStripMenuItem"; this.mapToolStripMenuItem.Name = "mapToolStripMenuItem";
this.mapToolStripMenuItem.Size = new System.Drawing.Size(39, 20); this.mapToolStripMenuItem.Size = new System.Drawing.Size(43, 20);
this.mapToolStripMenuItem.Text = "&Map"; this.mapToolStripMenuItem.Text = "&Map";
// //
// propertiesToolStripMenuItem // propertiesToolStripMenuItem
// //
this.propertiesToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("propertiesToolStripMenuItem.Image"))); this.propertiesToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("propertiesToolStripMenuItem.Image")));
this.propertiesToolStripMenuItem.Name = "propertiesToolStripMenuItem"; this.propertiesToolStripMenuItem.Name = "propertiesToolStripMenuItem";
this.propertiesToolStripMenuItem.Size = new System.Drawing.Size(135, 22); this.propertiesToolStripMenuItem.Size = new System.Drawing.Size(142, 22);
this.propertiesToolStripMenuItem.Text = "&Properties..."; this.propertiesToolStripMenuItem.Text = "&Properties...";
this.propertiesToolStripMenuItem.Click += new System.EventHandler(this.PropertiesClicked); this.propertiesToolStripMenuItem.Click += new System.EventHandler(this.PropertiesClicked);
// //
// resizeToolStripMenuItem // resizeToolStripMenuItem
// //
this.resizeToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resizeToolStripMenuItem.Image"))); this.resizeToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resizeToolStripMenuItem.Image")));
this.resizeToolStripMenuItem.Name = "resizeToolStripMenuItem"; this.resizeToolStripMenuItem.Name = "resizeToolStripMenuItem";
this.resizeToolStripMenuItem.Size = new System.Drawing.Size(135, 22); this.resizeToolStripMenuItem.Size = new System.Drawing.Size(142, 22);
this.resizeToolStripMenuItem.Text = "&Resize..."; this.resizeToolStripMenuItem.Text = "&Resize...";
this.resizeToolStripMenuItem.Click += new System.EventHandler(this.ResizeClicked); this.resizeToolStripMenuItem.Click += new System.EventHandler(this.ResizeClicked);
// //
// toolStripSeparator4 // toolStripSeparator4
// //
this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Name = "toolStripSeparator4";
this.toolStripSeparator4.Size = new System.Drawing.Size(132, 6); this.toolStripSeparator4.Size = new System.Drawing.Size(139, 6);
// //
// spawnpointsToolStripMenuItem // spawnpointsToolStripMenuItem
// //
this.spawnpointsToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("spawnpointsToolStripMenuItem.Image"))); this.spawnpointsToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("spawnpointsToolStripMenuItem.Image")));
this.spawnpointsToolStripMenuItem.Name = "spawnpointsToolStripMenuItem"; this.spawnpointsToolStripMenuItem.Name = "spawnpointsToolStripMenuItem";
this.spawnpointsToolStripMenuItem.Size = new System.Drawing.Size(135, 22); this.spawnpointsToolStripMenuItem.Size = new System.Drawing.Size(142, 22);
this.spawnpointsToolStripMenuItem.Text = "&Spawnpoints"; this.spawnpointsToolStripMenuItem.Text = "&Spawnpoints";
this.spawnpointsToolStripMenuItem.Click += new System.EventHandler(this.SpawnPointsClicked); this.spawnpointsToolStripMenuItem.Click += new System.EventHandler(this.SpawnPointsClicked);
// //
// toolsToolStripMenuItem // toolsToolStripMenuItem
// //
this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.layersFloaterToolStripMenuItem}); this.layersFloaterToolStripMenuItem});
this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem"; this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
this.toolsToolStripMenuItem.Size = new System.Drawing.Size(44, 20); this.toolsToolStripMenuItem.Size = new System.Drawing.Size(48, 20);
this.toolsToolStripMenuItem.Text = "Tools"; this.toolsToolStripMenuItem.Text = "Tools";
this.toolsToolStripMenuItem.Visible = false; this.toolsToolStripMenuItem.Visible = false;
// //
// layersFloaterToolStripMenuItem // layersFloaterToolStripMenuItem
// //
this.layersFloaterToolStripMenuItem.Name = "layersFloaterToolStripMenuItem"; this.layersFloaterToolStripMenuItem.Name = "layersFloaterToolStripMenuItem";
this.layersFloaterToolStripMenuItem.Size = new System.Drawing.Size(141, 22); this.layersFloaterToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
this.layersFloaterToolStripMenuItem.Text = "Layers floater"; this.layersFloaterToolStripMenuItem.Text = "Layers floater";
this.layersFloaterToolStripMenuItem.Click += new System.EventHandler(this.layersFloaterToolStripMenuItem_Click); this.layersFloaterToolStripMenuItem.Click += new System.EventHandler(this.layersFloaterToolStripMenuItem_Click);
// //
// tt // tt
// //
this.tt.ShowAlways = true; this.tt.ShowAlways = true;
// //
// statusStrip1 // saveFileDialog
// //
this.statusStrip1.Location = new System.Drawing.Point(0, 751); this.saveFileDialog.DefaultExt = "*.png";
this.statusStrip1.Name = "statusStrip1"; this.saveFileDialog.Filter = "PNG Image (*.png)|";
this.statusStrip1.Size = new System.Drawing.Size(985, 22); this.saveFileDialog.Title = "Export minimap to PNG";
this.statusStrip1.TabIndex = 2; //
this.statusStrip1.Text = "statusStrip1"; // splitContainer3
// //
// surface1 this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
// this.splitContainer3.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.surface1.BackColor = System.Drawing.Color.Black; this.splitContainer3.IsSplitterFixed = true;
this.surface1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer3.Location = new System.Drawing.Point(0, 0);
this.surface1.Location = new System.Drawing.Point(0, 0); this.splitContainer3.Name = "splitContainer3";
this.surface1.Name = "surface1"; this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
this.surface1.Size = new System.Drawing.Size(783, 727); //
this.surface1.TabIndex = 5; // splitContainer3.Panel1
this.surface1.Text = "surface1"; //
// this.splitContainer3.Panel1.Controls.Add(this.menuStrip1);
// saveFileDialog //
// // splitContainer3.Panel2
this.saveFileDialog.DefaultExt = "*.png"; //
this.saveFileDialog.Filter = "PNG Image (*.png)|"; this.splitContainer3.Panel2.Controls.Add(this.splitContainer1);
this.saveFileDialog.Title = "Export minimap to PNG"; this.splitContainer3.Size = new System.Drawing.Size(985, 773);
// this.splitContainer3.SplitterDistance = 25;
// Form1 this.splitContainer3.TabIndex = 6;
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); // surface1
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; //
this.ClientSize = new System.Drawing.Size(985, 773); this.surface1.BackColor = System.Drawing.Color.Black;
this.Controls.Add(this.statusStrip1); this.surface1.Dock = System.Windows.Forms.DockStyle.Fill;
this.Controls.Add(this.toolStripContainer1); this.surface1.Location = new System.Drawing.Point(0, 0);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.surface1.Name = "surface1";
this.KeyPreview = true; this.surface1.Size = new System.Drawing.Size(783, 744);
this.MainMenuStrip = this.menuStrip1; this.surface1.TabIndex = 5;
this.Name = "Form1"; this.surface1.Text = "surface1";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; //
this.Text = "OpenRA Editor"; // Form1
this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyUp); //
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.OnFormClosing); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyDown); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.toolStripContainer1.ContentPanel.ResumeLayout(false); this.ClientSize = new System.Drawing.Size(985, 773);
this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false); this.Controls.Add(this.splitContainer3);
this.toolStripContainer1.TopToolStripPanel.PerformLayout(); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.toolStripContainer1.ResumeLayout(false); this.KeyPreview = true;
this.toolStripContainer1.PerformLayout(); this.MainMenuStrip = this.menuStrip1;
this.splitContainer1.Panel1.ResumeLayout(false); this.Name = "Form1";
this.splitContainer1.Panel2.ResumeLayout(false); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.splitContainer1.ResumeLayout(false); this.Text = "OpenRA Editor";
this.splitContainer2.Panel1.ResumeLayout(false); this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyUp);
this.splitContainer2.Panel2.ResumeLayout(false); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.OnFormClosing);
this.splitContainer2.ResumeLayout(false); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyDown);
((System.ComponentModel.ISupportInitialize)(this.pmMiniMap)).EndInit(); this.splitContainer1.Panel1.ResumeLayout(false);
this.tabControl1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false);
this.tabPage1.ResumeLayout(false); this.splitContainer1.ResumeLayout(false);
this.tabPage2.ResumeLayout(false); this.splitContainer2.Panel1.ResumeLayout(false);
this.tabPage3.ResumeLayout(false); this.splitContainer2.Panel2.ResumeLayout(false);
this.menuStrip1.ResumeLayout(false); this.splitContainer2.ResumeLayout(false);
this.menuStrip1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pmMiniMap)).EndInit();
this.ResumeLayout(false); this.tabControl1.ResumeLayout(false);
this.PerformLayout(); this.tabPage1.ResumeLayout(false);
this.tabPage2.ResumeLayout(false);
this.tabPage3.ResumeLayout(false);
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
this.splitContainer3.Panel1.ResumeLayout(false);
this.splitContainer3.Panel1.PerformLayout();
this.splitContainer3.Panel2.ResumeLayout(false);
this.splitContainer3.ResumeLayout(false);
this.ResumeLayout(false);
} }
#endregion #endregion
private System.Windows.Forms.ToolStripContainer toolStripContainer1;
private System.Windows.Forms.SplitContainer splitContainer1; private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.ToolTip tt; private System.Windows.Forms.ToolTip tt;
private System.Windows.Forms.TabControl tabControl1; private System.Windows.Forms.TabControl tabControl1;
@@ -505,15 +492,15 @@
private System.Windows.Forms.ToolStripMenuItem propertiesToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem propertiesToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem resizeToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem resizeToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
private System.Windows.Forms.ToolStripMenuItem spawnpointsToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem spawnpointsToolStripMenuItem;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.ToolStripMenuItem toolsToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem toolsToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem layersFloaterToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem layersFloaterToolStripMenuItem;
private System.Windows.Forms.PictureBox pmMiniMap; private System.Windows.Forms.PictureBox pmMiniMap;
private System.Windows.Forms.SplitContainer splitContainer2; private System.Windows.Forms.SplitContainer splitContainer2;
private System.Windows.Forms.ToolStripMenuItem mnuExport; private System.Windows.Forms.ToolStripMenuItem mnuExport;
private System.Windows.Forms.ToolStripMenuItem mnuMinimapToPNG; private System.Windows.Forms.ToolStripMenuItem mnuMinimapToPNG;
private System.Windows.Forms.SaveFileDialog saveFileDialog; private System.Windows.Forms.SaveFileDialog saveFileDialog;
private System.Windows.Forms.SplitContainer splitContainer3;
} }
} }

View File

@@ -308,9 +308,6 @@
<metadata name="tt.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="tt.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value> <value>17, 17</value>
</metadata> </metadata>
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>307, 17</value>
</metadata>
<metadata name="saveFileDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="saveFileDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>76, 17</value> <value>76, 17</value>
</metadata> </metadata>