From 4d3eb794b532a13a24107e54947022aed841d165 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 14 Apr 2017 10:57:40 -0400 Subject: [PATCH] Make the Shifter greet the user. --- .../Applications/Shifter.Designer.cs | 40 +++++++++++++++++++ ShiftOS.WinForms/Applications/Shifter.cs | 1 + ShiftOS.WinForms/Applications/Shifter.resx | 9 +++++ 3 files changed, 50 insertions(+) diff --git a/ShiftOS.WinForms/Applications/Shifter.Designer.cs b/ShiftOS.WinForms/Applications/Shifter.Designer.cs index 4520e2a..f919834 100644 --- a/ShiftOS.WinForms/Applications/Shifter.Designer.cs +++ b/ShiftOS.WinForms/Applications/Shifter.Designer.cs @@ -92,6 +92,9 @@ namespace ShiftOS.WinForms.Applications this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripTextBox1 = new System.Windows.Forms.ToolStripTextBox(); + this.pnlintro = new System.Windows.Forms.Panel(); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); this.panel1.SuspendLayout(); this.pnlpreview.SuspendLayout(); this.pnlwindow.SuspendLayout(); @@ -102,6 +105,7 @@ namespace ShiftOS.WinForms.Applications this.pnlcategoryholder.SuspendLayout(); this.mspreview.SuspendLayout(); this.tspreview.SuspendLayout(); + this.pnlintro.SuspendLayout(); this.SuspendLayout(); // // panel1 @@ -117,6 +121,7 @@ namespace ShiftOS.WinForms.Applications // // pnlpreview // + this.pnlpreview.Controls.Add(this.pnlintro); this.pnlpreview.Controls.Add(this.pnlwindow); this.pnlpreview.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlpreview.Location = new System.Drawing.Point(136, 0); @@ -464,6 +469,37 @@ namespace ShiftOS.WinForms.Applications this.toolStripTextBox1.Name = "toolStripTextBox1"; this.toolStripTextBox1.Size = new System.Drawing.Size(100, 25); // + // pnlintro + // + this.pnlintro.Controls.Add(this.label2); + this.pnlintro.Controls.Add(this.label1); + this.pnlintro.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnlintro.Location = new System.Drawing.Point(0, 0); + this.pnlintro.Name = "pnlintro"; + this.pnlintro.Size = new System.Drawing.Size(757, 286); + this.pnlintro.TabIndex = 2; + // + // label1 + // + this.label1.Dock = System.Windows.Forms.DockStyle.Top; + this.label1.Location = new System.Drawing.Point(0, 0); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(757, 54); + this.label1.TabIndex = 0; + this.label1.Tag = "header2"; + this.label1.Text = "Welcome to the Shifter!"; + this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label2 + // + this.label2.Dock = System.Windows.Forms.DockStyle.Fill; + this.label2.Location = new System.Drawing.Point(0, 54); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(757, 232); + this.label2.TabIndex = 1; + this.label2.Text = resources.GetString("label2.Text"); + this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // // Shifter // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -486,6 +522,7 @@ namespace ShiftOS.WinForms.Applications this.mspreview.PerformLayout(); this.tspreview.ResumeLayout(false); this.tspreview.PerformLayout(); + this.pnlintro.ResumeLayout(false); this.ResumeLayout(false); } @@ -531,5 +568,8 @@ namespace ShiftOS.WinForms.Applications private System.Windows.Forms.ToolStripButton toolStripButton1; private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; private System.Windows.Forms.ToolStripTextBox toolStripTextBox1; + private System.Windows.Forms.Panel pnlintro; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label1; } } \ No newline at end of file diff --git a/ShiftOS.WinForms/Applications/Shifter.cs b/ShiftOS.WinForms/Applications/Shifter.cs index e7ad768..e22956f 100644 --- a/ShiftOS.WinForms/Applications/Shifter.cs +++ b/ShiftOS.WinForms/Applications/Shifter.cs @@ -817,6 +817,7 @@ namespace ShiftOS.WinForms.Applications public void OnLoad() { + pnlintro.BringToFront(); } public void OnSkinLoad() diff --git a/ShiftOS.WinForms/Applications/Shifter.resx b/ShiftOS.WinForms/Applications/Shifter.resx index f16904f..9533980 100644 --- a/ShiftOS.WinForms/Applications/Shifter.resx +++ b/ShiftOS.WinForms/Applications/Shifter.resx @@ -117,6 +117,15 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + The Shifter is a brilliant application for ShiftOS that allows you to customize almost every aspect of the user interface. + +To use the Shifter, simply select a category from the left, then a list of sub-categories will show up. Choose a sub-category, then a list of settings will appear. You can modify any one of these settings. A live preview of what you are editing will show, and you can use it to see what your new user experience will look like. + +When you are done, hit Apply Changes to apply your changes! + +You can also earn Codepoints through the Shifter. The more you tweak and customize, the more Codepoints you'll earn! Go nuts! Shift it your way! + 127, 17