Rev 1418 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
namespace ShapeEditor
{
partial class MainForm
{
/// <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
()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources
= new System.ComponentModel.ComponentResourceManager(typeof(MainForm
));
this.mStatusStrip = new System.Windows.Forms.StatusStrip();
this.stStatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.mMainMenuStrip = new System.Windows.Forms.MenuStrip();
this.mFileMenu = new System.Windows.Forms.ToolStripMenuItem();
this.mFileNewMenu = new System.Windows.Forms.ToolStripMenuItem();
this.mFileOpenMenu = new System.Windows.Forms.ToolStripMenuItem();
this.mFileSaveMenu = new System.Windows.Forms.ToolStripMenuItem();
this.mFileSaveAsMenu = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
this.mFileExitMenu = new System.Windows.Forms.ToolStripMenuItem();
this.shapeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.changeSpriteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.mMainToolStrip = new System.Windows.Forms.ToolStrip();
this.mFileNewTB = new System.Windows.Forms.ToolStripButton();
this.mFileOpenTB = new System.Windows.Forms.ToolStripButton();
this.mFileSaveTB = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.tbSelect = new System.Windows.Forms.ToolStripButton();
this.tbRectangle = new System.Windows.Forms.ToolStripButton();
this.tbEllipse = new System.Windows.Forms.ToolStripButton();
this.tbPolygon = new System.Windows.Forms.ToolStripButton();
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
this.panel1 = new System.Windows.Forms.Panel();
this.pgProperties = new System.Windows.Forms.PropertyGrid();
this.button1 = new System.Windows.Forms.Button();
this.btDelete = new System.Windows.Forms.Button();
this.btDuplicate = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.lbElements = new System.Windows.Forms.ListBox();
#pragma warning disable 0618
this.mGlView = new Tao
.Platform.Windows.SimpleOpenGlControl();
#pragma warning restore 0618
this.openSpriteDialog = new System.Windows.Forms.OpenFileDialog();
this.stZoomFactor = new System.Windows.Forms.ToolStripStatusLabel();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
this.mStatusStrip.SuspendLayout();
this.mMainMenuStrip.SuspendLayout();
this.mMainToolStrip.SuspendLayout();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// mStatusStrip
//
this.mStatusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.stStatusLabel,
this.stZoomFactor});
this.mStatusStrip.Location = new System.Drawing.Point(0,
706);
this.mStatusStrip.Name = "mStatusStrip";
this.mStatusStrip.Size = new System.Drawing.Size(1097,
24);
this.mStatusStrip.TabIndex = 5;
//
// stStatusLabel
//
this.stStatusLabel.BorderSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top)
| System.Windows.Forms.ToolStripStatusLabelBorderSides.Right)
| System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom)));
this.stStatusLabel.Name = "stStatusLabel";
this.stStatusLabel.Size = new System.Drawing.Size(1043,
19);
this.stStatusLabel.Spring = true;
this.stStatusLabel.Text = "Ready";
this.stStatusLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// mMainMenuStrip
//
this.mMainMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.mFileMenu,
this.shapeToolStripMenuItem,
this.toolStripMenuItem2});
this.mMainMenuStrip.Location = new System.Drawing.Point(0,
0);
this.mMainMenuStrip.Name = "mMainMenuStrip";
this.mMainMenuStrip.Size = new System.Drawing.Size(1097,
24);
this.mMainMenuStrip.TabIndex = 6;
this.mMainMenuStrip.Text = "menuStrip1";
//
// mFileMenu
//
this.mFileMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.mFileNewMenu,
this.mFileOpenMenu,
this.mFileSaveMenu,
this.mFileSaveAsMenu,
this.toolStripMenuItem1,
this.mFileExitMenu});
this.mFileMenu.Name = "mFileMenu";
this.mFileMenu.Size = new System.Drawing.Size(37,
20);
this.mFileMenu.Text = "&File";
//
// mFileNewMenu
//
this.mFileNewMenu.Image = ((System.Drawing.Image)(resources
.GetObject("mFileNewMenu.Image")));
this.mFileNewMenu.Name = "mFileNewMenu";
this.mFileNewMenu.Size = new System.Drawing.Size(155,
22);
this.mFileNewMenu.Text = "&New";
this.mFileNewMenu.Click += new System.EventHandler(this.FileNew_Click);
//
// mFileOpenMenu
//
this.mFileOpenMenu.Image = ((System.Drawing.Image)(resources
.GetObject("mFileOpenMenu.Image")));
this.mFileOpenMenu.Name = "mFileOpenMenu";
this.mFileOpenMenu.ShortcutKeyDisplayString = "";
this.mFileOpenMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
this.mFileOpenMenu.Size = new System.Drawing.Size(155,
22);
this.mFileOpenMenu.Text = "&Open...";
this.mFileOpenMenu.Click += new System.EventHandler(this.FileOpen_Click);
//
// mFileSaveMenu
//
this.mFileSaveMenu.Image = ((System.Drawing.Image)(resources
.GetObject("mFileSaveMenu.Image")));
this.mFileSaveMenu.Name = "mFileSaveMenu";
this.mFileSaveMenu.ShortcutKeyDisplayString = "";
this.mFileSaveMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
this.mFileSaveMenu.Size = new System.Drawing.Size(155,
22);
this.mFileSaveMenu.Text = "&Save";
this.mFileSaveMenu.Click += new System.EventHandler(this.FileSave_Click);
//
// mFileSaveAsMenu
//
this.mFileSaveAsMenu.Name = "mFileSaveAsMenu";
this.mFileSaveAsMenu.Size = new System.Drawing.Size(155,
22);
this.mFileSaveAsMenu.Text = "Save &As...";
this.mFileSaveAsMenu.Click += new System.EventHandler(this.FileSaveAs_Click);
//
// toolStripMenuItem1
//
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
this.toolStripMenuItem1.Size = new System.Drawing.Size(152,
6);
//
// mFileExitMenu
//
this.mFileExitMenu.Image = ((System.Drawing.Image)(resources
.GetObject("mFileExitMenu.Image")));
this.mFileExitMenu.Name = "mFileExitMenu";
this.mFileExitMenu.Size = new System.Drawing.Size(155,
22);
this.mFileExitMenu.Text = "&Exit";
this.mFileExitMenu.Click += new System.EventHandler(this.FileExit_Click);
//
// shapeToolStripMenuItem
//
this.shapeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.changeSpriteToolStripMenuItem});
this.shapeToolStripMenuItem.Name = "shapeToolStripMenuItem";
this.shapeToolStripMenuItem.Size = new System.Drawing.Size(51,
20);
this.shapeToolStripMenuItem.Text = "&Shape";
//
// changeSpriteToolStripMenuItem
//
this.changeSpriteToolStripMenuItem.Name = "changeSpriteToolStripMenuItem";
this.changeSpriteToolStripMenuItem.Size = new System.Drawing.Size(157,
22);
this.changeSpriteToolStripMenuItem.Text = "Change &Sprite...";
this.changeSpriteToolStripMenuItem.Click += new System.EventHandler(this.ChangeSprite_Click);
//
// toolStripMenuItem2
//
this.toolStripMenuItem2.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.aboutToolStripMenuItem});
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
this.toolStripMenuItem2.Size = new System.Drawing.Size(24,
20);
this.toolStripMenuItem2.Text = "&?";
//
// aboutToolStripMenuItem
//
this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
this.aboutToolStripMenuItem.Size = new System.Drawing.Size(173,
22);
this.aboutToolStripMenuItem.Text = "&About ShapeEditor";
this.aboutToolStripMenuItem.Click += new System.EventHandler(this.About_Click);
//
// mMainToolStrip
//
this.mMainToolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.mFileNewTB,
this.mFileOpenTB,
this.mFileSaveTB,
this.toolStripSeparator1,
this.toolStripButton1,
this.tbSelect,
this.tbRectangle,
this.tbEllipse,
this.tbPolygon,
this.toolStripSeparator2,
this.toolStripButton2,
this.toolStripButton3,
this.toolStripButton4});
this.mMainToolStrip.Location = new System.Drawing.Point(0,
24);
this.mMainToolStrip.Name = "mMainToolStrip";
this.mMainToolStrip.Size = new System.Drawing.Size(1097,
25);
this.mMainToolStrip.TabIndex = 7;
this.mMainToolStrip.Text = "toolStrip1";
//
// mFileNewTB
//
this.mFileNewTB.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.mFileNewTB.Image = ((System.Drawing.Image)(resources
.GetObject("mFileNewTB.Image")));
this.mFileNewTB.ImageTransparentColor = System.Drawing.Color.Magenta;
this.mFileNewTB.Name = "mFileNewTB";
this.mFileNewTB.Size = new System.Drawing.Size(23,
22);
this.mFileNewTB.Text = "Create a new file.";
this.mFileNewTB.ToolTipText = "New";
this.mFileNewTB.Click += new System.EventHandler(this.FileNew_Click);
this.mFileNewTB.MouseEnter += new System.EventHandler(this.StatusBarUpdate_Enter);
this.mFileNewTB.MouseLeave += new System.EventHandler(this.StatusBarUpdate_Leave);
//
// mFileOpenTB
//
this.mFileOpenTB.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.mFileOpenTB.Image = ((System.Drawing.Image)(resources
.GetObject("mFileOpenTB.Image")));
this.mFileOpenTB.ImageTransparentColor = System.Drawing.Color.Magenta;
this.mFileOpenTB.Name = "mFileOpenTB";
this.mFileOpenTB.Size = new System.Drawing.Size(23,
22);
this.mFileOpenTB.Text = "Open a file.";
this.mFileOpenTB.ToolTipText = "Open";
this.mFileOpenTB.Click += new System.EventHandler(this.FileOpen_Click);
this.mFileOpenTB.MouseEnter += new System.EventHandler(this.StatusBarUpdate_Enter);
this.mFileOpenTB.MouseLeave += new System.EventHandler(this.StatusBarUpdate_Leave);
//
// mFileSaveTB
//
this.mFileSaveTB.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.mFileSaveTB.Image = ((System.Drawing.Image)(resources
.GetObject("mFileSaveTB.Image")));
this.mFileSaveTB.ImageTransparentColor = System.Drawing.Color.Magenta;
this.mFileSaveTB.Name = "mFileSaveTB";
this.mFileSaveTB.Size = new System.Drawing.Size(23,
22);
this.mFileSaveTB.Text = "Save the current file.";
this.mFileSaveTB.ToolTipText = "Save";
this.mFileSaveTB.Click += new System.EventHandler(this.FileSave_Click);
this.mFileSaveTB.MouseEnter += new System.EventHandler(this.StatusBarUpdate_Enter);
this.mFileSaveTB.MouseLeave += new System.EventHandler(this.StatusBarUpdate_Leave);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6,
25);
//
// toolStripButton1
//
this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.toolStripButton1.Image = ((System.Drawing.Image)(resources
.GetObject("toolStripButton1.Image")));
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(23,
22);
this.toolStripButton1.Text = "Change the currently used Sprite";
this.toolStripButton1.ToolTipText = "Change Sprite";
this.toolStripButton1.Click += new System.EventHandler(this.ChangeSprite_Click);
this.toolStripButton1.MouseEnter += new System.EventHandler(this.StatusBarUpdate_Enter);
this.toolStripButton1.MouseLeave += new System.EventHandler(this.StatusBarUpdate_Leave);
//
// tbSelect
//
this.tbSelect.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.tbSelect.Image = ((System.Drawing.Image)(resources
.GetObject("tbSelect.Image")));
this.tbSelect.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tbSelect.Name = "tbSelect";
this.tbSelect.Size = new System.Drawing.Size(23,
22);
this.tbSelect.Text = "Left-click to select, right-click to move.";
this.tbSelect.ToolTipText = "Select";
this.tbSelect.Click += new System.EventHandler(this.Tool_Click);
//
// tbRectangle
//
this.tbRectangle.Checked = true;
this.tbRectangle.CheckState = System.Windows.Forms.CheckState.Checked;
this.tbRectangle.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.tbRectangle.Image = ((System.Drawing.Image)(resources
.GetObject("tbRectangle.Image")));
this.tbRectangle.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tbRectangle.Name = "tbRectangle";
this.tbRectangle.Size = new System.Drawing.Size(23,
22);
this.tbRectangle.Text = "Drag to draw a rectangle.";
this.tbRectangle.ToolTipText = "Rectangle";
this.tbRectangle.Click += new System.EventHandler(this.Tool_Click);
this.tbRectangle.MouseEnter += new System.EventHandler(this.StatusBarUpdate_Enter);
this.tbRectangle.MouseLeave += new System.EventHandler(this.StatusBarUpdate_Leave);
//
// tbEllipse
//
this.tbEllipse.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.tbEllipse.Image = ((System.Drawing.Image)(resources
.GetObject("tbEllipse.Image")));
this.tbEllipse.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tbEllipse.Name = "tbEllipse";
this.tbEllipse.Size = new System.Drawing.Size(23,
22);
this.tbEllipse.Text = "Drag to draw an ellipse.";
this.tbEllipse.ToolTipText = "Ellipse";
this.tbEllipse.Click += new System.EventHandler(this.Tool_Click);
this.tbEllipse.MouseEnter += new System.EventHandler(this.StatusBarUpdate_Enter);
this.tbEllipse.MouseLeave += new System.EventHandler(this.StatusBarUpdate_Leave);
//
// tbPolygon
//
this.tbPolygon.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.tbPolygon.Image = ((System.Drawing.Image)(resources
.GetObject("tbPolygon.Image")));
this.tbPolygon.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tbPolygon.Name = "tbPolygon";
this.tbPolygon.Size = new System.Drawing.Size(23,
22);
this.tbPolygon.Text = "Left-click consecutively to draw the vertices of the polygon, right-click to end." +
"";
this.tbPolygon.ToolTipText = "Polygon";
this.tbPolygon.Click += new System.EventHandler(this.Tool_Click);
this.tbPolygon.MouseEnter += new System.EventHandler(this.StatusBarUpdate_Enter);
this.tbPolygon.MouseLeave += new System.EventHandler(this.StatusBarUpdate_Leave);
//
// contextMenuStrip1
//
this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(61,
4);
//
// openFileDialog
//
this.openFileDialog.DefaultExt = "level";
this.openFileDialog.Filter = "Shape files|*.shape|All files|*.*";
//
// saveFileDialog
//
this.saveFileDialog.DefaultExt = "level";
this.saveFileDialog.Filter = "Shape files|*.shape|All files|*.*";
//
// panel1
//
this.panel1.Controls.Add(this.pgProperties);
this.panel1.Controls.Add(this.button1);
this.panel1.Controls.Add(this.btDelete);
this.panel1.Controls.Add(this.btDuplicate);
this.panel1.Controls.Add(this.label1);
this.panel1.Controls.Add(this.lbElements);
this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
this.panel1.Location = new System.Drawing.Point(877,
49);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(220,
657);
this.panel1.TabIndex = 9;
//
// pgProperties
//
this.pgProperties.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pgProperties.HelpVisible = false;
this.pgProperties.Location = new System.Drawing.Point(10,
309);
this.pgProperties.Name = "pgProperties";
this.pgProperties.Size = new System.Drawing.Size(198,
332);
this.pgProperties.TabIndex = 5;
this.pgProperties.ToolbarVisible = false;
this.pgProperties.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.Properties_ValueChanged);
//
// button1
//
this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.button1.Location = new System.Drawing.Point(62,
273);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(52,
28);
this.button1.TabIndex = 4;
this.button1.Text = "&Down";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.MoveDown_Click);
//
// btDelete
//
this.btDelete.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.btDelete.Location = new System.Drawing.Point(120,
273);
this.btDelete.Name = "btDelete";
this.btDelete.Size = new System.Drawing.Size(88,
28);
this.btDelete.TabIndex = 3;
this.btDelete.Text = "&Delete";
this.btDelete.UseVisualStyleBackColor = true;
this.btDelete.Click += new System.EventHandler(this.DeleteShape_Click);
//
// btDuplicate
//
this.btDuplicate.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.btDuplicate.Location = new System.Drawing.Point(8,
273);
this.btDuplicate.Name = "btDuplicate";
this.btDuplicate.Size = new System.Drawing.Size(52,
28);
this.btDuplicate.TabIndex = 2;
this.btDuplicate.Text = "&Up";
this.btDuplicate.UseVisualStyleBackColor = true;
this.btDuplicate.Click += new System.EventHandler(this.MoveUp_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(5,
12);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(87,
13);
this.label1.TabIndex = 1;
this.label1.Text = "Shape &Elements:";
//
// lbElements
//
this.lbElements.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbElements.FormattingEnabled = true;
this.lbElements.Location = new System.Drawing.Point(8,
31);
this.lbElements.Name = "lbElements";
this.lbElements.Size = new System.Drawing.Size(200,
225);
this.lbElements.TabIndex = 0;
this.lbElements.SelectedIndexChanged += new System.EventHandler(this.Elements_SelectedIndexChanged);
//
// mGlView
//
this.mGlView.AccumBits = ((byte)(0));
this.mGlView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.mGlView.AutoCheckErrors = true;
this.mGlView.AutoFinish = false;
this.mGlView.AutoMakeCurrent = true;
this.mGlView.AutoSwapBuffers = true;
this.mGlView.BackColor = System.Drawing.Color.Black;
this.mGlView.BackgroundImage = ((System.Drawing.Image)(resources
.GetObject("mGlView.BackgroundImage")));
this.mGlView.ColorBits = ((byte)(32));
this.mGlView.DepthBits = ((byte)(16));
this.mGlView.Location = new System.Drawing.Point(0,
49);
this.mGlView.Name = "mGlView";
this.mGlView.Size = new System.Drawing.Size(871,
659);
this.mGlView.StencilBits = ((byte)(0));
this.mGlView.TabIndex = 8;
this.mGlView.VSync = false;
this.mGlView.Paint += new System.Windows.Forms.PaintEventHandler(this.GlView_Paint);
this.mGlView.DoubleClick += new System.EventHandler(this.GlView_DoubleClick);
this.mGlView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.GlView_MouseDown);
this.mGlView.MouseMove += new System.Windows.Forms.MouseEventHandler(this.GlView_MouseMove);
this.mGlView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.GlView_MouseUp);
this.mGlView.Resize += new System.EventHandler(this.GlView_Resize);
//
// openSpriteDialog
//
this.openSpriteDialog.Filter = "Texture Files (*.png)|*.png|All files|*.*";
this.openSpriteDialog.Title = "Change Sprite";
//
// stZoomFactor
//
this.stZoomFactor.BorderSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top)
| System.Windows.Forms.ToolStripStatusLabelBorderSides.Right)
| System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom)));
this.stZoomFactor.Name = "stZoomFactor";
this.stZoomFactor.Size = new System.Drawing.Size(39,
19);
this.stZoomFactor.Text = "100%";
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6,
25);
//
// toolStripButton2
//
this.toolStripButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.toolStripButton2.Image = ((System.Drawing.Image)(resources
.GetObject("toolStripButton2.Image")));
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton2.Name = "toolStripButton2";
this.toolStripButton2.Size = new System.Drawing.Size(23,
22);
this.toolStripButton2.Text = "Zoom into view.";
this.toolStripButton2.ToolTipText = "Zoom in";
this.toolStripButton2.Click += new System.EventHandler(this.ZoomIn_Click);
this.toolStripButton2.MouseEnter += new System.EventHandler(this.StatusBarUpdate_Enter);
this.toolStripButton2.MouseLeave += new System.EventHandler(this.StatusBarUpdate_Leave);
//
// toolStripButton3
//
this.toolStripButton3.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.toolStripButton3.Image = ((System.Drawing.Image)(resources
.GetObject("toolStripButton3.Image")));
this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton3.Name = "toolStripButton3";
this.toolStripButton3.Size = new System.Drawing.Size(23,
22);
this.toolStripButton3.Text = "Zoom out of view.";
this.toolStripButton3.ToolTipText = "Zoom out";
this.toolStripButton3.Click += new System.EventHandler(this.ZoomOut_Click);
this.toolStripButton3.MouseEnter += new System.EventHandler(this.StatusBarUpdate_Enter);
this.toolStripButton3.MouseLeave += new System.EventHandler(this.StatusBarUpdate_Leave);
//
// toolStripButton4
//
this.toolStripButton4.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.toolStripButton4.Image = ((System.Drawing.Image)(resources
.GetObject("toolStripButton4.Image")));
this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton4.Name = "toolStripButton4";
this.toolStripButton4.Size = new System.Drawing.Size(23,
22);
this.toolStripButton4.Text = "Reset the zoom to 100%.";
this.toolStripButton4.ToolTipText = "Reset zoom";
this.toolStripButton4.Click += new System.EventHandler(this.ZoomReset_Click);
this.toolStripButton4.MouseEnter += new System.EventHandler(this.StatusBarUpdate_Enter);
this.toolStripButton4.MouseLeave += new System.EventHandler(this.StatusBarUpdate_Leave);
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F
);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1097,
730);
this.Controls.Add(this.panel1);
this.Controls.Add(this.mGlView);
this.Controls.Add(this.mMainToolStrip);
this.Controls.Add(this.mMainMenuStrip);
this.Controls.Add(this.mStatusStrip);
this.Icon = ((System.Drawing.Icon)(resources
.GetObject("$this.Icon")));
this.Name = "MainForm";
this.Text = "Shape Editor";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
this.Load += new System.EventHandler(this.MainForm_Load);
this.mStatusStrip.ResumeLayout(false);
this.mStatusStrip.PerformLayout();
this.mMainMenuStrip.ResumeLayout(false);
this.mMainMenuStrip.PerformLayout();
this.mMainToolStrip.ResumeLayout(false);
this.mMainToolStrip.PerformLayout();
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.StatusStrip mStatusStrip
;
private System.Windows.Forms.MenuStrip mMainMenuStrip
;
private System.Windows.Forms.ToolStripMenuItem mFileMenu
;
private System.Windows.Forms.ToolStripMenuItem mFileNewMenu
;
private System.Windows.Forms.ToolStripMenuItem mFileOpenMenu
;
private System.Windows.Forms.ToolStripMenuItem mFileSaveMenu
;
private System.Windows.Forms.ToolStripMenuItem mFileSaveAsMenu
;
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1
;
private System.Windows.Forms.ToolStripMenuItem mFileExitMenu
;
private System.Windows.Forms.ToolStrip mMainToolStrip
;
private System.Windows.Forms.ToolStripButton mFileNewTB
;
private System.Windows.Forms.ToolStripButton mFileOpenTB
;
private System.Windows.Forms.ToolStripButton mFileSaveTB
;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1
;
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1
;
private System.Windows.Forms.OpenFileDialog openFileDialog
;
private System.Windows.Forms.SaveFileDialog saveFileDialog
;
private System.Windows.Forms.ToolStripButton toolStripButton1
;
private System.Windows.Forms.Panel panel1
;
#pragma warning disable 0618
private Tao
.Platform.Windows.SimpleOpenGlControl mGlView
;
#pragma warning restore 0618
private System.Windows.Forms.Label label1
;
private System.Windows.Forms.ListBox lbElements
;
private System.Windows.Forms.Button btDelete
;
private System.Windows.Forms.Button btDuplicate
;
private System.Windows.Forms.ToolStripMenuItem shapeToolStripMenuItem
;
private System.Windows.Forms.ToolStripMenuItem changeSpriteToolStripMenuItem
;
private System.Windows.Forms.OpenFileDialog openSpriteDialog
;
private System.Windows.Forms.ToolStripButton tbRectangle
;
private System.Windows.Forms.ToolStripButton tbEllipse
;
private System.Windows.Forms.ToolStripButton tbPolygon
;
private System.Windows.Forms.ToolStripStatusLabel stStatusLabel
;
private System.Windows.Forms.ToolStripButton tbSelect
;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem2
;
private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem
;
private System.Windows.Forms.Button button1
;
private System.Windows.Forms.PropertyGrid pgProperties
;
private System.Windows.Forms.ToolStripStatusLabel stZoomFactor
;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2
;
private System.Windows.Forms.ToolStripButton toolStripButton2
;
private System.Windows.Forms.ToolStripButton toolStripButton3
;
private System.Windows.Forms.ToolStripButton toolStripButton4
;
}
}