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/GameSettings.Designer.cs | |
| parent | 9322701aa1eae9596a8586ef19a0fe1d1b3ab66b (diff) | |
| download | shiftos-c-_theultimatehacker-6b804f03ebcdd1c5aa145f29ae71b62bd61f8cb9.tar.gz shiftos-c-_theultimatehacker-6b804f03ebcdd1c5aa145f29ae71b62bd61f8cb9.tar.bz2 shiftos-c-_theultimatehacker-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/GameSettings.Designer.cs')
| -rw-r--r-- | source/WindowsFormsApplication1/GameSettings.Designer.cs | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/source/WindowsFormsApplication1/GameSettings.Designer.cs b/source/WindowsFormsApplication1/GameSettings.Designer.cs index 809fbb0..02d73d0 100644 --- a/source/WindowsFormsApplication1/GameSettings.Designer.cs +++ b/source/WindowsFormsApplication1/GameSettings.Designer.cs @@ -28,21 +28,21 @@ /// </summary> private void InitializeComponent() { - this.panel1 = new System.Windows.Forms.Panel(); - this.label1 = new System.Windows.Forms.Label(); - this.lbgame = new System.Windows.Forms.Label(); + this.panel1 = new ShiftUI.Panel(); + this.label1 = new ShiftUI.Label(); + this.lbgame = new ShiftUI.Label(); this.pgsound = new ShiftOS.ProgressBarEX(); - this.label2 = new System.Windows.Forms.Label(); + this.label2 = new ShiftUI.Label(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // panel1 // - this.panel1.Controls.Add(this.label2); - this.panel1.Controls.Add(this.pgsound); - this.panel1.Controls.Add(this.lbgame); - this.panel1.Controls.Add(this.label1); - this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel1.Widgets.Add(this.label2); + this.panel1.Widgets.Add(this.pgsound); + this.panel1.Widgets.Add(this.lbgame); + this.panel1.Widgets.Add(this.label1); + this.panel1.Dock = ShiftUI.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(665, 432); @@ -59,7 +59,7 @@ // // lbgame // - this.lbgame.Dock = System.Windows.Forms.DockStyle.Top; + this.lbgame.Dock = ShiftUI.DockStyle.Top; this.lbgame.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F); this.lbgame.Location = new System.Drawing.Point(0, 0); this.lbgame.Name = "lbgame"; @@ -70,12 +70,12 @@ // // pgsound // - this.pgsound.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); + this.pgsound.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left) + | ShiftUI.AnchorStyles.Right))); this.pgsound.BackColor = System.Drawing.Color.White; this.pgsound.BlockSeparation = 3; this.pgsound.BlockWidth = 5; - this.pgsound.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pgsound.BorderStyle = ShiftUI.BorderStyle.FixedSingle; this.pgsound.Color = System.Drawing.Color.Black; this.pgsound.ForeColor = System.Drawing.Color.Gray; this.pgsound.Label = "Music Volume:"; @@ -91,13 +91,13 @@ this.pgsound.Style = ShiftOS.ProgressBarEX.ProgressBarExStyle.Continuous; this.pgsound.TabIndex = 2; this.pgsound.Value = 0; - this.pgsound.MouseDown += new System.Windows.Forms.MouseEventHandler(this.set_music_volume); + this.pgsound.MouseDown += new ShiftUI.MouseEventHandler(this.set_music_volume); this.pgsound.MouseLeave += new System.EventHandler(this.pgsound_MouseLeave); - this.pgsound.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pgsound_MouseMove); + this.pgsound.MouseMove += new ShiftUI.MouseEventHandler(this.pgsound_MouseMove); // // label2 // - this.label2.Dock = System.Windows.Forms.DockStyle.Top; + this.label2.Dock = ShiftUI.DockStyle.Top; this.label2.Location = new System.Drawing.Point(0, 23); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(665, 13); @@ -108,9 +108,9 @@ // GameSettings // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = ShiftUI.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(665, 432); - this.Controls.Add(this.panel1); + this.Widgets.Add(this.panel1); this.Name = "GameSettings"; this.Text = "GameSettings"; this.panel1.ResumeLayout(false); @@ -121,10 +121,10 @@ #endregion - private System.Windows.Forms.Panel panel1; + private ShiftUI.Panel panel1; private ProgressBarEX pgsound; - private System.Windows.Forms.Label lbgame; - private System.Windows.Forms.Label label1; - private System.Windows.Forms.Label label2; + private ShiftUI.Label lbgame; + private ShiftUI.Label label1; + private ShiftUI.Label label2; } }
\ No newline at end of file |
