aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PortEngine/WindowManager/WM.Designer.cs33
-rw-r--r--Project Ports/DebugMode.Designer.cs61
-rw-r--r--Project Ports/DebugMode.cs20
-rw-r--r--Project Ports/DebugMode.resx120
-rw-r--r--Project Ports/Desktop.Designer.cs4
-rw-r--r--Project Ports/MainMenu.Designer.cs22
-rw-r--r--Project Ports/MainMenu.cs6
-rw-r--r--Project Ports/Project Ports.csproj9
8 files changed, 266 insertions, 9 deletions
diff --git a/PortEngine/WindowManager/WM.Designer.cs b/PortEngine/WindowManager/WM.Designer.cs
index 400de7d..5737799 100644
--- a/PortEngine/WindowManager/WM.Designer.cs
+++ b/PortEngine/WindowManager/WM.Designer.cs
@@ -29,26 +29,49 @@
private void InitializeComponent()
{
this.panel1 = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel1.SuspendLayout();
+ this.panel2.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.panel1.Location = new System.Drawing.Point(-1, 0);
+ this.panel1.Controls.Add(this.panel3);
+ this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(407, 32);
+ this.panel1.Size = new System.Drawing.Size(343, 32);
this.panel1.TabIndex = 0;
//
+ // panel3
+ //
+ this.panel3.Location = new System.Drawing.Point(0, 29);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(10, 319);
+ this.panel3.TabIndex = 2;
+ //
+ // panel2
+ //
+ this.panel2.Controls.Add(this.panel1);
+ this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel2.Location = new System.Drawing.Point(0, 0);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(343, 283);
+ this.panel2.TabIndex = 1;
+ //
// WM
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.White;
- this.ClientSize = new System.Drawing.Size(405, 349);
- this.Controls.Add(this.panel1);
+ this.ClientSize = new System.Drawing.Size(343, 283);
+ this.Controls.Add(this.panel2);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "WM";
this.Text = "WM";
+ this.panel1.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -56,5 +79,7 @@
#endregion
private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel2;
}
} \ No newline at end of file
diff --git a/Project Ports/DebugMode.Designer.cs b/Project Ports/DebugMode.Designer.cs
new file mode 100644
index 0000000..88a26ff
--- /dev/null
+++ b/Project Ports/DebugMode.Designer.cs
@@ -0,0 +1,61 @@
+namespace Project_Ports
+{
+ partial class DebugMode
+ {
+ /// <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.label1 = new System.Windows.Forms.Label();
+ this.SuspendLayout();
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label1.Location = new System.Drawing.Point(34, 74);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(207, 34);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "COMING SOON!";
+ //
+ // DebugMode
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(293, 223);
+ this.Controls.Add(this.label1);
+ this.Name = "DebugMode";
+ this.Text = "DebugMode";
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Label label1;
+ }
+} \ No newline at end of file
diff --git a/Project Ports/DebugMode.cs b/Project Ports/DebugMode.cs
new file mode 100644
index 0000000..dc25eca
--- /dev/null
+++ b/Project Ports/DebugMode.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace Project_Ports
+{
+ public partial class DebugMode : Form
+ {
+ public DebugMode()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/Project Ports/DebugMode.resx b/Project Ports/DebugMode.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/Project Ports/DebugMode.resx
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+ <!--
+ Microsoft ResX Schema
+
+ Version 2.0
+
+ The primary goals of this format is to allow a simple XML format
+ that is mostly human readable. The generation and parsing of the
+ various data types are done through the TypeConverter classes
+ associated with the data types.
+
+ Example:
+
+ ... ado.net/XML headers & schema ...
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
+ <resheader name="version">2.0</resheader>
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
+ </data>
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+ <comment>This is a comment</comment>
+ </data>
+
+ There are any number of "resheader" rows that contain simple
+ name/value pairs.
+
+ Each data row contains a name, and value. The row also contains a
+ type or mimetype. Type corresponds to a .NET class that support
+ text/value conversion through the TypeConverter architecture.
+ Classes that don't support this are serialized and stored with the
+ mimetype set.
+
+ The mimetype is used for serialized objects, and tells the
+ ResXResourceReader how to depersist the object. This is currently not
+ extensible. For a given mimetype the value must be set accordingly:
+
+ Note - application/x-microsoft.net.object.binary.base64 is the format
+ that the ResXResourceWriter will generate, however the reader can
+ read any of the formats listed below.
+
+ mimetype: application/x-microsoft.net.object.binary.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.soap.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.bytearray.base64
+ value : The object must be serialized into a byte array
+ : using a System.ComponentModel.TypeConverter
+ : and then encoded with base64 encoding.
+ -->
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="metadata">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" use="required" type="xsd:string" />
+ <xsd:attribute name="type" type="xsd:string" />
+ <xsd:attribute name="mimetype" type="xsd:string" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="assembly">
+ <xsd:complexType>
+ <xsd:attribute name="alias" type="xsd:string" />
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>2.0</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+</root> \ No newline at end of file
diff --git a/Project Ports/Desktop.Designer.cs b/Project Ports/Desktop.Designer.cs
index 730738c..73492dd 100644
--- a/Project Ports/Desktop.Designer.cs
+++ b/Project Ports/Desktop.Designer.cs
@@ -103,9 +103,9 @@
this.ltime.ForeColor = System.Drawing.Color.Black;
this.ltime.Location = new System.Drawing.Point(753, 7);
this.ltime.Name = "ltime";
- this.ltime.Size = new System.Drawing.Size(35, 13);
+ this.ltime.Size = new System.Drawing.Size(26, 13);
this.ltime.TabIndex = 1;
- this.ltime.Text = "label1";
+ this.ltime.Text = "time";
this.ltime.Click += new System.EventHandler(this.label1_Click);
//
// Desktop
diff --git a/Project Ports/MainMenu.Designer.cs b/Project Ports/MainMenu.Designer.cs
index cfe4607..0c3bc93 100644
--- a/Project Ports/MainMenu.Designer.cs
+++ b/Project Ports/MainMenu.Designer.cs
@@ -35,6 +35,7 @@
this.btnAbout = new System.Windows.Forms.Button();
this.webBrowser1 = new System.Windows.Forms.WebBrowser();
this.label3 = new System.Windows.Forms.Label();
+ this.btnDebugMode = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// btnPlay
@@ -55,7 +56,7 @@
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Consolas", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.ForeColor = System.Drawing.Color.White;
- this.label1.Location = new System.Drawing.Point(47, 49);
+ this.label1.Location = new System.Drawing.Point(47, 41);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(210, 32);
this.label1.TabIndex = 1;
@@ -66,7 +67,7 @@
this.btnExit.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnExit.Font = new System.Drawing.Font("Lucida Console", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnExit.ForeColor = System.Drawing.Color.White;
- this.btnExit.Location = new System.Drawing.Point(53, 223);
+ this.btnExit.Location = new System.Drawing.Point(53, 253);
this.btnExit.Name = "btnExit";
this.btnExit.Size = new System.Drawing.Size(193, 44);
this.btnExit.TabIndex = 2;
@@ -91,7 +92,7 @@
this.btnAbout.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnAbout.Font = new System.Drawing.Font("Lucida Console", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnAbout.ForeColor = System.Drawing.Color.White;
- this.btnAbout.Location = new System.Drawing.Point(53, 162);
+ this.btnAbout.Location = new System.Drawing.Point(53, 203);
this.btnAbout.Name = "btnAbout";
this.btnAbout.Size = new System.Drawing.Size(193, 44);
this.btnAbout.TabIndex = 4;
@@ -123,12 +124,26 @@
this.label3.TabIndex = 6;
this.label3.Text = "Alpha 0.1";
//
+ // btnDebugMode
+ //
+ this.btnDebugMode.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnDebugMode.Font = new System.Drawing.Font("Lucida Console", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btnDebugMode.ForeColor = System.Drawing.Color.White;
+ this.btnDebugMode.Location = new System.Drawing.Point(53, 153);
+ this.btnDebugMode.Name = "btnDebugMode";
+ this.btnDebugMode.Size = new System.Drawing.Size(193, 44);
+ this.btnDebugMode.TabIndex = 7;
+ this.btnDebugMode.Text = "Debug Mode";
+ this.btnDebugMode.UseVisualStyleBackColor = true;
+ this.btnDebugMode.Click += new System.EventHandler(this.btnDebugMode_Click);
+ //
// MainMenu
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Black;
this.ClientSize = new System.Drawing.Size(1235, 704);
+ this.Controls.Add(this.btnDebugMode);
this.Controls.Add(this.label3);
this.Controls.Add(this.webBrowser1);
this.Controls.Add(this.btnAbout);
@@ -155,6 +170,7 @@
private System.Windows.Forms.Button btnAbout;
private System.Windows.Forms.WebBrowser webBrowser1;
private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Button btnDebugMode;
}
}
diff --git a/Project Ports/MainMenu.cs b/Project Ports/MainMenu.cs
index 8a6da25..89c91e9 100644
--- a/Project Ports/MainMenu.cs
+++ b/Project Ports/MainMenu.cs
@@ -57,5 +57,11 @@ namespace Project_Ports
{
}
+
+ private void btnDebugMode_Click(object sender, EventArgs e)
+ {
+ DebugMode debugForm = new DebugMode();
+ debugForm.Show();
+ }
}
} \ No newline at end of file
diff --git a/Project Ports/Project Ports.csproj b/Project Ports/Project Ports.csproj
index cc42815..d88e10a 100644
--- a/Project Ports/Project Ports.csproj
+++ b/Project Ports/Project Ports.csproj
@@ -51,6 +51,12 @@
<Compile Include="About.Designer.cs">
<DependentUpon>About.cs</DependentUpon>
</Compile>
+ <Compile Include="DebugMode.cs">
+ <SubType>Form</SubType>
+ </Compile>
+ <Compile Include="DebugMode.Designer.cs">
+ <DependentUpon>DebugMode.cs</DependentUpon>
+ </Compile>
<Compile Include="Desktop.cs">
<SubType>Form</SubType>
</Compile>
@@ -68,6 +74,9 @@
<EmbeddedResource Include="About.resx">
<DependentUpon>About.cs</DependentUpon>
</EmbeddedResource>
+ <EmbeddedResource Include="DebugMode.resx">
+ <DependentUpon>DebugMode.cs</DependentUpon>
+ </EmbeddedResource>
<EmbeddedResource Include="Desktop.resx">
<DependentUpon>Desktop.cs</DependentUpon>
</EmbeddedResource>