diff options
| author | Richie Moch <[email protected]> | 2018-12-22 15:24:55 -0600 |
|---|---|---|
| committer | Richie Moch <[email protected]> | 2018-12-22 15:24:55 -0600 |
| commit | d94c79dbf5183230e5fd3342848408f776de60ea (patch) | |
| tree | e679a6ebd541e4c84ef39fdc2af78229eebea363 /ShiftOS.Main/ShiftOS/Desktop.cs | |
| parent | 9d9958e18bda9142cb118f13332f2649a530f27f (diff) | |
| download | shiftos-rewind-d94c79dbf5183230e5fd3342848408f776de60ea.tar.gz shiftos-rewind-d94c79dbf5183230e5fd3342848408f776de60ea.tar.bz2 shiftos-rewind-d94c79dbf5183230e5fd3342848408f776de60ea.zip | |
Various changes, began working on the texture skinning.
Diffstat (limited to 'ShiftOS.Main/ShiftOS/Desktop.cs')
| -rw-r--r-- | ShiftOS.Main/ShiftOS/Desktop.cs | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/ShiftOS.Main/ShiftOS/Desktop.cs b/ShiftOS.Main/ShiftOS/Desktop.cs deleted file mode 100644 index 64dafdc..0000000 --- a/ShiftOS.Main/ShiftOS/Desktop.cs +++ /dev/null @@ -1,67 +0,0 @@ -using System; -using System.Windows.Forms; -using ShiftOS.Engine.WindowManager; -using ShiftOS.Main.Properties; -using ShiftOS.Main.ShiftOS.Apps; -using System.IO; -using ShiftOS.Engine; -using System.Drawing; -using ShiftOS.Engine.UI; - -namespace ShiftOS.Main.ShiftOS -{ - // testing github because git hates me - public partial class Desktop : Form - { - Graphics g; - public Desktop() - { - InitializeComponent(); - timer1.Start(); - Closed += (sender, args) => { Application.Exit(); }; - var s = new ShiftStripRenderer(); - - } - - private void shifterToolStripMenuItem_Click(object sender, EventArgs e) - { - Apps.ShifterStuff.Shifter app = new Apps.ShifterStuff.Shifter(); - ShiftWM.Init(app, "Shifter", Resources.iconShifter); - } - - private void Desktop_Load(object sender, EventArgs e) - { - this.WindowState = FormWindowState.Maximized; - } - - private void terminalToolStripMenuItem_Click(object sender, EventArgs e) - { - var t = new Apps.Terminal(); - ShiftWM.Init(t, "Terminal", Resources.iconTerminal, false); - - } - - private void textPadToolStripMenuItem_Click(object sender, EventArgs e) - { - var t = new TextPad(); - ShiftWM.Init(t, "TextPad", Resources.iconTextPad); - } - - private void fileSkimmerToolStripMenuItem_Click(object sender, EventArgs e) - { - var fs = new FileSkimmer(); - ShiftWM.Init(fs, "File Skimmer", Resources.iconFileSkimmer); - } - - private void timer1_Tick(object sender, EventArgs e) - { - lblClock.Text = DateTime.Now.ToString("hh:mm:ss"); - } - - private void SetupToolStrip(ToolStripRenderEventArgs e, Graphics g) - { - var s = new ShiftStripRenderer(); - s.DrawToolStripBackground(e); - } - } -} |
