Example #1
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.objMapPanel = new Mapeditor.cTilePanel();
			this.SuspendLayout();
			// 
			// objMapPanel
			// 
			this.objMapPanel.BackColor = System.Drawing.SystemColors.WindowText;
			this.objMapPanel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			this.objMapPanel.Location = new System.Drawing.Point(8, 8);
			this.objMapPanel.Name = "objMapPanel";
			this.objMapPanel.Size = new System.Drawing.Size(304, 256);
			this.objMapPanel.TabIndex = 0;
			this.objMapPanel.Paint += new System.Windows.Forms.PaintEventHandler(this.objMapPanel_Paint);
			this.objMapPanel.MouseDown += new System.Windows.Forms.MouseEventHandler(this.objMapPanel_MouseDown);
			// 
			// frmMiniMap
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(320, 269);
			this.ControlBox = false;
			this.Controls.Add(this.objMapPanel);
			this.MaximizeBox = false;
			this.Name = "frmMiniMap";
			this.ShowInTaskbar = false;
			this.Text = "MiniMapForm";
			this.TopMost = true;
			this.ResumeLayout(false);

		}
Example #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.objMapPanel = new Mapeditor.cTilePanel();
     this.SuspendLayout();
     //
     // objMapPanel
     //
     this.objMapPanel.BackColor   = System.Drawing.SystemColors.WindowText;
     this.objMapPanel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.objMapPanel.Location    = new System.Drawing.Point(8, 8);
     this.objMapPanel.Name        = "objMapPanel";
     this.objMapPanel.Size        = new System.Drawing.Size(304, 256);
     this.objMapPanel.TabIndex    = 0;
     this.objMapPanel.Paint      += new System.Windows.Forms.PaintEventHandler(this.objMapPanel_Paint);
     this.objMapPanel.MouseDown  += new System.Windows.Forms.MouseEventHandler(this.objMapPanel_MouseDown);
     //
     // frmMiniMap
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(320, 269);
     this.ControlBox        = false;
     this.Controls.Add(this.objMapPanel);
     this.MaximizeBox   = false;
     this.Name          = "frmMiniMap";
     this.ShowInTaskbar = false;
     this.Text          = "MiniMapForm";
     this.TopMost       = true;
     this.ResumeLayout(false);
 }
