diff options
| author | MichaelTheShifter <[email protected]> | 2016-07-19 21:53:26 -0400 |
|---|---|---|
| committer | MichaelTheShifter <[email protected]> | 2016-07-19 21:53:26 -0400 |
| commit | 6b804f03ebcdd1c5aa145f29ae71b62bd61f8cb9 (patch) | |
| tree | d7bc4b46c45a552add946666151d44490f3b3caf /source/WindowsFormsApplication1/Apps/Terminal.Designer.cs | |
| parent | 9322701aa1eae9596a8586ef19a0fe1d1b3ab66b (diff) | |
| download | shiftos-c--6b804f03ebcdd1c5aa145f29ae71b62bd61f8cb9.tar.gz shiftos-c--6b804f03ebcdd1c5aa145f29ae71b62bd61f8cb9.tar.bz2 shiftos-c--6b804f03ebcdd1c5aa145f29ae71b62bd61f8cb9.zip | |
Full ShiftUI conversion
The only bugs are that windows don't show in the center of the screen,
and Gecko webbrowsers are not serializing properly to be converted to
ShiftUI widgets (you can use the ToWidget() extension method to convert
a WinForms control to a ShiftUI widget)
Also multiple desktop panels are removed due to some odd bug I can't
diagnose. Will add them back in the future. Promise. I loved creating
GNOME2 skins.
Diffstat (limited to 'source/WindowsFormsApplication1/Apps/Terminal.Designer.cs')
| -rw-r--r-- | source/WindowsFormsApplication1/Apps/Terminal.Designer.cs | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/source/WindowsFormsApplication1/Apps/Terminal.Designer.cs b/source/WindowsFormsApplication1/Apps/Terminal.Designer.cs index 5f7ba27..de4e913 100644 --- a/source/WindowsFormsApplication1/Apps/Terminal.Designer.cs +++ b/source/WindowsFormsApplication1/Apps/Terminal.Designer.cs @@ -31,24 +31,24 @@ namespace ShiftOS private void InitializeComponent() { this.components = new System.ComponentModel.Container(); - this.txtterm = new System.Windows.Forms.TextBox(); - this.tmrfirstrun = new System.Windows.Forms.Timer(this.components); - this.tmrshutdown = new System.Windows.Forms.Timer(this.components); - this.pullbs = new System.Windows.Forms.Timer(this.components); - this.pullbottom = new System.Windows.Forms.Timer(this.components); - this.pullside = new System.Windows.Forms.Timer(this.components); - this.tmrstorylineupdate = new System.Windows.Forms.Timer(this.components); - this.panel2 = new System.Windows.Forms.Panel(); - this.tmrsetfont = new System.Windows.Forms.Timer(this.components); + this.txtterm = new ShiftUI.TextBox(); + this.tmrfirstrun = new ShiftUI.Timer(this.components); + this.tmrshutdown = new ShiftUI.Timer(this.components); + this.pullbs = new ShiftUI.Timer(this.components); + this.pullbottom = new ShiftUI.Timer(this.components); + this.pullside = new ShiftUI.Timer(this.components); + this.tmrstorylineupdate = new ShiftUI.Timer(this.components); + this.panel2 = new ShiftUI.Panel(); + this.tmrsetfont = new ShiftUI.Timer(this.components); this.panel2.SuspendLayout(); this.SuspendLayout(); // // txtterm // this.txtterm.BackColor = System.Drawing.Color.Black; - this.txtterm.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.txtterm.Cursor = System.Windows.Forms.Cursors.IBeam; - this.txtterm.Dock = System.Windows.Forms.DockStyle.Fill; + this.txtterm.BorderStyle = ShiftUI.BorderStyle.None; + this.txtterm.Cursor = ShiftUI.Cursors.IBeam; + this.txtterm.Dock = ShiftUI.DockStyle.Fill; this.txtterm.Font = new System.Drawing.Font("Lucida Console", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtterm.ForeColor = System.Drawing.Color.White; this.txtterm.Location = new System.Drawing.Point(0, 0); @@ -56,8 +56,8 @@ namespace ShiftOS this.txtterm.Name = "txtterm"; this.txtterm.Size = new System.Drawing.Size(650, 396); this.txtterm.TabIndex = 0; - this.txtterm.KeyUp += new System.Windows.Forms.KeyEventHandler(this.ScrollDeactivate); - this.txtterm.MouseMove += new System.Windows.Forms.MouseEventHandler(this.ScrollTerm); + this.txtterm.KeyUp += new ShiftUI.KeyEventHandler(this.ScrollDeactivate); + this.txtterm.MouseMove += new ShiftUI.MouseEventHandler(this.ScrollTerm); // // tmrfirstrun // @@ -81,8 +81,8 @@ namespace ShiftOS // // panel2 // - this.panel2.Controls.Add(this.txtterm); - this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel2.Widgets.Add(this.txtterm); + this.panel2.Dock = ShiftUI.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(650, 396); @@ -95,11 +95,11 @@ namespace ShiftOS // Terminal // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = ShiftUI.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.Black; this.ClientSize = new System.Drawing.Size(650, 396); - this.Controls.Add(this.panel2); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.Widgets.Add(this.panel2); + this.FormBorderStyle = ShiftUI.FormBorderStyle.None; this.KeyPreview = true; this.MinimumSize = new System.Drawing.Size(350, 200); this.Name = "Terminal"; @@ -111,16 +111,16 @@ namespace ShiftOS this.ResumeLayout(false); } - internal System.Windows.Forms.TextBox txtterm; - internal System.Windows.Forms.Timer tmrfirstrun; - internal System.Windows.Forms.Timer tmrshutdown; - internal System.Windows.Forms.Timer pullbs; - internal System.Windows.Forms.Timer pullbottom; - internal System.Windows.Forms.Timer pullside; - internal System.Windows.Forms.Timer tmrstorylineupdate; + internal ShiftUI.TextBox txtterm; + internal ShiftUI.Timer tmrfirstrun; + internal ShiftUI.Timer tmrshutdown; + internal ShiftUI.Timer pullbs; + internal ShiftUI.Timer pullbottom; + internal ShiftUI.Timer pullside; + internal ShiftUI.Timer tmrstorylineupdate; #endregion - private System.Windows.Forms.Panel panel2; - private System.Windows.Forms.Timer tmrsetfont; + private ShiftUI.Panel panel2; + private ShiftUI.Timer tmrsetfont; } }
\ No newline at end of file |