Example #3
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.mainMenu1 = new System.Windows.Forms.MainMenu();
			this.menuFile = new System.Windows.Forms.MenuItem();
			this.menuFileNew = new System.Windows.Forms.MenuItem();
			this.menuFileOpen = new System.Windows.Forms.MenuItem();
			this.menuFileSave = new System.Windows.Forms.MenuItem();
			this.menuFileSaveAs = new System.Windows.Forms.MenuItem();
			this.menuFileLine01 = new System.Windows.Forms.MenuItem();
			this.menuFileExit = new System.Windows.Forms.MenuItem();
			this.menuEdit = new System.Windows.Forms.MenuItem();
			this.menuEditMapProp = new System.Windows.Forms.MenuItem();
			this.menuView = new System.Windows.Forms.MenuItem();
			this.menuViewMiniMap = new System.Windows.Forms.MenuItem();
			this.groupEditMode = new System.Windows.Forms.GroupBox();
			this.objModeSelectButton = new System.Windows.Forms.Button();
			this.objModeParticlesButton = new System.Windows.Forms.Button();
			this.objModeAreaMode = new System.Windows.Forms.Button();
			this.objModeTileBrushButton = new System.Windows.Forms.Button();
			this.objModeSoundsSourceButon = new System.Windows.Forms.Button();
			this.objModePropsButton = new System.Windows.Forms.Button();
			this.objModeLightsButton = new System.Windows.Forms.Button();
			this.objModeTilesButton = new System.Windows.Forms.Button();
			this.objVertMapScroll = new System.Windows.Forms.VScrollBar();
			this.objHoriMapScroll = new System.Windows.Forms.HScrollBar();
			this.objMapPanel = new Mapeditor.cTilePanel();
			this.objTileGridCheckBox = new System.Windows.Forms.CheckBox();
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.groupEditMode.SuspendLayout();
			this.groupBox1.SuspendLayout();
			this.SuspendLayout();
			// 
			// mainMenu1
			// 
			this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					  this.menuFile,
																					  this.menuEdit,
																					  this.menuView});
			// 
			// menuFile
			// 
			this.menuFile.Index = 0;
			this.menuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					 this.menuFileNew,
																					 this.menuFileOpen,
																					 this.menuFileSave,
																					 this.menuFileSaveAs,
																					 this.menuFileLine01,
																					 this.menuFileExit});
			this.menuFile.Text = "File";
			// 
			// menuFileNew
			// 
			this.menuFileNew.Index = 0;
			this.menuFileNew.Text = "New..";
			this.menuFileNew.Click += new System.EventHandler(this.menuFileNew_Click);
			// 
			// menuFileOpen
			// 
			this.menuFileOpen.Index = 1;
			this.menuFileOpen.Text = "Open...";
			this.menuFileOpen.Click += new System.EventHandler(this.menuFileOpen_Click);
			// 
			// menuFileSave
			// 
			this.menuFileSave.Enabled = false;
			this.menuFileSave.Index = 2;
			this.menuFileSave.Text = "Save";
			this.menuFileSave.Click += new System.EventHandler(this.menuFileSave_Click);
			// 
			// menuFileSaveAs
			// 
			this.menuFileSaveAs.Enabled = false;
			this.menuFileSaveAs.Index = 3;
			this.menuFileSaveAs.Text = "Save as...";
			this.menuFileSaveAs.Click += new System.EventHandler(this.menuFileSaveAs_Click);
			// 
			// menuFileLine01
			// 
			this.menuFileLine01.Index = 4;
			this.menuFileLine01.Text = "-";
			// 
			// menuFileExit
			// 
			this.menuFileExit.Index = 5;
			this.menuFileExit.Text = "Exit";
			this.menuFileExit.Click += new System.EventHandler(this.menuFileExit_Click);
			// 
			// menuEdit
			// 
			this.menuEdit.Index = 1;
			this.menuEdit.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					 this.menuEditMapProp});
			this.menuEdit.Text = "Edit";
			// 
			// menuEditMapProp
			// 
			this.menuEditMapProp.Enabled = false;
			this.menuEditMapProp.Index = 0;
			this.menuEditMapProp.Text = "Map Properties";
			this.menuEditMapProp.Click += new System.EventHandler(this.menuEditMapProp_Click);
			// 
			// menuView
			// 
			this.menuView.Index = 2;
			this.menuView.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					 this.menuViewMiniMap});
			this.menuView.Text = "View";
			// 
			// menuViewMiniMap
			// 
			this.menuViewMiniMap.Index = 0;
			this.menuViewMiniMap.Text = "Mini map";
			this.menuViewMiniMap.Click += new System.EventHandler(this.menuViewMiniMap_Click);
			// 
			// groupEditMode
			// 
			this.groupEditMode.Controls.Add(this.objModeSelectButton);
			this.groupEditMode.Controls.Add(this.objModeParticlesButton);
			this.groupEditMode.Controls.Add(this.objModeAreaMode);
			this.groupEditMode.Controls.Add(this.objModeTileBrushButton);
			this.groupEditMode.Controls.Add(this.objModeSoundsSourceButon);
			this.groupEditMode.Controls.Add(this.objModePropsButton);
			this.groupEditMode.Controls.Add(this.objModeLightsButton);
			this.groupEditMode.Controls.Add(this.objModeTilesButton);
			this.groupEditMode.Location = new System.Drawing.Point(8, 8);
			this.groupEditMode.Name = "groupEditMode";
			this.groupEditMode.Size = new System.Drawing.Size(136, 176);
			this.groupEditMode.TabIndex = 1;
			this.groupEditMode.TabStop = false;
			this.groupEditMode.Text = "Edit Mode";
			// 
			// objModeSelectButton
			// 
			this.objModeSelectButton.Enabled = false;
			this.objModeSelectButton.ForeColor = System.Drawing.Color.Black;
			this.objModeSelectButton.Location = new System.Drawing.Point(8, 16);
			this.objModeSelectButton.Name = "objModeSelectButton";
			this.objModeSelectButton.Size = new System.Drawing.Size(56, 32);
			this.objModeSelectButton.TabIndex = 9;
			this.objModeSelectButton.Text = "Select";
			this.objModeSelectButton.Click += new System.EventHandler(this.objModeSelectButton_Click);
			// 
			// objModeParticlesButton
			// 
			this.objModeParticlesButton.Enabled = false;
			this.objModeParticlesButton.Location = new System.Drawing.Point(8, 136);
			this.objModeParticlesButton.Name = "objModeParticlesButton";
			this.objModeParticlesButton.Size = new System.Drawing.Size(56, 32);
			this.objModeParticlesButton.TabIndex = 8;
			this.objModeParticlesButton.Text = "Particle System";
			this.objModeParticlesButton.Click += new System.EventHandler(this.objModeParticlesButton_Click);
			// 
			// objModeAreaMode
			// 
			this.objModeAreaMode.Enabled = false;
			this.objModeAreaMode.Location = new System.Drawing.Point(72, 96);
			this.objModeAreaMode.Name = "objModeAreaMode";
			this.objModeAreaMode.Size = new System.Drawing.Size(56, 32);
			this.objModeAreaMode.TabIndex = 7;
			this.objModeAreaMode.Text = "Area";
			this.objModeAreaMode.Click += new System.EventHandler(this.objModeAreaMode_Click);
			// 
			// objModeTileBrushButton
			// 
			this.objModeTileBrushButton.Enabled = false;
			this.objModeTileBrushButton.Location = new System.Drawing.Point(72, 136);
			this.objModeTileBrushButton.Name = "objModeTileBrushButton";
			this.objModeTileBrushButton.Size = new System.Drawing.Size(56, 32);
			this.objModeTileBrushButton.TabIndex = 5;
			this.objModeTileBrushButton.Text = "Tile Brush";
			// 
			// objModeSoundsSourceButon
			// 
			this.objModeSoundsSourceButon.Enabled = false;
			this.objModeSoundsSourceButon.Location = new System.Drawing.Point(8, 96);
			this.objModeSoundsSourceButon.Name = "objModeSoundsSourceButon";
			this.objModeSoundsSourceButon.Size = new System.Drawing.Size(56, 32);
			this.objModeSoundsSourceButon.TabIndex = 4;
			this.objModeSoundsSourceButon.Text = "Sounds Source";
			this.objModeSoundsSourceButon.Click += new System.EventHandler(this.objModeSoundsSourceButon_Click);
			// 
			// objModePropsButton
			// 
			this.objModePropsButton.Enabled = false;
			this.objModePropsButton.Location = new System.Drawing.Point(72, 56);
			this.objModePropsButton.Name = "objModePropsButton";
			this.objModePropsButton.Size = new System.Drawing.Size(56, 32);
			this.objModePropsButton.TabIndex = 2;
			this.objModePropsButton.Text = "Entities";
			this.objModePropsButton.Click += new System.EventHandler(this.objModePropsButton_Click);
			// 
			// objModeLightsButton
			// 
			this.objModeLightsButton.Enabled = false;
			this.objModeLightsButton.Location = new System.Drawing.Point(72, 16);
			this.objModeLightsButton.Name = "objModeLightsButton";
			this.objModeLightsButton.Size = new System.Drawing.Size(56, 32);
			this.objModeLightsButton.TabIndex = 1;
			this.objModeLightsButton.Text = "Lights";
			this.objModeLightsButton.Click += new System.EventHandler(this.objModeLightsButton_Click);
			// 
			// objModeTilesButton
			// 
			this.objModeTilesButton.Enabled = false;
			this.objModeTilesButton.Location = new System.Drawing.Point(8, 56);
			this.objModeTilesButton.Name = "objModeTilesButton";
			this.objModeTilesButton.Size = new System.Drawing.Size(56, 32);
			this.objModeTilesButton.TabIndex = 0;
			this.objModeTilesButton.Text = "Tiles";
			this.objModeTilesButton.Click += new System.EventHandler(this.objModeTilesButton_Click);
			// 
			// objVertMapScroll
			// 
			this.objVertMapScroll.Enabled = false;
			this.objVertMapScroll.LargeChange = 1;
			this.objVertMapScroll.Location = new System.Drawing.Point(864, 8);
			this.objVertMapScroll.Maximum = 0;
			this.objVertMapScroll.Name = "objVertMapScroll";
			this.objVertMapScroll.Size = new System.Drawing.Size(16, 560);
			this.objVertMapScroll.TabIndex = 2;
			this.objVertMapScroll.ValueChanged += new System.EventHandler(this.objVertMapScroll_ValueChanged);
			// 
			// objHoriMapScroll
			// 
			this.objHoriMapScroll.Enabled = false;
			this.objHoriMapScroll.LargeChange = 1;
			this.objHoriMapScroll.Location = new System.Drawing.Point(152, 576);
			this.objHoriMapScroll.Maximum = 0;
			this.objHoriMapScroll.Name = "objHoriMapScroll";
			this.objHoriMapScroll.Size = new System.Drawing.Size(704, 16);
			this.objHoriMapScroll.TabIndex = 3;
			this.objHoriMapScroll.ValueChanged += new System.EventHandler(this.objHoriMapScroll_ValueChanged);
			// 
			// objMapPanel
			// 
			this.objMapPanel.BackColor = System.Drawing.SystemColors.ControlText;
			this.objMapPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this.objMapPanel.Enabled = false;
			this.objMapPanel.Location = new System.Drawing.Point(152, 8);
			this.objMapPanel.Name = "objMapPanel";
			this.objMapPanel.Size = new System.Drawing.Size(704, 560);
			this.objMapPanel.TabIndex = 0;
			this.objMapPanel.Visible = false;
			this.objMapPanel.MouseUp += new System.Windows.Forms.MouseEventHandler(this.objMapPanel_MouseUp);
			this.objMapPanel.Paint += new System.Windows.Forms.PaintEventHandler(this.objMapPanel_Paint);
			this.objMapPanel.MouseMove += new System.Windows.Forms.MouseEventHandler(this.objMapPanel_MouseMove);
			this.objMapPanel.MouseDown += new System.Windows.Forms.MouseEventHandler(this.objMapPanel_MouseDown);
			// 
			// objTileGridCheckBox
			// 
			this.objTileGridCheckBox.Checked = true;
			this.objTileGridCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
			this.objTileGridCheckBox.Location = new System.Drawing.Point(16, 16);
			this.objTileGridCheckBox.Name = "objTileGridCheckBox";
			this.objTileGridCheckBox.Size = new System.Drawing.Size(112, 32);
			this.objTileGridCheckBox.TabIndex = 4;
			this.objTileGridCheckBox.Text = "Show Current Layer Grid";
			this.objTileGridCheckBox.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			this.objTileGridCheckBox.CheckedChanged += new System.EventHandler(this.objTileGridCheckBox_CheckedChanged);
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.Add(this.objTileGridCheckBox);
			this.groupBox1.Location = new System.Drawing.Point(8, 248);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(136, 184);
			this.groupBox1.TabIndex = 5;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "Options";
			// 
			// frmMain
			// 
			this.AutoScale = false;
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(890, 603);
			this.Controls.Add(this.groupBox1);
			this.Controls.Add(this.objHoriMapScroll);
			this.Controls.Add(this.objVertMapScroll);
			this.Controls.Add(this.groupEditMode);
			this.Controls.Add(this.objMapPanel);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
			this.Menu = this.mainMenu1;
			this.Name = "frmMain";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "HPL MapEditor";
			this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
			this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.frmMain_KeyDown);
			this.Resize += new System.EventHandler(this.frmMain_Resize);
			this.groupEditMode.ResumeLayout(false);
			this.groupBox1.ResumeLayout(false);
			this.ResumeLayout(false);

		}