diff options
Diffstat (limited to 'source/WindowsFormsApplication1/Desktop')
3 files changed, 3383 insertions, 0 deletions
diff --git a/source/WindowsFormsApplication1/Desktop/ShiftOSDesktop.Designer.cs b/source/WindowsFormsApplication1/Desktop/ShiftOSDesktop.Designer.cs new file mode 100644 index 0000000..fad1f66 --- /dev/null +++ b/source/WindowsFormsApplication1/Desktop/ShiftOSDesktop.Designer.cs @@ -0,0 +1,1583 @@ +namespace ShiftOS +{ + partial class ShiftOSDesktop + { + /// <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); + } + + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.desktoppanel = new System.Windows.Forms.Panel(); + this.pnlnotifications = new System.Windows.Forms.FlowLayoutPanel(); + this.pnlpanelbuttonholder = new System.Windows.Forms.FlowLayoutPanel(); + this.applaunchermenuholder = new System.Windows.Forms.Panel(); + this.desktopappmenu = new System.Windows.Forms.MenuStrip(); + this.ApplicationsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ArtpadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.AudioplayerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.BitnoteDiggerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.BitnoteWalletToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.CalculatorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.CatalystToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.ClockToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.DodgeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.downloadmanagerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.FileSkimmerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.FloodGateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.IconManagerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.InstallerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.KnowledgeInputToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.MazeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.NameChangerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.orcwriteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.PongToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ShifterToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ShiftnetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ShiftoriumToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.SkinLoaderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.SkinShifterToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.SnakeyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.sysinfoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.TerminalToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.TextPadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.WebBrowserToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.VideoplayerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.VirusScannerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.unitySeperator = new System.Windows.Forms.ToolStripSeparator(); + this.UnityToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ShutdownToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.timepanel = new System.Windows.Forms.Panel(); + this.paneltimetext = new System.Windows.Forms.Label(); + this.tbclockicon = new System.Windows.Forms.PictureBox(); + this.tbclocktext = new System.Windows.Forms.Label(); + this.tbsysinfoicon = new System.Windows.Forms.PictureBox(); + this.tbsysinfotext = new System.Windows.Forms.Label(); + this.tbskinloadericon = new System.Windows.Forms.PictureBox(); + this.tbskinloadertext = new System.Windows.Forms.Label(); + this.tbfileskimmericon = new System.Windows.Forms.PictureBox(); + this.tbfileskimmertext = new System.Windows.Forms.Label(); + this.tbfileopenericon = new System.Windows.Forms.PictureBox(); + this.tbfileopenertext = new System.Windows.Forms.Label(); + this.tbinfoboxicon = new System.Windows.Forms.PictureBox(); + this.tbinfoboxtext = new System.Windows.Forms.Label(); + this.tbknowledgeinputicon = new System.Windows.Forms.PictureBox(); + this.tbknowledgeinputtext = new System.Windows.Forms.Label(); + this.tbcolourpickericon = new System.Windows.Forms.PictureBox(); + this.tbcolourpickertext = new System.Windows.Forms.Label(); + this.tbshiftoriumicon = new System.Windows.Forms.PictureBox(); + this.tbshiftoriumtext = new System.Windows.Forms.Label(); + this.tbpongicon = new System.Windows.Forms.PictureBox(); + this.tbpongtext = new System.Windows.Forms.Label(); + this.tbterminalicon = new System.Windows.Forms.PictureBox(); + this.tbterminaltext = new System.Windows.Forms.Label(); + this.tbtextpadicon = new System.Windows.Forms.PictureBox(); + this.tbtextpadtext = new System.Windows.Forms.Label(); + this.tbgraphicpickericon = new System.Windows.Forms.PictureBox(); + this.tbgraphicpickertext = new System.Windows.Forms.Label(); + this.tbartpadicon = new System.Windows.Forms.PictureBox(); + this.tbartpadtext = new System.Windows.Forms.Label(); + this.tbcalculatoricon = new System.Windows.Forms.PictureBox(); + this.tbcalculatortext = new System.Windows.Forms.Label(); + this.tbaudioplayericon = new System.Windows.Forms.PictureBox(); + this.tbaudioplayertext = new System.Windows.Forms.Label(); + this.tbvideoplayericon = new System.Windows.Forms.PictureBox(); + this.tbvideoplayertext = new System.Windows.Forms.Label(); + this.tbwebbrowsericon = new System.Windows.Forms.PictureBox(); + this.tbwebbrowsertext = new System.Windows.Forms.Label(); + this.tbnamechangericon = new System.Windows.Forms.PictureBox(); + this.tbnamechangertext = new System.Windows.Forms.Label(); + this.tbiconmanagericon = new System.Windows.Forms.PictureBox(); + this.tbiconmanagertext = new System.Windows.Forms.Label(); + this.tbbitnotewalleticon = new System.Windows.Forms.PictureBox(); + this.tbbitnotewallettext = new System.Windows.Forms.Label(); + this.tbbitnotediggericon = new System.Windows.Forms.PictureBox(); + this.tbbitnotediggertext = new System.Windows.Forms.Label(); + this.tbskinshiftericon = new System.Windows.Forms.PictureBox(); + this.tbskinshiftertext = new System.Windows.Forms.Label(); + this.tbdownloadericon = new System.Windows.Forms.PictureBox(); + this.tbdownloadertext = new System.Windows.Forms.Label(); + this.tbshiftneticon = new System.Windows.Forms.PictureBox(); + this.tbshiftnettext = new System.Windows.Forms.Label(); + this.tbdodgeicon = new System.Windows.Forms.PictureBox(); + this.tbdodgetext = new System.Windows.Forms.Label(); + this.tbdownloadmanagericon = new System.Windows.Forms.PictureBox(); + this.tbdownloadmanagertext = new System.Windows.Forms.Label(); + this.tbcatalysticon = new System.Windows.Forms.PictureBox(); + this.lbcatalystname = new System.Windows.Forms.Label(); + this.tbinstallericon = new System.Windows.Forms.PictureBox(); + this.tbinstallertext = new System.Windows.Forms.Label(); + this.tbsnakeyicon = new System.Windows.Forms.PictureBox(); + this.tbsnakeytext = new System.Windows.Forms.Label(); + this.tborcwriteicon = new System.Windows.Forms.PictureBox(); + this.tborcwritetext = new System.Windows.Forms.Label(); + this.tbfloodgateicon = new System.Windows.Forms.PictureBox(); + this.tbfloodgatetext = new System.Windows.Forms.Label(); + this.tbmazeicon = new System.Windows.Forms.PictureBox(); + this.tbmazetext = new System.Windows.Forms.Label(); + this.tbvirusscannericon = new System.Windows.Forms.PictureBox(); + this.tbvirusscannertext = new System.Windows.Forms.Label(); + this.tbfilesavericon = new System.Windows.Forms.PictureBox(); + this.tbfilesavertext = new System.Windows.Forms.Label(); + this.tbshiftericon = new System.Windows.Forms.PictureBox(); + this.tbshiftertext = new System.Windows.Forms.Label(); + this.pnlpanelbuttonfloatybird = new System.Windows.Forms.Panel(); + this.tbfloatybirdicon = new System.Windows.Forms.PictureBox(); + this.tbfloatybirdtext = new System.Windows.Forms.Label(); + this.floatybirdToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.clocktick = new System.Windows.Forms.Timer(this.components); + this.autosave = new System.Windows.Forms.Timer(this.components); + this.nocheat = new System.Windows.Forms.Timer(this.components); + this.tmrwindowedtest = new System.Windows.Forms.Timer(this.components); + this.cmbdesktopoptions = new System.Windows.Forms.ContextMenuStrip(this.components); + this.NewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.FolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); + this.ArtpadPictureToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.TextDocumentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.NewSkin = new System.Windows.Forms.ToolStripMenuItem(); + this.WebpageToolStripMenuItem = new System.Windows.Forms.ToolStripSeparator(); + this.ShortcutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.scriptToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.addDesktopPanelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.widgetManagerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.imgshiftnetapps = new System.Windows.Forms.ImageList(this.components); + this.lbldebug = new System.Windows.Forms.Label(); + this.lblog = new System.Windows.Forms.Label(); + this.flicons = new System.Windows.Forms.FlowLayoutPanel(); + this.cmbfactions = new System.Windows.Forms.ContextMenuStrip(this.components); + this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.cbwidget = new System.Windows.Forms.ContextMenuStrip(this.components); + this.wlocmenu = new System.Windows.Forms.ToolStripMenuItem(); + this.cbdpanel = new System.Windows.Forms.ContextMenuStrip(this.components); + this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); + this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.placeHereToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.appLauncherToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.panelButtonsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.clockToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.desktoppanel.SuspendLayout(); + this.applaunchermenuholder.SuspendLayout(); + this.desktopappmenu.SuspendLayout(); + this.timepanel.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.tbclockicon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbsysinfoicon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbskinloadericon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbfileskimmericon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbfileopenericon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbinfoboxicon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbknowledgeinputicon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbcolourpickericon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbshiftoriumicon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbpongicon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbterminalicon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbtextpadicon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbgraphicpickericon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbartpadicon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbcalculatoricon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbaudioplayericon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbvideoplayericon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbwebbrowsericon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbnamechangericon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbiconmanagericon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbbitnotewalleticon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbbitnotediggericon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbskinshiftericon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbdownloadericon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbshiftneticon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbdodgeicon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbdownloadmanagericon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbcatalysticon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbinstallericon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbsnakeyicon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tborcwriteicon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbfloodgateicon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbmazeicon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbvirusscannericon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbfilesavericon)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbshiftericon)).BeginInit(); + this.pnlpanelbuttonfloatybird.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.tbfloatybirdicon)).BeginInit(); + this.cmbdesktopoptions.SuspendLayout(); + this.cmbfactions.SuspendLayout(); + this.cbwidget.SuspendLayout(); + this.cbdpanel.SuspendLayout(); + this.SuspendLayout(); + // + // desktoppanel + // + this.desktoppanel.BackColor = System.Drawing.Color.Gray; + this.desktoppanel.Controls.Add(this.pnlnotifications); + this.desktoppanel.Controls.Add(this.pnlpanelbuttonholder); + this.desktoppanel.Controls.Add(this.applaunchermenuholder); + this.desktoppanel.Controls.Add(this.timepanel); + this.desktoppanel.Dock = System.Windows.Forms.DockStyle.Top; + this.desktoppanel.Location = new System.Drawing.Point(0, 0); + this.desktoppanel.Name = "desktoppanel"; + this.desktoppanel.Size = new System.Drawing.Size(1268, 24); + this.desktoppanel.TabIndex = 0; + this.desktoppanel.Visible = false; + // + // pnlnotifications + // + this.pnlnotifications.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnlnotifications.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft; + this.pnlnotifications.Location = new System.Drawing.Point(132, 0); + this.pnlnotifications.Name = "pnlnotifications"; + this.pnlnotifications.Size = new System.Drawing.Size(1039, 24); + this.pnlnotifications.TabIndex = 2; + // + // pnlpanelbuttonholder + // + this.pnlpanelbuttonholder.AutoSize = true; + this.pnlpanelbuttonholder.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.pnlpanelbuttonholder.BackColor = System.Drawing.Color.Transparent; + this.pnlpanelbuttonholder.Dock = System.Windows.Forms.DockStyle.Left; + this.pnlpanelbuttonholder.Location = new System.Drawing.Point(130, 0); + this.pnlpanelbuttonholder.Name = "pnlpanelbuttonholder"; + this.pnlpanelbuttonholder.Padding = new System.Windows.Forms.Padding(2, 0, 0, 0); + this.pnlpanelbuttonholder.Size = new System.Drawing.Size(2, 24); + this.pnlpanelbuttonholder.TabIndex = 1; + // + // applaunchermenuholder + // + this.applaunchermenuholder.Controls.Add(this.desktopappmenu); + this.applaunchermenuholder.Dock = System.Windows.Forms.DockStyle.Left; + this.applaunchermenuholder.Location = new System.Drawing.Point(0, 0); + this.applaunchermenuholder.Name = "applaunchermenuholder"; + this.applaunchermenuholder.Size = new System.Drawing.Size(130, 24); + this.applaunchermenuholder.TabIndex = 3; + // + // desktopappmenu + // + this.desktopappmenu.AutoSize = false; + this.desktopappmenu.BackColor = System.Drawing.Color.Transparent; + this.desktopappmenu.GripMargin = new System.Windows.Forms.Padding(0); + this.desktopappmenu.ImageScalingSize = new System.Drawing.Size(32, 32); + this.desktopappmenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ApplicationsToolStripMenuItem}); + this.desktopappmenu.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow; + this.desktopappmenu.Location = new System.Drawing.Point(0, 0); + this.desktopappmenu.Name = "desktopappmenu"; + this.desktopappmenu.Padding = new System.Windows.Forms.Padding(0); + this.desktopappmenu.Size = new System.Drawing.Size(130, 24); + this.desktopappmenu.TabIndex = 0; + this.desktopappmenu.TabStop = true; + this.desktopappmenu.Text = "MenuStrip1"; + // + // ApplicationsToolStripMenuItem + // + this.ApplicationsToolStripMenuItem.AutoSize = false; + this.ApplicationsToolStripMenuItem.BackColor = System.Drawing.Color.Transparent; + this.ApplicationsToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.ApplicationsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ArtpadToolStripMenuItem, + this.AudioplayerToolStripMenuItem, + this.BitnoteDiggerToolStripMenuItem, + this.BitnoteWalletToolStripMenuItem, + this.CalculatorToolStripMenuItem, + this.CatalystToolStripMenuItem1, + this.ClockToolStripMenuItem, + this.DodgeToolStripMenuItem, + this.downloadmanagerToolStripMenuItem, + this.FileSkimmerToolStripMenuItem, + this.FloodGateToolStripMenuItem, + this.IconManagerToolStripMenuItem, + this.InstallerToolStripMenuItem, + this.KnowledgeInputToolStripMenuItem, + this.MazeToolStripMenuItem, + this.NameChangerToolStripMenuItem, + this.orcwriteToolStripMenuItem, + this.PongToolStripMenuItem, + this.ShifterToolStripMenuItem, + this.ShiftnetToolStripMenuItem, + this.ShiftoriumToolStripMenuItem, + this.SkinLoaderToolStripMenuItem, + this.SkinShifterToolStripMenuItem, + this.SnakeyToolStripMenuItem, + this.sysinfoToolStripMenuItem, + this.TerminalToolStripMenuItem, + this.TextPadToolStripMenuItem, + this.WebBrowserToolStripMenuItem, + this.VideoplayerToolStripMenuItem, + this.VirusScannerToolStripMenuItem, + this.unitySeperator, + this.UnityToolStripMenuItem, + this.ShutdownToolStripMenuItem}); + this.ApplicationsToolStripMenuItem.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.749999F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.ApplicationsToolStripMenuItem.Name = "ApplicationsToolStripMenuItem"; + this.ApplicationsToolStripMenuItem.Padding = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.ApplicationsToolStripMenuItem.ShowShortcutKeys = false; + this.ApplicationsToolStripMenuItem.Size = new System.Drawing.Size(94, 24); + this.ApplicationsToolStripMenuItem.Text = "Applications"; + this.ApplicationsToolStripMenuItem.TextDirection = System.Windows.Forms.ToolStripTextDirection.Horizontal; + this.ApplicationsToolStripMenuItem.TextImageRelation = System.Windows.Forms.TextImageRelation.TextBeforeImage; + this.ApplicationsToolStripMenuItem.MouseDown += new System.Windows.Forms.MouseEventHandler(this.ALClick); + this.ApplicationsToolStripMenuItem.MouseEnter += new System.EventHandler(this.ALHover); + this.ApplicationsToolStripMenuItem.MouseLeave += new System.EventHandler(this.ALReset); + // + // ArtpadToolStripMenuItem + // + this.ArtpadToolStripMenuItem.Name = "ArtpadToolStripMenuItem"; + this.ArtpadToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.ArtpadToolStripMenuItem.Text = "ArtPad"; + // + // AudioplayerToolStripMenuItem + // + this.AudioplayerToolStripMenuItem.Name = "AudioplayerToolStripMenuItem"; + this.AudioplayerToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.AudioplayerToolStripMenuItem.Text = "Audio Player"; + // + // BitnoteDiggerToolStripMenuItem + // + this.BitnoteDiggerToolStripMenuItem.Name = "BitnoteDiggerToolStripMenuItem"; + this.BitnoteDiggerToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.BitnoteDiggerToolStripMenuItem.Text = "Bitnote Digger"; + // + // BitnoteWalletToolStripMenuItem + // + this.BitnoteWalletToolStripMenuItem.Name = "BitnoteWalletToolStripMenuItem"; + this.BitnoteWalletToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.BitnoteWalletToolStripMenuItem.Text = "Bitnote Wallet"; + // + // CalculatorToolStripMenuItem + // + this.CalculatorToolStripMenuItem.Name = "CalculatorToolStripMenuItem"; + this.CalculatorToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.CalculatorToolStripMenuItem.Text = "Calculator"; + // + // CatalystToolStripMenuItem1 + // + this.CatalystToolStripMenuItem1.Name = "CatalystToolStripMenuItem1"; + this.CatalystToolStripMenuItem1.Size = new System.Drawing.Size(214, 22); + this.CatalystToolStripMenuItem1.Text = "Catalyst"; + // + // ClockToolStripMenuItem + // + this.ClockToolStripMenuItem.BackColor = System.Drawing.Color.Transparent; + this.ClockToolStripMenuItem.Name = "ClockToolStripMenuItem"; + this.ClockToolStripMenuItem.ShowShortcutKeys = false; + this.ClockToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.ClockToolStripMenuItem.Text = "Clock"; + // + // DodgeToolStripMenuItem + // + this.DodgeToolStripMenuItem.Name = "DodgeToolStripMenuItem"; + this.DodgeToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.DodgeToolStripMenuItem.Text = "Dodge"; + // + // downloadmanagerToolStripMenuItem + // + this.downloadmanagerToolStripMenuItem.Name = "downloadmanagerToolStripMenuItem"; + this.downloadmanagerToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.downloadmanagerToolStripMenuItem.Text = "Download Manager"; + // + // FileSkimmerToolStripMenuItem + // + this.FileSkimmerToolStripMenuItem.Name = "FileSkimmerToolStripMenuItem"; + this.FileSkimmerToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.FileSkimmerToolStripMenuItem.Text = "File Skimmer"; + // + // FloodGateToolStripMenuItem + // + this.FloodGateToolStripMenuItem.Name = "FloodGateToolStripMenuItem"; + this.FloodGateToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.FloodGateToolStripMenuItem.Text = "FloodGate Manager"; + // + // IconManagerToolStripMenuItem + // + this.IconManagerToolStripMenuItem.Name = "IconManagerToolStripMenuItem"; + this.IconManagerToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.IconManagerToolStripMenuItem.Text = "Icon Manager"; + // + // InstallerToolStripMenuItem + // + this.InstallerToolStripMenuItem.Name = "InstallerToolStripMenuItem"; + this.InstallerToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.InstallerToolStripMenuItem.Text = "Installer"; + // + // KnowledgeInputToolStripMenuItem + // + this.KnowledgeInputToolStripMenuItem.BackColor = System.Drawing.Color.Transparent; + this.KnowledgeInputToolStripMenuItem.Name = "KnowledgeInputToolStripMenuItem"; + this.KnowledgeInputToolStripMenuItem.ShowShortcutKeys = false; + this.KnowledgeInputToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.KnowledgeInputToolStripMenuItem.Text = "Knowledge Input"; + // + // MazeToolStripMenuItem + // + this.MazeToolStripMenuItem.Name = "MazeToolStripMenuItem"; + this.MazeToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.MazeToolStripMenuItem.Text = "Labyrinth"; + // + // NameChangerToolStripMenuItem + // + this.NameChangerToolStripMenuItem.Name = "NameChangerToolStripMenuItem"; + this.NameChangerToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.NameChangerToolStripMenuItem.Text = "Name Changer"; + // + // orcwriteToolStripMenuItem + // + this.orcwriteToolStripMenuItem.Name = "orcwriteToolStripMenuItem"; + this.orcwriteToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.orcwriteToolStripMenuItem.Text = "OrcWrite"; + // + // PongToolStripMenuItem + // + this.PongToolStripMenuItem.Name = "PongToolStripMenuItem"; + this.PongToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.PongToolStripMenuItem.Text = "Pong"; + // + // ShifterToolStripMenuItem + // + this.ShifterToolStripMenuItem.BackColor = System.Drawing.Color.Transparent; + this.ShifterToolStripMenuItem.Name = "ShifterToolStripMenuItem"; + this.ShifterToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.ShifterToolStripMenuItem.Text = "Shifter"; + // + // ShiftnetToolStripMenuItem + // + this.ShiftnetToolStripMenuItem.Name = "ShiftnetToolStripMenuItem"; + this.ShiftnetToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.ShiftnetToolStripMenuItem.Text = "Shiftnet"; + // + // ShiftoriumToolStripMenuItem + // + this.ShiftoriumToolStripMenuItem.BackColor = System.Drawing.Color.Transparent; + this.ShiftoriumToolStripMenuItem.Name = "ShiftoriumToolStripMenuItem"; + this.ShiftoriumToolStripMenuItem.ShowShortcutKeys = false; + this.ShiftoriumToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.ShiftoriumToolStripMenuItem.Text = "Shiftorium"; + // + // SkinLoaderToolStripMenuItem + // + this.SkinLoaderToolStripMenuItem.Name = "SkinLoaderToolStripMenuItem"; + this.SkinLoaderToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.SkinLoaderToolStripMenuItem.Text = "Skin Loader"; + // + // SkinShifterToolStripMenuItem + // + this.SkinShifterToolStripMenuItem.Name = "SkinShifterToolStripMenuItem"; + this.SkinShifterToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.SkinShifterToolStripMenuItem.Text = "Skin Shifter"; + // + // SnakeyToolStripMenuItem + // + this.SnakeyToolStripMenuItem.Name = "SnakeyToolStripMenuItem"; + this.SnakeyToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.SnakeyToolStripMenuItem.Text = "Snakey"; + // + // sysinfoToolStripMenuItem + // + this.sysinfoToolStripMenuItem.Name = "sysinfoToolStripMenuItem"; + this.sysinfoToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.sysinfoToolStripMenuItem.Text = "System Information"; + // + // TerminalToolStripMenuItem + // + this.TerminalToolStripMenuItem.BackColor = System.Drawing.Color.Transparent; + this.TerminalToolStripMenuItem.Name = "TerminalToolStripMenuItem"; + this.TerminalToolStripMenuItem.ShowShortcutKeys = false; + this.TerminalToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.TerminalToolStripMenuItem.Text = "Terminal"; + // + // TextPadToolStripMenuItem + // + this.TextPadToolStripMenuItem.Name = "TextPadToolStripMenuItem"; + this.TextPadToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.TextPadToolStripMenuItem.Text = "TextPad"; + // + // WebBrowserToolStripMenuItem + // + this.WebBrowserToolStripMenuItem.Name = "WebBrowserToolStripMenuItem"; + this.WebBrowserToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.WebBrowserToolStripMenuItem.Text = "Web Browser"; + // + // VideoplayerToolStripMenuItem + // + this.VideoplayerToolStripMenuItem.Name = "VideoplayerToolStripMenuItem"; + this.VideoplayerToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.VideoplayerToolStripMenuItem.Text = "Video Player"; + // + // VirusScannerToolStripMenuItem + // + this.VirusScannerToolStripMenuItem.Name = "VirusScannerToolStripMenuItem"; + this.VirusScannerToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.VirusScannerToolStripMenuItem.Text = "Virus Scanner"; + // + // unitySeperator + // + this.unitySeperator.BackColor = System.Drawing.Color.Transparent; + this.unitySeperator.ForeColor = System.Drawing.Color.White; + this.unitySeperator.Name = "unitySeperator"; + this.unitySeperator.Size = new System.Drawing.Size(211, 6); + // + // UnityToolStripMenuItem + // + this.UnityToolStripMenuItem.Name = "UnityToolStripMenuItem"; + this.UnityToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.UnityToolStripMenuItem.Text = "Toggle Unity Mode"; + // + // ShutdownToolStripMenuItem + // + this.ShutdownToolStripMenuItem.BackColor = System.Drawing.Color.Transparent; + this.ShutdownToolStripMenuItem.Name = "ShutdownToolStripMenuItem"; + this.ShutdownToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.ShutdownToolStripMenuItem.Text = "Shut Down"; + // + // timepanel + // + this.timepanel.Controls.Add(this.paneltimetext); + this.timepanel.Dock = System.Windows.Forms.DockStyle.Right; + this.timepanel.Location = new System.Drawing.Point(1171, 0); + this.timepanel.Name = "timepanel"; + this.timepanel.Size = new System.Drawing.Size(97, 24); + this.timepanel.TabIndex = 2; + // + // paneltimetext + // + this.paneltimetext.AutoSize = true; + this.paneltimetext.BackColor = System.Drawing.Color.Transparent; + this.paneltimetext.Font = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.paneltimetext.Location = new System.Drawing.Point(5, 0); + this.paneltimetext.Name = "paneltimetext"; + this.paneltimetext.Size = new System.Drawing.Size(80, 24); + this.paneltimetext.TabIndex = 1; + this.paneltimetext.Text = "5000023"; + this.paneltimetext.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // tbclockicon + // + this.tbclockicon.Location = new System.Drawing.Point(0, 0); + this.tbclockicon.Name = "tbclockicon"; + this.tbclockicon.Size = new System.Drawing.Size(100, 50); + this.tbclockicon.TabIndex = 0; + this.tbclockicon.TabStop = false; + // + // tbclocktext + // + this.tbclocktext.Location = new System.Drawing.Point(0, 0); + this.tbclocktext.Name = "tbclocktext"; + this.tbclocktext.Size = new System.Drawing.Size(100, 23); + this.tbclocktext.TabIndex = 0; + // + // tbsysinfoicon + // + this.tbsysinfoicon.Location = new System.Drawing.Point(0, 0); + this.tbsysinfoicon.Name = "tbsysinfoicon"; + this.tbsysinfoicon.Size = new System.Drawing.Size(100, 50); + this.tbsysinfoicon.TabIndex = 0; + this.tbsysinfoicon.TabStop = false; + // + // tbsysinfotext + // + this.tbsysinfotext.Location = new System.Drawing.Point(0, 0); + this.tbsysinfotext.Name = "tbsysinfotext"; + this.tbsysinfotext.Size = new System.Drawing.Size(100, 23); + this.tbsysinfotext.TabIndex = 0; + // + // tbskinloadericon + // + this.tbskinloadericon.Location = new System.Drawing.Point(0, 0); + this.tbskinloadericon.Name = "tbskinloadericon"; + this.tbskinloadericon.Size = new System.Drawing.Size(100, 50); + this.tbskinloadericon.TabIndex = 0; + this.tbskinloadericon.TabStop = false; + // + // tbskinloadertext + // + this.tbskinloadertext.Location = new System.Drawing.Point(0, 0); + this.tbskinloadertext.Name = "tbskinloadertext"; + this.tbskinloadertext.Size = new System.Drawing.Size(100, 23); + this.tbskinloadertext.TabIndex = 0; + // + // tbfileskimmericon + // + this.tbfileskimmericon.Location = new System.Drawing.Point(0, 0); + this.tbfileskimmericon.Name = "tbfileskimmericon"; + this.tbfileskimmericon.Size = new System.Drawing.Size(100, 50); + this.tbfileskimmericon.TabIndex = 0; + this.tbfileskimmericon.TabStop = false; + // + // tbfileskimmertext + // + this.tbfileskimmertext.Location = new System.Drawing.Point(0, 0); + this.tbfileskimmertext.Name = "tbfileskimmertext"; + this.tbfileskimmertext.Size = new System.Drawing.Size(100, 23); + this.tbfileskimmertext.TabIndex = 0; + // + // tbfileopenericon + // + this.tbfileopenericon.Location = new System.Drawing.Point(0, 0); + this.tbfileopenericon.Name = "tbfileopenericon"; + this.tbfileopenericon.Size = new System.Drawing.Size(100, 50); + this.tbfileopenericon.TabIndex = 0; + this.tbfileopenericon.TabStop = false; + // + // tbfileopenertext + // + this.tbfileopenertext.Location = new System.Drawing.Point(0, 0); + this.tbfileopenertext.Name = "tbfileopenertext"; + this.tbfileopenertext.Size = new System.Drawing.Size(100, 23); + this.tbfileopenertext.TabIndex = 0; + // + // tbinfoboxicon + // + this.tbinfoboxicon.Location = new System.Drawing.Point(0, 0); + this.tbinfoboxicon.Name = "tbinfoboxicon"; + this.tbinfoboxicon.Size = new System.Drawing.Size(100, 50); + this.tbinfoboxicon.TabIndex = 0; + this.tbinfoboxicon.TabStop = false; + // + // tbinfoboxtext + // + this.tbinfoboxtext.Location = new System.Drawing.Point(0, 0); + this.tbinfoboxtext.Name = "tbinfoboxtext"; + this.tbinfoboxtext.Size = new System.Drawing.Size(100, 23); + this.tbinfoboxtext.TabIndex = 0; + // + // tbknowledgeinputicon + // + this.tbknowledgeinputicon.Location = new System.Drawing.Point(0, 0); + this.tbknowledgeinputicon.Name = "tbknowledgeinputicon"; + this.tbknowledgeinputicon.Size = new System.Drawing.Size(100, 50); + this.tbknowledgeinputicon.TabIndex = 0; + this.tbknowledgeinputicon.TabStop = false; + // + // tbknowledgeinputtext + // + this.tbknowledgeinputtext.Location = new System.Drawing.Point(0, 0); + this.tbknowledgeinputtext.Name = "tbknowledgeinputtext"; + this.tbknowledgeinputtext.Size = new System.Drawing.Size(100, 23); + this.tbknowledgeinputtext.TabIndex = 0; + // + // tbcolourpickericon + // + this.tbcolourpickericon.Location = new System.Drawing.Point(0, 0); + this.tbcolourpickericon.Name = "tbcolourpickericon"; + this.tbcolourpickericon.Size = new System.Drawing.Size(100, 50); + this.tbcolourpickericon.TabIndex = 0; + this.tbcolourpickericon.TabStop = false; + // + // tbcolourpickertext + // + this.tbcolourpickertext.Location = new System.Drawing.Point(0, 0); + this.tbcolourpickertext.Name = "tbcolourpickertext"; + this.tbcolourpickertext.Size = new System.Drawing.Size(100, 23); + this.tbcolourpickertext.TabIndex = 0; + // + // tbshiftoriumicon + // + this.tbshiftoriumicon.Location = new System.Drawing.Point(0, 0); + this.tbshiftoriumicon.Name = "tbshiftoriumicon"; + this.tbshiftoriumicon.Size = new System.Drawing.Size(100, 50); + this.tbshiftoriumicon.TabIndex = 0; + this.tbshiftoriumicon.TabStop = false; + // + // tbshiftoriumtext + // + this.tbshiftoriumtext.Location = new System.Drawing.Point(0, 0); + this.tbshiftoriumtext.Name = "tbshiftoriumtext"; + this.tbshiftoriumtext.Size = new System.Drawing.Size(100, 23); + this.tbshiftoriumtext.TabIndex = 0; + // + // tbpongicon + // + this.tbpongicon.Location = new System.Drawing.Point(0, 0); + this.tbpongicon.Name = "tbpongicon"; + this.tbpongicon.Size = new System.Drawing.Size(100, 50); + this.tbpongicon.TabIndex = 0; + this.tbpongicon.TabStop = false; + // + // tbpongtext + // + this.tbpongtext.Location = new System.Drawing.Point(0, 0); + this.tbpongtext.Name = "tbpongtext"; + this.tbpongtext.Size = new System.Drawing.Size(100, 23); + this.tbpongtext.TabIndex = 0; + // + // tbterminalicon + // + this.tbterminalicon.Location = new System.Drawing.Point(0, 0); + this.tbterminalicon.Name = "tbterminalicon"; + this.tbterminalicon.Size = new System.Drawing.Size(100, 50); + this.tbterminalicon.TabIndex = 0; + this.tbterminalicon.TabStop = false; + // + // tbterminaltext + // + this.tbterminaltext.Location = new System.Drawing.Point(0, 0); + this.tbterminaltext.Name = "tbterminaltext"; + this.tbterminaltext.Size = new System.Drawing.Size(100, 23); + this.tbterminaltext.TabIndex = 0; + // + // tbtextpadicon + // + this.tbtextpadicon.Location = new System.Drawing.Point(0, 0); + this.tbtextpadicon.Name = "tbtextpadicon"; + this.tbtextpadicon.Size = new System.Drawing.Size(100, 50); + this.tbtextpadicon.TabIndex = 0; + this.tbtextpadicon.TabStop = false; + // + // tbtextpadtext + // + this.tbtextpadtext.Location = new System.Drawing.Point(0, 0); + this.tbtextpadtext.Name = "tbtextpadtext"; + this.tbtextpadtext.Size = new System.Drawing.Size(100, 23); + this.tbtextpadtext.TabIndex = 0; + // + // tbgraphicpickericon + // + this.tbgraphicpickericon.Location = new System.Drawing.Point(0, 0); + this.tbgraphicpickericon.Name = "tbgraphicpickericon"; + this.tbgraphicpickericon.Size = new System.Drawing.Size(100, 50); + this.tbgraphicpickericon.TabIndex = 0; + this.tbgraphicpickericon.TabStop = false; + // + // tbgraphicpickertext + // + this.tbgraphicpickertext.Location = new System.Drawing.Point(0, 0); + this.tbgraphicpickertext.Name = "tbgraphicpickertext"; + this.tbgraphicpickertext.Size = new System.Drawing.Size(100, 23); + this.tbgraphicpickertext.TabIndex = 0; + // + // tbartpadicon + // + this.tbartpadicon.Location = new System.Drawing.Point(0, 0); + this.tbartpadicon.Name = "tbartpadicon"; + this.tbartpadicon.Size = new System.Drawing.Size(100, 50); + this.tbartpadicon.TabIndex = 0; + this.tbartpadicon.TabStop = false; + // + // tbartpadtext + // + this.tbartpadtext.Location = new System.Drawing.Point(0, 0); + this.tbartpadtext.Name = "tbartpadtext"; + this.tbartpadtext.Size = new System.Drawing.Size(100, 23); + this.tbartpadtext.TabIndex = 0; + // + // tbcalculatoricon + // + this.tbcalculatoricon.Location = new System.Drawing.Point(0, 0); + this.tbcalculatoricon.Name = "tbcalculatoricon"; + this.tbcalculatoricon.Size = new System.Drawing.Size(100, 50); + this.tbcalculatoricon.TabIndex = 0; + this.tbcalculatoricon.TabStop = false; + // + // tbcalculatortext + // + this.tbcalculatortext.Location = new System.Drawing.Point(0, 0); + this.tbcalculatortext.Name = "tbcalculatortext"; + this.tbcalculatortext.Size = new System.Drawing.Size(100, 23); + this.tbcalculatortext.TabIndex = 0; + // + // tbaudioplayericon + // + this.tbaudioplayericon.Location = new System.Drawing.Point(0, 0); + this.tbaudioplayericon.Name = "tbaudioplayericon"; + this.tbaudioplayericon.Size = new System.Drawing.Size(100, 50); + this.tbaudioplayericon.TabIndex = 0; + this.tbaudioplayericon.TabStop = false; + // + // tbaudioplayertext + // + this.tbaudioplayertext.Location = new System.Drawing.Point(0, 0); + this.tbaudioplayertext.Name = "tbaudioplayertext"; + this.tbaudioplayertext.Size = new System.Drawing.Size(100, 23); + this.tbaudioplayertext.TabIndex = 0; + // + // tbvideoplayericon + // + this.tbvideoplayericon.Location = new System.Drawing.Point(0, 0); + this.tbvideoplayericon.Name = "tbvideoplayericon"; + this.tbvideoplayericon.Size = new System.Drawing.Size(100, 50); + this.tbvideoplayericon.TabIndex = 0; + this.tbvideoplayericon.TabStop = false; + // + // tbvideoplayertext + // + this.tbvideoplayertext.Location = new System.Drawing.Point(0, 0); + this.tbvideoplayertext.Name = "tbvideoplayertext"; + this.tbvideoplayertext.Size = new System.Drawing.Size(100, 23); + this.tbvideoplayertext.TabIndex = 0; + // + // tbwebbrowsericon + // + this.tbwebbrowsericon.Location = new System.Drawing.Point(0, 0); + this.tbwebbrowsericon.Name = "tbwebbrowsericon"; + this.tbwebbrowsericon.Size = new System.Drawing.Size(100, 50); + this.tbwebbrowsericon.TabIndex = 0; + this.tbwebbrowsericon.TabStop = false; + // + // tbwebbrowsertext + // + this.tbwebbrowsertext.Location = new System.Drawing.Point(0, 0); + this.tbwebbrowsertext.Name = "tbwebbrowsertext"; + this.tbwebbrowsertext.Size = new System.Drawing.Size(100, 23); + this.tbwebbrowsertext.TabIndex = 0; + // + // tbnamechangericon + // + this.tbnamechangericon.Location = new System.Drawing.Point(0, 0); + this.tbnamechangericon.Name = "tbnamechangericon"; + this.tbnamechangericon.Size = new System.Drawing.Size(100, 50); + this.tbnamechangericon.TabIndex = 0; + this.tbnamechangericon.TabStop = false; + // + // tbnamechangertext + // + this.tbnamechangertext.Location = new System.Drawing.Point(0, 0); + this.tbnamechangertext.Name = "tbnamechangertext"; + this.tbnamechangertext.Size = new System.Drawing.Size(100, 23); + this.tbnamechangertext.TabIndex = 0; + // + // tbiconmanagericon + // + this.tbiconmanagericon.Location = new System.Drawing.Point(0, 0); + this.tbiconmanagericon.Name = "tbiconmanagericon"; + this.tbiconmanagericon.Size = new System.Drawing.Size(100, 50); + this.tbiconmanagericon.TabIndex = 0; + this.tbiconmanagericon.TabStop = false; + // + // tbiconmanagertext + // + this.tbiconmanagertext.Location = new System.Drawing.Point(0, 0); + this.tbiconmanagertext.Name = "tbiconmanagertext"; + this.tbiconmanagertext.Size = new System.Drawing.Size(100, 23); + this.tbiconmanagertext.TabIndex = 0; + // + // tbbitnotewalleticon + // + this.tbbitnotewalleticon.Location = new System.Drawing.Point(0, 0); + this.tbbitnotewalleticon.Name = "tbbitnotewalleticon"; + this.tbbitnotewalleticon.Size = new System.Drawing.Size(100, 50); + this.tbbitnotewalleticon.TabIndex = 0; + this.tbbitnotewalleticon.TabStop = false; + // + // tbbitnotewallettext + // + this.tbbitnotewallettext.Location = new System.Drawing.Point(0, 0); + this.tbbitnotewallettext.Name = "tbbitnotewallettext"; + this.tbbitnotewallettext.Size = new System.Drawing.Size(100, 23); + this.tbbitnotewallettext.TabIndex = 0; + // + // tbbitnotediggericon + // + this.tbbitnotediggericon.Location = new System.Drawing.Point(0, 0); + this.tbbitnotediggericon.Name = "tbbitnotediggericon"; + this.tbbitnotediggericon.Size = new System.Drawing.Size(100, 50); + this.tbbitnotediggericon.TabIndex = 0; + this.tbbitnotediggericon.TabStop = false; + // + // tbbitnotediggertext + // + this.tbbitnotediggertext.Location = new System.Drawing.Point(0, 0); + this.tbbitnotediggertext.Name = "tbbitnotediggertext"; + this.tbbitnotediggertext.Size = new System.Drawing.Size(100, 23); + this.tbbitnotediggertext.TabIndex = 0; + // + // tbskinshiftericon + // + this.tbskinshiftericon.Location = new System.Drawing.Point(0, 0); + this.tbskinshiftericon.Name = "tbskinshiftericon"; + this.tbskinshiftericon.Size = new System.Drawing.Size(100, 50); + this.tbskinshiftericon.TabIndex = 0; + this.tbskinshiftericon.TabStop = false; + // + // tbskinshiftertext + // + this.tbskinshiftertext.Location = new System.Drawing.Point(0, 0); + this.tbskinshiftertext.Name = "tbskinshiftertext"; + this.tbskinshiftertext.Size = new System.Drawing.Size(100, 23); + this.tbskinshiftertext.TabIndex = 0; + // + // tbdownloadericon + // + this.tbdownloadericon.Location = new System.Drawing.Point(0, 0); + this.tbdownloadericon.Name = "tbdownloadericon"; + this.tbdownloadericon.Size = new System.Drawing.Size(100, 50); + this.tbdownloadericon.TabIndex = 0; + this.tbdownloadericon.TabStop = false; + // + // tbdownloadertext + // + this.tbdownloadertext.Location = new System.Drawing.Point(0, 0); + this.tbdownloadertext.Name = "tbdownloadertext"; + this.tbdownloadertext.Size = new System.Drawing.Size(100, 23); + this.tbdownloadertext.TabIndex = 0; + // + // tbshiftneticon + // + this.tbshiftneticon.Location = new System.Drawing.Point(0, 0); + this.tbshiftneticon.Name = "tbshiftneticon"; + this.tbshiftneticon.Size = new System.Drawing.Size(100, 50); + this.tbshiftneticon.TabIndex = 0; + this.tbshiftneticon.TabStop = false; + // + // tbshiftnettext + // + this.tbshiftnettext.Location = new System.Drawing.Point(0, 0); + this.tbshiftnettext.Name = "tbshiftnettext"; + this.tbshiftnettext.Size = new System.Drawing.Size(100, 23); + this.tbshiftnettext.TabIndex = 0; + // + // tbdodgeicon + // + this.tbdodgeicon.Location = new System.Drawing.Point(0, 0); + this.tbdodgeicon.Name = "tbdodgeicon"; + this.tbdodgeicon.Size = new System.Drawing.Size(100, 50); + this.tbdodgeicon.TabIndex = 0; + this.tbdodgeicon.TabStop = false; + // + // tbdodgetext + // + this.tbdodgetext.Location = new System.Drawing.Point(0, 0); + this.tbdodgetext.Name = "tbdodgetext"; + this.tbdodgetext.Size = new System.Drawing.Size(100, 23); + this.tbdodgetext.TabIndex = 0; + // + // tbdownloadmanagericon + // + this.tbdownloadmanagericon.Location = new System.Drawing.Point(0, 0); + this.tbdownloadmanagericon.Name = "tbdownloadmanagericon"; + this.tbdownloadmanagericon.Size = new System.Drawing.Size(100, 50); + this.tbdownloadmanagericon.TabIndex = 0; + this.tbdownloadmanagericon.TabStop = false; + // + // tbdownloadmanagertext + // + this.tbdownloadmanagertext.Location = new System.Drawing.Point(0, 0); + this.tbdownloadmanagertext.Name = "tbdownloadmanagertext"; + this.tbdownloadmanagertext.Size = new System.Drawing.Size(100, 23); + this.tbdownloadmanagertext.TabIndex = 0; + // + // tbcatalysticon + // + this.tbcatalysticon.Location = new System.Drawing.Point(0, 0); + this.tbcatalysticon.Name = "tbcatalysticon"; + this.tbcatalysticon.Size = new System.Drawing.Size(100, 50); + this.tbcatalysticon.TabIndex = 0; + this.tbcatalysticon.TabStop = false; + // + // lbcatalystname + // + this.lbcatalystname.Location = new System.Drawing.Point(0, 0); + this.lbcatalystname.Name = "lbcatalystname"; + this.lbcatalystname.Size = new System.Drawing.Size(100, 23); + this.lbcatalystname.TabIndex = 0; + // + // tbinstallericon + // + this.tbinstallericon.Location = new System.Drawing.Point(0, 0); + this.tbinstallericon.Name = "tbinstallericon"; + this.tbinstallericon.Size = new System.Drawing.Size(100, 50); + this.tbinstallericon.TabIndex = 0; + this.tbinstallericon.TabStop = false; + // + // tbinstallertext + // + this.tbinstallertext.Location = new System.Drawing.Point(0, 0); + this.tbinstallertext.Name = "tbinstallertext"; + this.tbinstallertext.Size = new System.Drawing.Size(100, 23); + this.tbinstallertext.TabIndex = 0; + // + // tbsnakeyicon + // + this.tbsnakeyicon.Location = new System.Drawing.Point(0, 0); + this.tbsnakeyicon.Name = "tbsnakeyicon"; + this.tbsnakeyicon.Size = new System.Drawing.Size(100, 50); + this.tbsnakeyicon.TabIndex = 0; + this.tbsnakeyicon.TabStop = false; + // + // tbsnakeytext + // + this.tbsnakeytext.Location = new System.Drawing.Point(0, 0); + this.tbsnakeytext.Name = "tbsnakeytext"; + this.tbsnakeytext.Size = new System.Drawing.Size(100, 23); + this.tbsnakeytext.TabIndex = 0; + // + // tborcwriteicon + // + this.tborcwriteicon.Location = new System.Drawing.Point(0, 0); + this.tborcwriteicon.Name = "tborcwriteicon"; + this.tborcwriteicon.Size = new System.Drawing.Size(100, 50); + this.tborcwriteicon.TabIndex = 0; + this.tborcwriteicon.TabStop = false; + // + // tborcwritetext + // + this.tborcwritetext.Location = new System.Drawing.Point(0, 0); + this.tborcwritetext.Name = "tborcwritetext"; + this.tborcwritetext.Size = new System.Drawing.Size(100, 23); + this.tborcwritetext.TabIndex = 0; + // + // tbfloodgateicon + // + this.tbfloodgateicon.Location = new System.Drawing.Point(0, 0); + this.tbfloodgateicon.Name = "tbfloodgateicon"; + this.tbfloodgateicon.Size = new System.Drawing.Size(100, 50); + this.tbfloodgateicon.TabIndex = 0; + this.tbfloodgateicon.TabStop = false; + // + // tbfloodgatetext + // + this.tbfloodgatetext.Location = new System.Drawing.Point(0, 0); + this.tbfloodgatetext.Name = "tbfloodgatetext"; + this.tbfloodgatetext.Size = new System.Drawing.Size(100, 23); + this.tbfloodgatetext.TabIndex = 0; + // + // tbmazeicon + // + this.tbmazeicon.Location = new System.Drawing.Point(0, 0); + this.tbmazeicon.Name = "tbmazeicon"; + this.tbmazeicon.Size = new System.Drawing.Size(100, 50); + this.tbmazeicon.TabIndex = 0; + this.tbmazeicon.TabStop = false; + // + // tbmazetext + // + this.tbmazetext.Location = new System.Drawing.Point(0, 0); + this.tbmazetext.Name = "tbmazetext"; + this.tbmazetext.Size = new System.Drawing.Size(100, 23); + this.tbmazetext.TabIndex = 0; + // + // tbvirusscannericon + // + this.tbvirusscannericon.Location = new System.Drawing.Point(0, 0); + this.tbvirusscannericon.Name = "tbvirusscannericon"; + this.tbvirusscannericon.Size = new System.Drawing.Size(100, 50); + this.tbvirusscannericon.TabIndex = 0; + this.tbvirusscannericon.TabStop = false; + // + // tbvirusscannertext + // + this.tbvirusscannertext.Location = new System.Drawing.Point(0, 0); + this.tbvirusscannertext.Name = "tbvirusscannertext"; + this.tbvirusscannertext.Size = new System.Drawing.Size(100, 23); + this.tbvirusscannertext.TabIndex = 0; + // + // tbfilesavericon + // + this.tbfilesavericon.Location = new System.Drawing.Point(0, 0); + this.tbfilesavericon.Name = "tbfilesavericon"; + this.tbfilesavericon.Size = new System.Drawing.Size(100, 50); + this.tbfilesavericon.TabIndex = 0; + this.tbfilesavericon.TabStop = false; + // + // tbfilesavertext + // + this.tbfilesavertext.Location = new System.Drawing.Point(0, 0); + this.tbfilesavertext.Name = "tbfilesavertext"; + this.tbfilesavertext.Size = new System.Drawing.Size(100, 23); + this.tbfilesavertext.TabIndex = 0; + // + // tbshiftericon + // + this.tbshiftericon.Location = new System.Drawing.Point(0, 0); + this.tbshiftericon.Name = "tbshiftericon"; + this.tbshiftericon.Size = new System.Drawing.Size(100, 50); + this.tbshiftericon.TabIndex = 0; + this.tbshiftericon.TabStop = false; + // + // tbshiftertext + // + this.tbshiftertext.Location = new System.Drawing.Point(0, 0); + this.tbshiftertext.Name = "tbshiftertext"; + this.tbshiftertext.Size = new System.Drawing.Size(100, 23); + this.tbshiftertext.TabIndex = 0; + // + // pnlpanelbuttonfloatybird + // + this.pnlpanelbuttonfloatybird.BackColor = System.Drawing.Color.Black; + this.pnlpanelbuttonfloatybird.Controls.Add(this.tbfloatybirdicon); + this.pnlpanelbuttonfloatybird.Controls.Add(this.tbfloatybirdtext); + this.pnlpanelbuttonfloatybird.Location = new System.Drawing.Point(5, 29); + this.pnlpanelbuttonfloatybird.Name = "pnlpanelbuttonfloatybird"; + this.pnlpanelbuttonfloatybird.Size = new System.Drawing.Size(52, 20); + this.pnlpanelbuttonfloatybird.TabIndex = 31; + this.pnlpanelbuttonfloatybird.Visible = false; + // + // tbfloatybirdicon + // + this.tbfloatybirdicon.BackColor = System.Drawing.Color.Transparent; + this.tbfloatybirdicon.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.tbfloatybirdicon.Location = new System.Drawing.Point(4, 2); + this.tbfloatybirdicon.Name = "tbfloatybirdicon"; + this.tbfloatybirdicon.Size = new System.Drawing.Size(16, 16); + this.tbfloatybirdicon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.tbfloatybirdicon.TabIndex = 1; + this.tbfloatybirdicon.TabStop = false; + // + // tbfloatybirdtext + // + this.tbfloatybirdtext.AutoSize = true; + this.tbfloatybirdtext.BackColor = System.Drawing.Color.Transparent; + this.tbfloatybirdtext.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tbfloatybirdtext.ForeColor = System.Drawing.Color.White; + this.tbfloatybirdtext.Location = new System.Drawing.Point(24, 2); + this.tbfloatybirdtext.Name = "tbfloatybirdtext"; + this.tbfloatybirdtext.Size = new System.Drawing.Size(45, 16); + this.tbfloatybirdtext.TabIndex = 0; + this.tbfloatybirdtext.Text = "Shifter"; + // + // floatybirdToolStripMenuItem + // + this.floatybirdToolStripMenuItem.Name = "floatybirdToolStripMenuItem"; + this.floatybirdToolStripMenuItem.Size = new System.Drawing.Size(214, 22); + this.floatybirdToolStripMenuItem.Text = "Floaty Bird"; + // + // clocktick + // + this.clocktick.Enabled = true; + this.clocktick.Interval = 1000; + this.clocktick.Tick += new System.EventHandler(this.clocktick_Tick); + // + // autosave + // + this.autosave.Enabled = true; + this.autosave.Interval = 60000; + // + // cmbdesktopoptions + // + this.cmbdesktopoptions.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.NewToolStripMenuItem, + this.addDesktopPanelToolStripMenuItem, + this.widgetManagerToolStripMenuItem}); + this.cmbdesktopoptions.Name = "ContextMenuStrip1"; + this.cmbdesktopoptions.Size = new System.Drawing.Size(175, 70); + // + // NewToolStripMenuItem + // + this.NewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.FolderToolStripMenuItem, + this.ToolStripMenuItem2, + this.ArtpadPictureToolStripMenuItem, + this.TextDocumentToolStripMenuItem, + this.NewSkin, + this.WebpageToolStripMenuItem, + this.ShortcutToolStripMenuItem, + this.scriptToolStripMenuItem}); + this.NewToolStripMenuItem.Name = "NewToolStripMenuItem"; + this.NewToolStripMenuItem.Size = new System.Drawing.Size(174, 22); + this.NewToolStripMenuItem.Text = "New"; + // + // FolderToolStripMenuItem + // + this.FolderToolStripMenuItem.Name = "FolderToolStripMenuItem"; + this.FolderToolStripMenuItem.Size = new System.Drawing.Size(155, 22); + this.FolderToolStripMenuItem.Text = "Folder"; + this.FolderToolStripMenuItem.Click += new System.EventHandler(this.FolderToolStripMenuItem_Click); + // + // ToolStripMenuItem2 + // + this.ToolStripMenuItem2.Name = "ToolStripMenuItem2"; + this.ToolStripMenuItem2.Size = new System.Drawing.Size(152, 6); + // + // ArtpadPictureToolStripMenuItem + // + this.ArtpadPictureToolStripMenuItem.Name = "ArtpadPictureToolStripMenuItem"; + this.ArtpadPictureToolStripMenuItem.Size = new System.Drawing.Size(155, 22); + this.ArtpadPictureToolStripMenuItem.Text = "Artpad Picture"; + // + // TextDocumentToolStripMenuItem + // + this.TextDocumentToolStripMenuItem.Name = "TextDocumentToolStripMenuItem"; + this.TextDocumentToolStripMenuItem.Size = new System.Drawing.Size(155, 22); + this.TextDocumentToolStripMenuItem.Text = "Text Document"; + this.TextDocumentToolStripMenuItem.Click += new System.EventHandler(this.TextDocumentToolStripMenuItem_Click); + // + // NewSkin + // + this.NewSkin.Name = "NewSkin"; + this.NewSkin.Size = new System.Drawing.Size(155, 22); + this.NewSkin.Text = "Skin"; + this.NewSkin.Click += new System.EventHandler(this.NewSkin_Click); + // + // WebpageToolStripMenuItem + // + this.WebpageToolStripMenuItem.Name = "WebpageToolStripMenuItem"; + this.WebpageToolStripMenuItem.Size = new System.Drawing.Size(152, 6); + this.WebpageToolStripMenuItem.Visible = false; + // + // ShortcutToolStripMenuItem + // + this.ShortcutToolStripMenuItem.Name = "ShortcutToolStripMenuItem"; + this.ShortcutToolStripMenuItem.Size = new System.Drawing.Size(155, 22); + this.ShortcutToolStripMenuItem.Text = "Shortcut"; + this.ShortcutToolStripMenuItem.Visible = false; + // + // scriptToolStripMenuItem + // + this.scriptToolStripMenuItem.Name = "scriptToolStripMenuItem"; + this.scriptToolStripMenuItem.ShowShortcutKeys = false; + this.scriptToolStripMenuItem.Size = new System.Drawing.Size(155, 22); + this.scriptToolStripMenuItem.Text = "Script"; + this.scriptToolStripMenuItem.Click += new System.EventHandler(this.scriptToolStripMenuItem_Click); + // + // addDesktopPanelToolStripMenuItem + // + this.addDesktopPanelToolStripMenuItem.Name = "addDesktopPanelToolStripMenuItem"; + this.addDesktopPanelToolStripMenuItem.Size = new System.Drawing.Size(174, 22); + this.addDesktopPanelToolStripMenuItem.Text = "Add Desktop Panel"; + this.addDesktopPanelToolStripMenuItem.Click += new System.EventHandler(this.addDesktopPanelToolStripMenuItem_Click); + // + // widgetManagerToolStripMenuItem + // + this.widgetManagerToolStripMenuItem.Name = "widgetManagerToolStripMenuItem"; + this.widgetManagerToolStripMenuItem.Size = new System.Drawing.Size(174, 22); + this.widgetManagerToolStripMenuItem.Text = "Widget Manager"; + this.widgetManagerToolStripMenuItem.Click += new System.EventHandler(this.widgetManagerToolStripMenuItem_Click); + // + // imgshiftnetapps + // + this.imgshiftnetapps.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit; + this.imgshiftnetapps.ImageSize = new System.Drawing.Size(16, 16); + this.imgshiftnetapps.TransparentColor = System.Drawing.Color.Transparent; + // + // lbldebug + // + this.lbldebug.BackColor = System.Drawing.Color.Gray; + this.lbldebug.ForeColor = System.Drawing.Color.White; + this.lbldebug.Location = new System.Drawing.Point(12, 583); + this.lbldebug.Name = "lbldebug"; + this.lbldebug.Size = new System.Drawing.Size(178, 93); + this.lbldebug.TabIndex = 1; + this.lbldebug.Text = " == DEBUG INFO ===\r\nShiftOS version: 0.1.0\r\nExecution Folder: /bib/Debug\r\nSave Di" + + "rectory On Disk: C:\\ShiftOS\r\nDevMode: TRUE\r\nRunning Mods: 0\r\nCodepoints: 0"; + // + // lblog + // + this.lblog.BackColor = System.Drawing.Color.Gray; + this.lblog.Font = new System.Drawing.Font("Lucida Console", 8.25F); + this.lblog.ForeColor = System.Drawing.Color.White; + this.lblog.Location = new System.Drawing.Point(797, 432); + this.lblog.Name = "lblog"; + this.lblog.Size = new System.Drawing.Size(459, 244); + this.lblog.TabIndex = 2; + this.lblog.Text = " == DEBUG INFO ===\r\nShiftOS version: 0.1.0\r\nExecution Folder: /bib/Debug\r\nSave Di" + + "rectory On Disk: C:\\ShiftOS\r\nDevMode: TRUE\r\nRunning Mods: 0\r\nCodepoints: 0"; + // + // flicons + // + this.flicons.BackColor = System.Drawing.Color.Transparent; + this.flicons.Dock = System.Windows.Forms.DockStyle.Fill; + this.flicons.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; + this.flicons.Location = new System.Drawing.Point(0, 24); + this.flicons.Name = "flicons"; + this.flicons.Size = new System.Drawing.Size(1268, 661); + this.flicons.TabIndex = 3; + // + // cmbfactions + // + this.cmbfactions.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.deleteToolStripMenuItem}); + this.cmbfactions.Name = "cmbfactions"; + this.cmbfactions.Size = new System.Drawing.Size(108, 26); + // + // deleteToolStripMenuItem + // + this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem"; + this.deleteToolStripMenuItem.Size = new System.Drawing.Size(107, 22); + this.deleteToolStripMenuItem.Text = "Delete"; + this.deleteToolStripMenuItem.Click += new System.EventHandler(this.deleteToolStripMenuItem_Click); + // + // cbwidget + // + this.cbwidget.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.wlocmenu}); + this.cbwidget.Name = "cbwidget"; + this.cbwidget.Size = new System.Drawing.Size(121, 26); + // + // wlocmenu + // + this.wlocmenu.Name = "wlocmenu"; + this.wlocmenu.Size = new System.Drawing.Size(120, 22); + this.wlocmenu.Text = "Location"; + // + // cbdpanel + // + this.cbdpanel.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripMenuItem3, + this.optionsToolStripMenuItem, + this.placeHereToolStripMenuItem}); + this.cbdpanel.Name = "cbwidget"; + this.cbdpanel.Size = new System.Drawing.Size(175, 70); + // + // toolStripMenuItem3 + // + this.toolStripMenuItem3.Name = "toolStripMenuItem3"; + this.toolStripMenuItem3.Size = new System.Drawing.Size(174, 22); + this.toolStripMenuItem3.Text = "Remove This Panel"; + this.toolStripMenuItem3.Click += new System.EventHandler(this.toolStripMenuItem3_Click); + // + // optionsToolStripMenuItem + // + this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem"; + this.optionsToolStripMenuItem.Size = new System.Drawing.Size(174, 22); + this.optionsToolStripMenuItem.Text = "Options"; + this.optionsToolStripMenuItem.Click += new System.EventHandler(this.optionsToolStripMenuItem_Click); + // + // placeHereToolStripMenuItem + // + this.placeHereToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.appLauncherToolStripMenuItem, + this.panelButtonsToolStripMenuItem, + this.clockToolStripMenuItem1}); + this.placeHereToolStripMenuItem.Name = "placeHereToolStripMenuItem"; + this.placeHereToolStripMenuItem.Size = new System.Drawing.Size(174, 22); + this.placeHereToolStripMenuItem.Text = "Place here..."; + // + // appLauncherToolStripMenuItem + // + this.appLauncherToolStripMenuItem.Name = "appLauncherToolStripMenuItem"; + this.appLauncherToolStripMenuItem.Size = new System.Drawing.Size(148, 22); + this.appLauncherToolStripMenuItem.Text = "App Launcher"; + this.appLauncherToolStripMenuItem.Click += new System.EventHandler(this.appLauncherToolStripMenuItem_Click); + // + // panelButtonsToolStripMenuItem + // + this.panelButtonsToolStripMenuItem.Name = "panelButtonsToolStripMenuItem"; + this.panelButtonsToolStripMenuItem.Size = new System.Drawing.Size(148, 22); + this.panelButtonsToolStripMenuItem.Text = "Panel Buttons"; + this.panelButtonsToolStripMenuItem.Click += new System.EventHandler(this.panelButtonsToolStripMenuItem_Click); + // + // clockToolStripMenuItem1 + // + this.clockToolStripMenuItem1.Name = "clockToolStripMenuItem1"; + this.clockToolStripMenuItem1.Size = new System.Drawing.Size(148, 22); + this.clockToolStripMenuItem1.Text = "Clock"; + this.clockToolStripMenuItem1.Click += new System.EventHandler(this.clockToolStripMenuItem1_Click); + // + // ShiftOSDesktop + // + 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(1268, 685); + this.Controls.Add(this.flicons); + this.Controls.Add(this.lblog); + this.Controls.Add(this.lbldebug); + this.Controls.Add(this.desktoppanel); + this.KeyPreview = true; + this.MainMenuStrip = this.desktopappmenu; + this.Name = "ShiftOSDesktop"; + this.Text = "ShiftOSDesktop"; + this.Load += new System.EventHandler(this.ShiftOSDesktop_Load); + this.desktoppanel.ResumeLayout(false); + this.desktoppanel.PerformLayout(); + this.applaunchermenuholder.ResumeLayout(false); + this.desktopappmenu.ResumeLayout(false); + this.desktopappmenu.PerformLayout(); + this.timepanel.ResumeLayout(false); + this.timepanel.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.tbclockicon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbsysinfoicon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbskinloadericon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbfileskimmericon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbfileopenericon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbinfoboxicon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbknowledgeinputicon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbcolourpickericon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbshiftoriumicon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbpongicon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbterminalicon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbtextpadicon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbgraphicpickericon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbartpadicon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbcalculatoricon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbaudioplayericon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbvideoplayericon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbwebbrowsericon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbnamechangericon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbiconmanagericon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbbitnotewalleticon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbbitnotediggericon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbskinshiftericon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbdownloadericon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbshiftneticon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbdodgeicon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbdownloadmanagericon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbcatalysticon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbinstallericon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbsnakeyicon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tborcwriteicon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbfloodgateicon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbmazeicon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbvirusscannericon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbfilesavericon)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tbshiftericon)).EndInit(); + this.pnlpanelbuttonfloatybird.ResumeLayout(false); + this.pnlpanelbuttonfloatybird.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.tbfloatybirdicon)).EndInit(); + this.cmbdesktopoptions.ResumeLayout(false); + this.cmbfactions.ResumeLayout(false); + this.cbwidget.ResumeLayout(false); + this.cbdpanel.ResumeLayout(false); + this.ResumeLayout(false); + + } + internal System.Windows.Forms.MenuStrip desktopappmenu; + internal System.Windows.Forms.ToolStripMenuItem KnowledgeInputToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ShiftoriumToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ClockToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem TerminalToolStripMenuItem; + internal System.Windows.Forms.ToolStripSeparator unitySeperator; + internal System.Windows.Forms.ToolStripMenuItem ShutdownToolStripMenuItem; + internal System.Windows.Forms.Label paneltimetext; + internal System.Windows.Forms.Timer clocktick; + internal System.Windows.Forms.Panel timepanel; + internal System.Windows.Forms.ToolStripMenuItem ShifterToolStripMenuItem; + internal System.Windows.Forms.Panel applaunchermenuholder; + internal System.Windows.Forms.ToolStripMenuItem PongToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem FileSkimmerToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem TextPadToolStripMenuItem; + internal System.Windows.Forms.Timer autosave; + internal System.Windows.Forms.ToolStripMenuItem SkinLoaderToolStripMenuItem; + internal System.Windows.Forms.PictureBox tbtextpadicon; + internal System.Windows.Forms.Label tbtextpadtext; + internal System.Windows.Forms.PictureBox tbclockicon; + internal System.Windows.Forms.Label tbclocktext; + internal System.Windows.Forms.PictureBox tbcolourpickericon; + internal System.Windows.Forms.Label tbcolourpickertext; + internal System.Windows.Forms.PictureBox tbgraphicpickericon; + internal System.Windows.Forms.Label tbgraphicpickertext; + internal System.Windows.Forms.PictureBox tbfileopenericon; + internal System.Windows.Forms.Label tbfileopenertext; + internal System.Windows.Forms.PictureBox tbfileskimmericon; + internal System.Windows.Forms.Label tbfileskimmertext; + internal System.Windows.Forms.PictureBox tbknowledgeinputicon; + internal System.Windows.Forms.Label tbknowledgeinputtext; + internal System.Windows.Forms.PictureBox tbinfoboxicon; + internal System.Windows.Forms.Label tbinfoboxtext; + internal System.Windows.Forms.PictureBox tbpongicon; + internal System.Windows.Forms.Label tbpongtext; + internal System.Windows.Forms.PictureBox tbshiftoriumicon; + internal System.Windows.Forms.Label tbshiftoriumtext; + internal System.Windows.Forms.PictureBox tbskinloadericon; + internal System.Windows.Forms.Label tbskinloadertext; + internal System.Windows.Forms.PictureBox tbterminalicon; + internal System.Windows.Forms.Label tbterminaltext; + internal System.Windows.Forms.FlowLayoutPanel pnlpanelbuttonholder; + internal System.Windows.Forms.PictureBox tbartpadicon; + internal System.Windows.Forms.Label tbartpadtext; + internal System.Windows.Forms.ToolStripMenuItem ArtpadToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem CalculatorToolStripMenuItem; + internal System.Windows.Forms.PictureBox tbcalculatoricon; + internal System.Windows.Forms.Label tbcalculatortext; + internal System.Windows.Forms.PictureBox tbaudioplayericon; + internal System.Windows.Forms.Label tbaudioplayertext; + internal System.Windows.Forms.ToolStripMenuItem AudioplayerToolStripMenuItem; + internal System.Windows.Forms.PictureBox tbwebbrowsericon; + internal System.Windows.Forms.Label tbwebbrowsertext; + internal System.Windows.Forms.ToolStripMenuItem WebBrowserToolStripMenuItem; + internal System.Windows.Forms.PictureBox tbvideoplayericon; + internal System.Windows.Forms.Label tbvideoplayertext; + internal System.Windows.Forms.ToolStripMenuItem VideoplayerToolStripMenuItem; + internal System.Windows.Forms.PictureBox tbnamechangericon; + internal System.Windows.Forms.Label tbnamechangertext; + internal System.Windows.Forms.ToolStripMenuItem NameChangerToolStripMenuItem; + internal System.Windows.Forms.PictureBox tbiconmanagericon; + internal System.Windows.Forms.Label tbiconmanagertext; + internal System.Windows.Forms.ToolStripMenuItem IconManagerToolStripMenuItem; + internal System.Windows.Forms.PictureBox tbbitnotewalleticon; + internal System.Windows.Forms.Label tbbitnotewallettext; + internal System.Windows.Forms.PictureBox tbbitnotediggericon; + internal System.Windows.Forms.Label tbbitnotediggertext; + internal System.Windows.Forms.ToolStripMenuItem BitnoteWalletToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem BitnoteDiggerToolStripMenuItem; + internal System.Windows.Forms.PictureBox tbskinshiftericon; + internal System.Windows.Forms.Label tbskinshiftertext; + internal System.Windows.Forms.ToolStripMenuItem SkinShifterToolStripMenuItem; + internal System.Windows.Forms.PictureBox tbshiftneticon; + internal System.Windows.Forms.Label tbshiftnettext; + internal System.Windows.Forms.PictureBox tbdownloadericon; + internal System.Windows.Forms.Label tbdownloadertext; + internal System.Windows.Forms.ToolStripMenuItem ShiftnetToolStripMenuItem; + internal System.Windows.Forms.PictureBox tbdodgeicon; + internal System.Windows.Forms.Label tbdodgetext; + internal System.Windows.Forms.ToolStripMenuItem DodgeToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem sysinfoToolStripMenuItem; + internal System.Windows.Forms.PictureBox tbdownloadmanagericon; + internal System.Windows.Forms.Label tbdownloadmanagertext; + internal System.Windows.Forms.PictureBox tbinstallericon; + internal System.Windows.Forms.Label tbinstallertext; + internal System.Windows.Forms.ToolStripMenuItem InstallerToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem downloadmanagerToolStripMenuItem; + internal System.Windows.Forms.PictureBox tbsnakeyicon; + internal System.Windows.Forms.Label tbsnakeytext; + internal System.Windows.Forms.PictureBox tborcwriteicon; + internal System.Windows.Forms.Label tborcwritetext; + internal System.Windows.Forms.ToolStripMenuItem orcwriteToolStripMenuItem; + internal System.Windows.Forms.PictureBox tbfloodgateicon; + internal System.Windows.Forms.Label tbfloodgatetext; + internal System.Windows.Forms.ToolStripMenuItem FloodGateToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem UnityToolStripMenuItem; + internal System.Windows.Forms.PictureBox tbsysinfoicon; + internal System.Windows.Forms.Label tbsysinfotext; + internal System.Windows.Forms.ToolStripMenuItem SnakeyToolStripMenuItem; + internal System.Windows.Forms.PictureBox tbmazeicon; + internal System.Windows.Forms.Label tbmazetext; + internal System.Windows.Forms.ToolStripMenuItem MazeToolStripMenuItem; + internal System.Windows.Forms.PictureBox tbvirusscannericon; + internal System.Windows.Forms.Label tbvirusscannertext; + internal System.Windows.Forms.ToolStripMenuItem VirusScannerToolStripMenuItem; + internal System.Windows.Forms.Timer nocheat; + internal System.Windows.Forms.PictureBox tbfilesavericon; + internal System.Windows.Forms.Label tbfilesavertext; + internal System.Windows.Forms.PictureBox tbshiftericon; + internal System.Windows.Forms.Label tbshiftertext; + internal System.Windows.Forms.Panel pnlpanelbuttonfloatybird; + internal System.Windows.Forms.PictureBox tbfloatybirdicon; + internal System.Windows.Forms.Label tbfloatybirdtext; + internal System.Windows.Forms.ToolStripMenuItem floatybirdToolStripMenuItem; + internal System.Windows.Forms.Timer tmrwindowedtest; + internal System.Windows.Forms.ContextMenuStrip cmbdesktopoptions; + internal System.Windows.Forms.ToolStripMenuItem NewToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem FolderToolStripMenuItem; + internal System.Windows.Forms.ToolStripSeparator ToolStripMenuItem2; + internal System.Windows.Forms.ToolStripMenuItem ArtpadPictureToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem TextDocumentToolStripMenuItem; + internal System.Windows.Forms.ToolStripSeparator WebpageToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ShortcutToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem NewSkin; + internal System.Windows.Forms.PictureBox tbcatalysticon; + internal System.Windows.Forms.Label lbcatalystname; + internal System.Windows.Forms.ToolStripMenuItem CatalystToolStripMenuItem1; + public System.Windows.Forms.ImageList imgshiftnetapps; + private System.Windows.Forms.Label lbldebug; + private System.Windows.Forms.Label lblog; + private System.Windows.Forms.FlowLayoutPanel flicons; + private System.Windows.Forms.ToolStripMenuItem scriptToolStripMenuItem; + private System.Windows.Forms.ContextMenuStrip cmbfactions; + private System.Windows.Forms.ToolStripMenuItem deleteToolStripMenuItem; + private System.Windows.Forms.FlowLayoutPanel pnlnotifications; + public System.Windows.Forms.Panel desktoppanel; + public System.Windows.Forms.ToolStripMenuItem ApplicationsToolStripMenuItem; + private System.Windows.Forms.ContextMenuStrip cbwidget; + private System.Windows.Forms.ToolStripMenuItem wlocmenu; + private System.Windows.Forms.ContextMenuStrip cbdpanel; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem3; + private System.Windows.Forms.ToolStripMenuItem optionsToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem addDesktopPanelToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem placeHereToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem appLauncherToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem panelButtonsToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem clockToolStripMenuItem1; + private System.Windows.Forms.ToolStripMenuItem widgetManagerToolStripMenuItem; + } +}
\ No newline at end of file diff --git a/source/WindowsFormsApplication1/Desktop/ShiftOSDesktop.cs b/source/WindowsFormsApplication1/Desktop/ShiftOSDesktop.cs new file mode 100644 index 0000000..9a6818e --- /dev/null +++ b/source/WindowsFormsApplication1/Desktop/ShiftOSDesktop.cs @@ -0,0 +1,1647 @@ +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; +using SaveSystem; +using System.Threading; +using Newtonsoft.Json; +using System.IO; +using System.Diagnostics; +using ShiftOS.FinalMission; + +namespace ShiftOS +{ + public partial class ShiftOSDesktop : Form + { + public ShiftOSDesktop() + { + InitializeComponent(); + } + + public bool UnityEnabled = false; + + public ToolStripMenuItem AppLauncher { get { return this.ApplicationsToolStripMenuItem; } } + + public List<Control> CurrentWidgets = null; + + public void SetUnityMode() + { + if (UnityEnabled == true) + { + UnityEnabled = false; + } + else + { + UnityEnabled = true; + } + SetupDesktop(); + } + + public void SetUnityMode(bool value) + { + UnityEnabled = value; + SetupDesktop(); + } + + public void EndGame_AttachEvents() + { + FinalMission.EndGameHandler.ObjectiveCompleted += (object s, EventArgs a) => + { + }; + FinalMission.EndGameHandler.MissionComplete += (object s, EventArgs a) => + { + API.LimitedMode = false; + SetupDesktop(); + API.CloseEverything(); + switch (FinalMission.EndGameHandler.CurrentChoice) + { + case Choice.SideWithDevX: + var t = new System.Windows.Forms.Timer(); + t.Interval = 10000; + t.Tick += (object se, EventArgs ea) => + { + var tp = new TextPad(); + API.CreateForm(tp, API.LoadedNames.TextpadName, API.GetIcon("TextPad")); + tp.txtuserinput.Text = Properties.Resources.You_Passed; + tp.FormClosing += (sen, args) => + { + API.Upgrades["storycomplete"] = true; + }; + t.Stop(); + }; + t.Start(); + break; + } + }; + } + + private void ShiftOSDesktop_Load(object sender, EventArgs e) + { + Viruses.CheckForInfected(); + this.ShowInTaskbar = false; + this.FormBorderStyle = FormBorderStyle.None; + this.WindowState = FormWindowState.Maximized; + this.KeyDown += (object s, KeyEventArgs ea) => + { + if (ea.KeyCode == Keys.T && ea.Control) + { + //Show terminal on CTRL+T + + API.CreateForm(new Terminal(), API.CurrentSave.TerminalName, Properties.Resources.iconTerminal); + } + else if (ea.KeyCode == Keys.D && ea.Control) + { + if (API.DeveloperMode == true) + { + if (ShowDebug == true) + { + ShowDebug = false; + } + else + { + ShowDebug = true; + } + } + } + }; + CheckIfNew(); + + API.CurrentSession = this; + + + System.Windows.Forms.Timer clocktick = new System.Windows.Forms.Timer(); + clocktick.Interval = 2; + clocktick.Tick += (object s, EventArgs a) => + { + if (API.Upgrades["hacking"]) + { + if (API.Upgrades["hackerbattles"] == false) + { + var rnd = new Random(); + int c = rnd.Next(1, 1000); + if (c == 500) + { + var t = new Terminal(); + API.CreateForm(t, API.LoadedNames.TerminalName, Properties.Resources.iconTerminal); + t.StartHackerBattleIntro(); + } + } + } + paneltimetext.Text = API.GetTime(); + if (ShowDebug == true) + { + lbldebug.Show(); + lblog.Show(); + switch (API.CurrentSkin.desktoppanelposition) + { + case "Top": + lbldebug.Location = new Point(5, this.Height - lbldebug.Height - 3); + lblog.Location = new Point(this.Width - lblog.Width - 5, this.Height - lblog.Height - 3); + break; + case "Bottom": + lbldebug.Location = new Point(5, 4); + lblog.Location = new Point(this.Width - lblog.Width - 5, 4); + break; + } + if (File.Exists(Paths.SystemDir + "_Log.txt")) + { + lblog.Text = File.ReadAllText(Paths.SystemDir + "_Log.txt"); + } + else + { + lblog.Hide(); + } + lbldebug.Text = " === DEBUG INFO === \n"; + lbldebug.Text += "ShiftOS Version: " + API.CurrentSave.actualshiftversion + "\n"; + lbldebug.Text += "Save Dir On Disk: " + Paths.SaveRoot + "\n"; + lbldebug.Text += "Codepoints: " + API.CurrentSave.codepoints.ToString() + "\n"; + lbldebug.Text += "DevMode: " + API.DeveloperMode.ToString() + "\n"; + lbldebug.Text += "PlatformIdent: " + OSInfo.GetPlatformID() + "\n"; + lbldebug.Text += "Running Mods: " + API.RunningModProcesses.Count.ToString() + "\n"; + } + else + { + lbldebug.Hide(); + lblog.Hide(); + } + if (Viruses.InfectedWith("seized")) + { + Random rnd = new Random(); + int r = rnd.Next(0, 255); + int g = rnd.Next(0, 255); + int b = rnd.Next(0, 255); + this.BackColor = Color.FromArgb(r, g, b); + this.BackgroundImage = null; + } + if (Viruses.InfectedWith("ow")) + { + Random rand = new Random(); + switch (rand.Next(0, 3)) { + case 0: + API.PlaySound(Properties.Resources.writesound); + break; + case 1: + API.PlaySound(Properties.Resources.typesound); + break; + case 2: + API.PlaySound(Properties.Resources.infobox); + break; + } + } + }; + clocktick.Start(); + + if (API.Upgrades["trmfiles"] == true) + { + if (File.Exists(Paths.SystemDir + "AutoStart.trm")) + { + var t = new Terminal(); + t.runterminalfile(Paths.SystemDir + "AutoStart.trm"); + } + } + API.LoadAliases(); + } + + public void CheckIfNew() + { + if (Utilities.LoadedSave.newgame == true) + { + HijackScreen hijack = new HijackScreen(); + this.Opacity = 0; + hijack.Show(); + } + else + { + SetupDesktop(); + } + } + + public List<Panel> DesktopPanels = null; + public FlowLayoutPanel PanelButtonHolder { get { return pnlpanelbuttonholder; } } + public Panel AppLauncherPanel { get { return applaunchermenuholder; } } + public Panel Clock { get { return timepanel; } } + public Control SelectedObject = null; + + private string SelectedIconName = null; + + public void SetupDesktop() + { + SetupRenderers(); + SetupDesktopPanel(); + SetupAppLauncher(); + SetupDesktopIcons(); + SetupGNOME2Elements(); + SetupPanelClock(); + SetupPanelButtons(); + CheckUnity(); + SetupWidgets(); + CheckForChristmas(); + //Set up the context menus. + addDesktopPanelToolStripMenuItem.Visible = API.Upgrades["advanceddesktop"]; + widgetManagerToolStripMenuItem.Visible = API.Upgrades["advanceddesktop"]; + if (API.Upgrades["advanceddesktop"]) + { + AppLauncherPanel.ContextMenuStrip = cbwidget; + Clock.ContextMenuStrip = cbwidget; + PanelButtonHolder.ContextMenuStrip = cbwidget; + } + else + { + AppLauncherPanel.ContextMenuStrip = null; + Clock.ContextMenuStrip = null; + PanelButtonHolder.ContextMenuStrip = null; + } + if (DesktopPanels != null) { + foreach (var dp in DesktopPanels) + { + if (API.Upgrades["advanceddesktop"]) + { + dp.ContextMenuStrip = cbdpanel; + } + else + { + dp.ContextMenuStrip = cbdpanel; + } + } + } + } + + public void SetupWidgets() + { + foreach (var w in API.CurrentSkin.Widgets) + { + foreach (var dp in DesktopPanels) + { + var t = (Skinning.DesktopPanel)dp.Tag; + if (t.Position == w.Panel) + { + SetupWidget(dp, w); + } + } + } + } + + public void SetupWidget(Panel p, Skinning.DesktopWidget w) + { + if(WidgetsToMaintain != null) + { + foreach(var wid in WidgetsToMaintain) + { + wid.Dispose(); + } + } + WidgetsToMaintain = new List<Control>(); + Control ctrl = null; + switch(w.Type) + { + case WidgetType.FreePanel: + ctrl = new Panel(); + break; + case WidgetType.Icon: + ctrl = new PictureBox(); + break; + case WidgetType.DisplayText: + ctrl = new Label(); + var l = (Label)ctrl; + l.ForeColor = API.CurrentSkin.clocktextcolour; + l.TextAlign = ContentAlignment.MiddleCenter; + break; + } + if(ctrl != null) + { + p.Controls.Add(ctrl); + ctrl.Show(); + ctrl.BringToFront(); + ctrl.Left = w.XLocation; + if(w.Type != WidgetType.Icon) + { + ctrl.Top = 0; + ctrl.Width = w.Width; + ctrl.Height = p.Height; + } + else + { + ctrl.Size = new Size(16, 16); + ctrl.Top = (p.Height - ctrl.Height) / 2; + } + try + { + GC.Collect(); + var l = new LuaInterpreter(); + l.ThisDirectory = Paths.WidgetFiles; + l.mod(w.Lua); + if (w.Type == WidgetType.Icon) + { + try + { + ctrl.BackgroundImage = API.GetIcon(w.Icon); + } + catch + { + ctrl.BackgroundImage = API.GetIcon(w.Name); + } + } + var cb_thiswidget = new ContextMenuStrip(); + var remove = cb_thiswidget.Items.Add($"Remove this {w.Name}"); + remove.Click += (object s, EventArgs a) => + { + API.CurrentSkin.Widgets.Remove(w); + ctrl.Dispose(); + Skinning.Utilities.saveskin(); + }; + var move = cb_thiswidget.Items.Add("Move Widget"); + move.Click += (object s, EventArgs e) => + { + ctrl.Tag = w; + MovingControl = ctrl; + }; + ToolStripMenuItem move_to = (ToolStripMenuItem)cb_thiswidget.Items.Add("Move to..."); + foreach(var dp in DesktopPanels) + { + var tag = (Skinning.DesktopPanel)dp.Tag; + var pnlloc = move_to.DropDownItems.Add(tag.Position); + pnlloc.Click += (object s, EventArgs a) => + { + w.Panel = pnlloc.Text; + ChangePosition(ctrl, dp); + Skinning.Utilities.saveskin(); + }; + } + var setwidth = cb_thiswidget.Items.Add("Set Width"); + setwidth.Click += (object s, EventArgs a) => + { + API.CreateInfoboxSession($"Set {w.Name} Width", $"Please enter a new width value for this {w.Name}.", infobox.InfoboxMode.TextEntry); + API.InfoboxSession.FormClosing += (object f, FormClosingEventArgs fc) => + { + var text = API.GetInfoboxResult(); + try + { + w.Width = Convert.ToInt32(text); + ctrl.Width = w.Width; + Skinning.Utilities.saveskin(); + } + catch + { + AddNotification("Invalid width", "You have entered an invalid width."); + } + }; + }; + ctrl.ContextMenuStrip = cb_thiswidget; + GC.Collect(); + WidgetsToMaintain.Add(ctrl); + l.mod.widget(ctrl); + + } + catch + { + API.CreateInfoboxSession("Widget Error", $"An error has occurred creating this \"{w.Name}\". It'll stay, but it may not function as intended.", infobox.InfoboxMode.Info); + } + + } + + } + + public List<Control> WidgetsToMaintain = null; + + public Control MovingControl = null; + + public bool WidgetContains(string Name) + { + Skinning.DesktopWidget widget = null; + + foreach(var w in API.CurrentSkin.Widgets) + { + if(w.Name == Name) + { + widget = w; + } + } + + if(widget == null) + { + return false; + } + else + { + return true; + } + } + + public void SetupDesktopIcons() + { + if (UnityEnabled == true) + { + flicons.Hide(); + } + else + { + flicons.Show(); + } + if (API.Upgrades["desktopicons"] == true) + { + flicons.ContextMenuStrip = cmbdesktopoptions; + DesktopIconManager.GetIcons(); + flicons.Controls.Clear(); + foreach (DesktopIcon dl in DesktopIconManager.Icons) + { + dl.ContextMenuStrip = cmbfactions; + dl.MouseDown += (object s, MouseEventArgs a) => + { + if (a.Button == MouseButtons.Right) + { + SelectedIconName = dl.IconName; + } + }; + flicons.Controls.Add(dl); + } + + } + + } + + public void SetupRenderers() + { + //Set global ToolStrip Renderer to the ShiftOS Skinning Engine renderer with it's default color table + ToolStripManager.Renderer = new Skinning.MyToolStripRenderer(); + //Set the App Launcher's renderer to the ShiftOS Skinning Engine renderer, with the App Launcher-specific color table. + desktopappmenu.Renderer = new Skinning.MyToolStripRenderer(new AppLauncherColorTable()); + + } + + + public void SetupDesktopPanel() + { + if (DesktopPanels != null) + { + foreach (var pnl in DesktopPanels) + { + if (this.Controls.Contains(pnl)) + { + pnl.Hide(); + this.Controls.Remove(pnl); + } + } + } + var old_list = new List<Skinning.DesktopPanel>(); + var dp = new Skinning.DesktopPanel(); + dp.Position = API.CurrentSkin.desktoppanelposition; + dp.Height = API.CurrentSkin.desktoppanelheight; + dp.BackgroundColor = API.CurrentSkin.desktoppanelcolour; + dp.BackgroundImage = API.CurrentSkinImages.desktoppanel; + old_list.Add(dp); + + if (API.CurrentSkin.DesktopPanels.Count == 0) + { + API.CurrentSkin.DesktopPanels = old_list; + } + if(API.Upgrades["advanceddesktop"]) + { + SetupPanels(API.CurrentSkin.DesktopPanels); + } + else + { + if(API.Upgrades["desktoppanel"]) + { + SetupPanels(old_list); + } + } + desktopappmenu.BackgroundImageLayout = (ImageLayout)API.CurrentSkin.applauncherlayout; + } + + public void SetupPanels(List<Skinning.DesktopPanel> lst) + { + DesktopPanels = new List<Panel>(); + + foreach (var dp in lst) + { + Panel pnl = new Panel(); + pnl.BackColor = dp.BackgroundColor; + switch (dp.Position) + { + case "Top": + pnl.Dock = DockStyle.Top; + break; + case "Bottom": + pnl.Dock = DockStyle.Bottom; + break; + } + pnl.Tag = dp; + pnl.Height = dp.Height; + pnl.MouseMove += (object s, MouseEventArgs a) => + { + if (MovingControl != null) + { + var newloc = new Point(a.X + 15, 0); + var proper = pnl.PointToClient(newloc); + MovingControl.Location = proper; + } + }; + pnl.MouseDown += (object s, MouseEventArgs a) => + { + if (MovingControl != null) + { + if (a.Button == MouseButtons.Left) + { + var w = (Skinning.DesktopWidget)MovingControl.Tag; + w.XLocation = MovingControl.Left; + Skinning.Utilities.saveskin(); + } + else if (a.Button == MouseButtons.Left) + { + var w = (Skinning.DesktopWidget)MovingControl.Tag; + MovingControl.Left = w.XLocation; + Skinning.Utilities.saveskin(); + + } + MovingControl = null; + } + }; + DesktopPanels.Add(pnl); + if (API.Upgrades["desktoppanel"] == true) + { + if (dp.BackgroundImage == null) + { + pnl.BackgroundImage = null; + } + else + { + pnl.BackgroundImage = dp.BackgroundImage; + pnl.BackgroundImageLayout = (ImageLayout)API.CurrentSkin.desktoppanellayout; + pnl.BackColor = Color.Transparent; + } + if (lst.Count > 1) + { + if (API.CurrentSkin.ALPosition == dp.Position) + { + ChangePosition(AppLauncherPanel, pnl); + } + if (API.CurrentSkin.PanelButtonPosition == dp.Position) + { + ChangePosition(PanelButtonHolder, pnl); + } + if (API.CurrentSkin.ClockPosition == dp.Position) + { + ChangePosition(Clock, pnl); + } + } + else + { + ChangePosition(AppLauncherPanel, pnl); + ChangePosition(PanelButtonHolder, pnl); + ChangePosition(Clock, pnl); + } + pnl.MouseDown += (object s, MouseEventArgs a) => + { + if (a.Button == MouseButtons.Right) + { + SelectedObject = pnl; + } + }; + if (API.Upgrades["advanceddesktop"]) + { + pnl.ContextMenuStrip = cbdpanel; + } + else + { + pnl.ContextMenuStrip = null; + } + pnl.Size = new Size(desktoppanel.Size.Width, dp.Height); + this.Controls.Add(pnl); + pnl.Show(); + } + else + { + pnl.Hide(); + this.Controls.Remove(pnl); + } + } + + } + + public void SetupAppLauncher() + { + NewToolStripMenuItem.Visible = API.Upgrades["fsnewfolder"]; + ArtpadPictureToolStripMenuItem.Visible = /*API.Upgrades["artpadsave"]*/false; // not yet implemented + TextDocumentToolStripMenuItem.Visible = API.Upgrades["textpadsave"]; + NewSkin.Visible = API.Upgrades["skinning"]; + scriptToolStripMenuItem.Visible = /*API.Upgrades["shiftnet"]*/false; //not yet implemented + API.GetAppLauncherItems(); + if (API.Upgrades["applaunchermenu"] == true) + { + ApplicationsToolStripMenuItem.Font = new Font(API.CurrentSkin.applicationbuttontextfont, API.CurrentSkin.applicationbuttontextsize, API.CurrentSkin.applicationbuttontextstyle); + ApplicationsToolStripMenuItem.Text = API.CurrentSkin.applicationlaunchername; + ApplicationsToolStripMenuItem.DropDownItems.Clear(); + if (API.Upgrades["alshiftnetapps"] == true) + { + imgshiftnetapps.Images.Clear(); + ApplicationsToolStripMenuItem.DropDown.ImageList = imgshiftnetapps; + //Mods + if (!Directory.Exists(Paths.Mod_AppLauncherEntries)) + { + Directory.CreateDirectory(Paths.Mod_AppLauncherEntries); + } + foreach (string file in Directory.GetFiles(Paths.Mod_AppLauncherEntries)) + { + string json = File.ReadAllText(file); + var TEMP_AL = JsonConvert.DeserializeObject<ModApplauncherItem>(json); + string lua; + if (TEMP_AL.Lua != null) + { + lua = TEMP_AL.Lua; + } + else + { + string path = TEMP_AL.ShiftCode.Replace("runSAA:", ""); + lua = "launch_mod('/Shiftum42/Apps/" + TEMP_AL.AppDirectory.Replace("\"", "\\\"").Replace("'", "\\'") + "/" + path + "')"; + } + + ApplauncherItem NewAL = null; + try + { + NewAL = new ApplauncherItem(TEMP_AL.Name, Image.FromFile(Paths.Applications + TEMP_AL.AppDirectory + "\\" + TEMP_AL.Icon), lua, true); + imgshiftnetapps.Images.Add(file, NewAL.Icon); + } + catch + { + NewAL = new ApplauncherItem(TEMP_AL.Name, null, lua, true); + } + var mitem = new ToolStripMenuItem(); + mitem.ImageKey = file; + mitem.Text = NewAL.Name; + mitem.Tag = TEMP_AL; + mitem.ImageScaling = ToolStripItemImageScaling.None; + mitem.Visible = NewAL.Display; + + mitem.Click += (object s, EventArgs a) => + { + API.LaunchMod(NewAL.Lua.Replace("launch_mod('", "").Replace("/Shiftum42/Apps/", Paths.Applications).Replace("/", OSInfo.DirectorySeparator).Replace("')", "")); + }; + ApplicationsToolStripMenuItem.DropDownItems.Add(mitem); + } + ApplicationsToolStripMenuItem.DropDownItems.Add(new ToolStripSeparator()); + } + + + + foreach (ApplauncherItem aitem in API.AppLauncherItems) + { + ToolStripMenuItem item = new ToolStripMenuItem(); + item.Text = aitem.Name; + item.Tag = aitem; + imgshiftnetapps.Images.Add(item.Text, aitem.Icon); + item.ImageKey = item.Text; + item.Visible = aitem.Display; + item.ImageScaling = ToolStripItemImageScaling.None; + ApplicationsToolStripMenuItem.DropDownItems.Add(item); + item.Click += new EventHandler(this.RunAppFromLauncher); + } + + ApplicationsToolStripMenuItem.Height = API.CurrentSkin.applicationbuttonheight; + if (API.CurrentSkinImages.applauncher != null) + { + ApplicationsToolStripMenuItem.Text = ""; + ApplicationsToolStripMenuItem.BackColor = Color.Transparent; + } + else { + ApplicationsToolStripMenuItem.Text = API.CurrentSkin.applicationlaunchername; + ApplicationsToolStripMenuItem.BackColor = API.CurrentSkin.applauncherbackgroundcolour; + ApplicationsToolStripMenuItem.BackgroundImage = null; + } + + applaunchermenuholder.Width = API.CurrentSkin.applaunchermenuholderwidth; + desktopappmenu.Width = API.CurrentSkin.applaunchermenuholderwidth; + ApplicationsToolStripMenuItem.Width = API.CurrentSkin.applaunchermenuholderwidth; + ApplicationsToolStripMenuItem.ForeColor = API.CurrentSkin.applicationsbuttontextcolour; + applaunchermenuholder.Height = API.CurrentSkin.applicationbuttonheight; + desktopappmenu.Height = API.CurrentSkin.applicationbuttonheight; + ApplicationsToolStripMenuItem.Height = API.CurrentSkin.applicationbuttonheight; + + if (API.CurrentSkinImages.applauncher != null) + { + ApplicationsToolStripMenuItem.BackgroundImage = API.CurrentSkinImages.applauncher; + } + else { + ApplicationsToolStripMenuItem.BackColor = API.CurrentSkin.applauncherbackgroundcolour; + ApplicationsToolStripMenuItem.BackgroundImageLayout = (ImageLayout)API.CurrentSkin.applauncherlayout; + } + ApplicationsToolStripMenuItem.BackColor = API.CurrentSkin.applauncherbuttoncolour; + } + else { + ApplicationsToolStripMenuItem.Visible = false; + } + } + + public void SetupGNOME2Elements() + { + if (API.Upgrades["gray"] == true) + { + this.ContextMenuStrip = cmbdesktopoptions; + NewToolStripMenuItem.Visible = API.Upgrades["desktopicons"]; + addDesktopPanelToolStripMenuItem.Visible = API.Upgrades["advanceddesktop"]; + widgetManagerToolStripMenuItem.Visible = API.Upgrades["advanceddesktop"]; //Uncomment when mid game bridge sequence finished. + + + } + + appLauncherToolStripMenuItem.Visible = API.Upgrades["applaunchermenu"]; + clockToolStripMenuItem1.Visible = API.Upgrades["desktoppanelclock"]; + panelButtonsToolStripMenuItem.Visible = API.Upgrades["panelbuttons"]; + + PanelButtonHolder.ContextMenuStrip = cbwidget; + AppLauncherPanel.ContextMenuStrip = cbwidget; + Clock.ContextMenuStrip = cbwidget; + paneltimetext.MouseDown += (object s, MouseEventArgs a) => + { + if (a.Button == MouseButtons.Right) + { + SelectedObject = Clock; + } + }; + ApplicationsToolStripMenuItem.MouseDown += (object s, MouseEventArgs a) => + { + if (a.Button == MouseButtons.Right) + { + SelectedObject = AppLauncherPanel; + } + }; + PanelButtonHolder.MouseDown += (object s, MouseEventArgs a) => + { + if (a.Button == MouseButtons.Right) + { + SelectedObject = PanelButtonHolder; + } + }; + wlocmenu.DropDownItems.Clear(); + if (API.Upgrades["advanceddesktop"]) + { + foreach (var p in DesktopPanels) + { + var dp = (Skinning.DesktopPanel)p.Tag; + p.ContextMenuStrip = cbdpanel; + var itm = new ToolStripMenuItem(); + itm.Text = dp.Position; + wlocmenu.DropDownItems.Add(itm); + itm.Click += (object s, EventArgs a) => + { + if (SelectedObject != null) + { + if (SelectedObject == AppLauncherPanel) + { + API.CurrentSkin.ALPosition = itm.Text; + } + else if (SelectedObject == Clock) + { + API.CurrentSkin.ClockPosition = itm.Text; + } + else if (SelectedObject == PanelButtonHolder) + { + API.CurrentSkin.PanelButtonPosition = itm.Text; + } + SelectedObject.Parent.Controls.Remove(SelectedObject); + SetupDesktopPanel(); + Skinning.Utilities.saveskin(); + } + }; + } + } + } + + public void SetupPanelClock() + { + if (API.Upgrades["desktoppanelclock"] == true) + { + + paneltimetext.ForeColor = API.CurrentSkin.clocktextcolour; + + if (API.CurrentSkinImages.panelclock == null) + { + timepanel.BackColor = API.CurrentSkin.clockbackgroundcolor; + timepanel.BackgroundImage = null; + } + else { + timepanel.BackColor = Color.Transparent; + timepanel.BackgroundImage = API.CurrentSkinImages.panelclock; + timepanel.BackgroundImageLayout = (ImageLayout)API.CurrentSkin.panelclocklayout; + } + paneltimetext.Font = new Font(API.CurrentSkin.panelclocktextfont, API.CurrentSkin.panelclocktextsize, API.CurrentSkin.panelclocktextstyle); + timepanel.Size = new Size(paneltimetext.Width + 3, timepanel.Height); + paneltimetext.Location = new Point(0, API.CurrentSkin.panelclocktexttop); + timepanel.Show(); + } + else { + timepanel.Hide(); + } + + } + + public void CheckUnity() + { + if (UnityEnabled == true) + { + this.TransparencyKey = Color.FromArgb(1, 0, 1); + this.BackColor = Color.FromArgb(1, 0, 1); + this.BackgroundImage = null; + } + else + { + this.TransparencyKey = Color.BurlyWood; + this.BackColor = API.CurrentSkin.desktopbackgroundcolour; + + this.BackgroundImage = API.CurrentSkinImages.desktopbackground; + var d = DateTime.Now; + if (d.Day == 25 && d.Month == 12) + { + if (API.CurrentSave.ChristmasRewardPast == false) + { + this.BackgroundImage = Properties.Resources.christmas_skin; + } + } + this.BackgroundImageLayout = (ImageLayout)API.CurrentSkin.desktopbackgroundlayout; + + } + } + + public void CheckForChristmas() + { + //Christmas - Codepoints gift + //Christmas Skin + var date = DateTime.Now; + if (date.Day == 25 && date.Month == 12) + { + if (API.CurrentSave.newgame == false && API.CurrentSave.ChristmasRewardPast == false) + { + API.CurrentSave.ChristmasRewardPast = true; + API.CreateInfoboxSession("Merry Christmas!", "Merry Christmas from all of the developers of ShiftOS. To celebrate Christmas, you have been given 1000 Codepoints for you to spend on Shiftorium Upgrades. We have also set your desktop background for the occasion.", infobox.InfoboxMode.Info); + API.AddCodepoints(1000); + } + SaveSystem.Utilities.saveGame(); + } + else + { + API.CurrentSave.ChristmasRewardPast = false; //Christmas is a yearly event, so just in case, every day that isn't Christmas, the 'Christmas' variable is set to false so that we can celebrate every year. + SaveSystem.Utilities.saveGame(); + } + } + + public void ChangePosition(Control ctrl, Panel newPanel) + { + try { + ctrl.Parent.Controls.Remove(ctrl); + newPanel.Controls.Add(ctrl); + } + catch + { + newPanel.Controls.Add(ctrl); + } + ctrl.BringToFront(); + } + + public void SetupPanelButtons() + { + pnlpanelbuttonholder.Controls.Clear(); + if (API.Upgrades["panelbuttons"] == true) + { + foreach (PanelButton pbtn in API.PanelButtons) + { + Panel pnl = new Panel(); + Label lbl = new Label(); + PictureBox pb = new PictureBox(); + + pnl.Visible = true; + + pb.Image = pbtn.Icon; + lbl.Text = pbtn.Name; + + pnl.Margin = new Padding(0, API.CurrentSkin.panelbuttonfromtop, API.CurrentSkin.panelbuttongap, 0); + + setpanelbuttonappearnce(ref pnl, ref pb, ref lbl); + + setuppanelbuttonicons(ref pb, pbtn.Icon); + + pnlpanelbuttonholder.Controls.Add(pnl); + pnl.ContextMenuStrip = null; + pnl.Show(); + pnl.Click += new EventHandler(this.PanelButton_Click); + pb.Click += new EventHandler(this.PanelButton_Click); + lbl.Click += new EventHandler(this.PanelButton_Click); + pnl.Tag = pbtn; + pb.Tag = pbtn; + lbl.Tag = pbtn; + } + pnlpanelbuttonholder.Padding = new Padding(API.CurrentSkin.panelbuttoninitialgap, 0, 0, 0); + } + } + + public void setuppanelbuttonicons(ref PictureBox tbicon, Image image) + { + tbicon.Image = image; + tbicon.SizeMode = PictureBoxSizeMode.StretchImage; + tbicon.Size = new Size(API.CurrentSkin.panelbuttoniconsize, API.CurrentSkin.panelbuttoniconsize); + } + + public void setpanelbuttonappearnce(ref Panel panelbutton, ref PictureBox icon, ref Label text) + { + panelbutton.Controls.Add(text); + panelbutton.Controls.Add(icon); + text.Show(); + if (API.Upgrades["appicons"] == true) + { + icon.Show(); + } + icon.Location = new Point(API.CurrentSkin.panelbuttoniconside, API.CurrentSkin.panelbuttonicontop); + icon.Size = new Size(API.CurrentSkin.panelbuttoniconsize, API.CurrentSkin.panelbuttoniconsize); + panelbutton.Size = new Size(API.CurrentSkin.panelbuttonwidth, API.CurrentSkin.panelbuttonheight); + panelbutton.BackColor = API.CurrentSkin.panelbuttoncolour; + panelbutton.BackgroundImage = API.CurrentSkinImages.panelbutton; + panelbutton.BackgroundImageLayout = (ImageLayout)API.CurrentSkin.panelbuttonlayout; + text.BackColor = Color.Transparent; + text.AutoSize = false; + text.Width = panelbutton.Width - API.CurrentSkin.panelbuttontextside - API.CurrentSkin.panelbuttoniconsize - API.CurrentSkin.panelbuttoniconside; + icon.BackColor = Color.Transparent; + text.ForeColor = API.CurrentSkin.panelbuttontextcolour; + text.Font = new Font(API.CurrentSkin.panelbuttontextfont, API.CurrentSkin.panelbuttontextsize, API.CurrentSkin.panelbuttontextstyle); + text.Location = new Point(API.CurrentSkin.panelbuttontextside, API.CurrentSkin.panelbuttontexttop); + } + + public void RunAppFromLauncher(object sender, EventArgs e) + { + ToolStripMenuItem item = (ToolStripMenuItem)sender; + ApplauncherItem aitem = (ApplauncherItem)item.Tag; + var li = new LuaInterpreter(); + li.mod(aitem.Lua); + + li = null; + } + + public void PanelButton_Click(object sender, EventArgs e) + { + if (API.Upgrades["usefulpanelbuttons"]) + { + Control ctrl = (Control)sender; + try + { + PanelButton pbtn = (PanelButton)ctrl.Tag; + var frm = pbtn.FormToManage; + if(frm.Left < Screen.PrimaryScreen.Bounds.Width) + { + API.MinimizeForm(frm); + } + else + { + API.ToggleMinimized(frm); + } + } + catch + { + + } + } + } + + private void ALHover(object sender, EventArgs e) + { + if (API.CurrentSkinImages.applaunchermouseover != null) + { + desktopappmenu.BackgroundImage = API.CurrentSkinImages.applaunchermouseover; + } + } + + private void ALReset(object sender, EventArgs e) + { + if (API.CurrentSkinImages.applauncher != null) + { + desktopappmenu.BackgroundImage = API.CurrentSkinImages.applauncher; + } + } + + private void ALClick(object sender, MouseEventArgs e) + { + if (API.CurrentSkinImages.applauncherclick != null) + { + desktopappmenu.BackgroundImage = API.CurrentSkinImages.applauncherclick; + } + } + + private bool ShowDebug = false; + + private void clocktick_Tick(object sender, EventArgs e) + { + } + + public void AddNotification(string title, string message) + { + var n = new Notification(title, message); + switch(API.CurrentSkin.desktoppanelposition) + { + case "Top": + n.Location = new Point(this.Width - n.Width, desktoppanel.Height); + break; + case "Bottom": + n.Location = new Point(this.Width - n.Width, this.Height - n.Height - desktoppanel.Height); + break; + } + this.Controls.Add(n); + n.Show(); + n.BringToFront(); + } + + private void FolderToolStripMenuItem_Click(object sender, EventArgs e) + { + API.CreateInfoboxSession("New Folder", "Please enter the name of your new folder.", infobox.InfoboxMode.TextEntry); + API.InfoboxSession.FormClosing += (object s, FormClosingEventArgs a) => + { + var res = API.GetInfoboxResult(); + if(!Directory.Exists(Paths.Desktop + res)) + { + Directory.CreateDirectory(Paths.Desktop + res); + SetupDesktop(); + } + else + { + API.CreateInfoboxSession("Can't create folder", "That folder already exists. Please use a different name.", infobox.InfoboxMode.Info); + } + }; + } + + private void deleteToolStripMenuItem_Click(object sender, EventArgs e) + { + if(File.Exists(Paths.Desktop + SelectedIconName)) + { + API.CreateInfoboxSession("Delete File", "Would you really like to delete this file?", infobox.InfoboxMode.YesNo); + API.InfoboxSession.FormClosing += (object s, FormClosingEventArgs a) => + { + var res = API.GetInfoboxResult(); + if(res == "Yes") + { + File.Delete(Paths.Desktop + SelectedIconName); + } + }; + } + else if(Directory.Exists(Paths.Desktop + SelectedIconName)) + { + API.CreateInfoboxSession("Delete Folder", "Would you really like to delete this folder and all of it's contents?", infobox.InfoboxMode.YesNo); + API.InfoboxSession.FormClosing += (object s, FormClosingEventArgs a) => + { + var res = API.GetInfoboxResult(); + if (res == "Yes") + { + Directory.Delete(Paths.Desktop + SelectedIconName, true); + } + }; + } + else + { + API.CreateInfoboxSession("Error", "You cannot delete this icon.", infobox.InfoboxMode.Info); + } + SetupDesktop(); + } + + private void scriptToolStripMenuItem_Click(object sender, EventArgs e) + { + + } + + private void NewSkin_Click(object sender, EventArgs e) + { + API.CreateInfoboxSession("Export Skin", "Please enter a name for your skin.", infobox.InfoboxMode.TextEntry); + API.InfoboxSession.FormClosing += (object s, FormClosingEventArgs a) => + { + var res = API.GetInfoboxResult(); + if (res != "Cancelled") + { + if (!File.Exists(Paths.Desktop + res + ".skn")) + { + Skinning.Utilities.saveskintofile(Paths.Desktop + res + ".skn"); + SetupDesktopIcons(); + } + } + }; + } + + private void addDesktopPanelToolStripMenuItem_Click(object sender, EventArgs e) + { + if(API.CurrentSkin.DesktopPanels.Count < 2) + { + string no = "Top"; + string yes = "Bottom"; + if (API.CurrentSkin.DesktopPanels.Count == 0) + { + no = API.CurrentSkin.desktoppanelposition; + } + else { + foreach (var pnl in API.CurrentSkin.DesktopPanels) + { + no = pnl.Position; + } + } + switch(no) + { + case "Top": + yes = "Bottom"; + break; + case "Bottom": + yes = "Top"; + break; + } + var dp = new Skinning.DesktopPanel(); + dp.Height = 24; + dp.Position = yes; + dp.BackgroundColor = Color.White; + API.CurrentSkin.DesktopPanels.Add(dp); + SetupDesktop(); + } + } + + private void toolStripMenuItem3_Click(object sender, EventArgs e) + { + API.CurrentSkin.DesktopPanels.Remove((Skinning.DesktopPanel)SelectedObject.Tag); + Skinning.Utilities.saveskin(); + SetupDesktopPanel(); + } + + private void clockToolStripMenuItem1_Click(object sender, EventArgs e) + { + var dp = (Skinning.DesktopPanel)SelectedObject.Tag; + API.CurrentSkin.ClockPosition = dp.Position; + Skinning.Utilities.saveskin(); + SetupDesktop(); + } + + private void panelButtonsToolStripMenuItem_Click(object sender, EventArgs e) + { + var dp = (Skinning.DesktopPanel)SelectedObject.Tag; + API.CurrentSkin.PanelButtonPosition = dp.Position; + Skinning.Utilities.saveskin(); + SetupDesktop(); + } + + private void appLauncherToolStripMenuItem_Click(object sender, EventArgs e) + { + var dp = (Skinning.DesktopPanel)SelectedObject.Tag; + API.CurrentSkin.ALPosition = dp.Position; + Skinning.Utilities.saveskin(); + SetupDesktop(); + } + + private void widgetManagerToolStripMenuItem_Click(object sender, EventArgs e) + { + API.CreateForm(new WidgetManager(), "Widget Manager", API.GetIcon("WidgetManager")); + } + + private void optionsToolStripMenuItem_Click(object sender, EventArgs e) + { + var dp = (Skinning.DesktopPanel)SelectedObject.Tag; + API.CreateForm(new PanelManager(dp), "Panel Options", API.GetIcon("PanelOptions")); + } + + private void TextDocumentToolStripMenuItem_Click(object sender, EventArgs e) + { + API.CreateInfoboxSession("New Text Document", "Please type a name for your document.", infobox.InfoboxMode.TextEntry); + API.InfoboxSession.FormClosing += (o, a) => + { + var res = API.GetInfoboxResult(); + if(res != "Cancelled") + { + if(!File.Exists(Paths.Desktop + res + ".txt")) + { + File.WriteAllText(Paths.Desktop + res + ".txt", ""); + SetupDesktopIcons(); + } + else + { + API.CreateInfoboxSession("File exists!", "The file name you entered already exists.", infobox.InfoboxMode.Info); + } + } + }; + } + } + + public class DesktopIconManager + { + public static List<DesktopIcon> Icons = null; + public static List<IconModel> Models = null; + + public static void GetIcons() + { + Icons = new List<DesktopIcon>(); + Models = new List<IconModel>(); + API.GetAppLauncherItems(); + if (!Directory.Exists(Paths.Desktop)) + { + Directory.CreateDirectory(Paths.Desktop); + } + else + { + foreach (string dir in Directory.GetDirectories(Paths.Desktop)) + { + //Get dir info + var dinf = new DirectoryInfo(dir); + //Create new IconModel + var m = new IconModel(); + //Set name to dir name + m.Name = dinf.Name; + //Set type to Directory + m.Type = IconType.Directory; + //Set lua to open directory in File Skimmer + m.Lua = $"fileskimmer('/Home/Desktop/{dinf.Name}')"; + Models.Add(m); + } + foreach (string file in Directory.GetFiles(Paths.Desktop)) + { + //Get file info + var finf = new FileInfo(file); + //Create new IconModel + var icm = new IconModel(); + //Set IconModel name to filename + icm.Name = finf.Name; + //Set IconModel's type based on file extension + switch (finf.Extension.ToLower()) //Make the string lower-case for ease of use. + { + case ".desktop": + //Desktop script. + icm.Type = IconType.Script; + icm.Lua = File.ReadAllText(finf.FullName); //The Lua that is to be ran by this script is in the file. + break; + case ".sct": + //Desktop Shortcut - NYI + break; + default: + //File. + icm.Type = IconType.File; + icm.Lua = $"fopen('/Home/Desktop/{finf.Name}')"; + break; + } + Models.Add(icm); + } + } + + foreach(IconModel m in Models) + { + var d = new DesktopIcon(); + d.IconName = m.Name; + d.LuaAction = m.Lua; + switch(m.Type) + { + case IconType.Directory: + d.Icon = API.GetIcon("Folder"); + break; + default: + var finf = new FileInfo(Paths.Desktop + d.IconName); + switch(finf.Extension) + { + case ".txt": + case ".doc": + case ".owd": + case ".docx": + d.Icon = API.GetIcon("TextFile"); + break; + case ".skn": + case ".spk": + d.Icon = API.GetIcon("SkinFile"); + break; + case ".saa": + d.Icon = API.GetIcon("SAAFile"); + break; + case ".pkg": + case ".stp": + d.Icon = API.GetIcon("SetupPackage"); + break; + default: + d.Icon = API.GetIcon("UnrecognizedFile"); + break; + } + break; + } + Icons.Add(d); + } + foreach (ApplauncherItem al in API.AppLauncherItems) + { + if (al.Display == true) + { + var dl = new DesktopIcon(); + dl.Icon = al.Icon; + dl.IconName = al.Name; + dl.LuaAction = al.Lua; + Icons.Add(dl); + } + } + + } + + public class IconModel + { + public string Name { get; set; } + public IconType Type { get; set; } + public string Lua { get; set; } + } + + public enum IconType + { + Directory, + Script, + File, + Shortcut + } + } + + class AppLauncherColorTable : ProfessionalColorTable + { + public override Color ButtonSelectedHighlight + { + get { return API.CurrentSkin.Menu_ButtonSelectedHighlight; } + } + public override Color ButtonSelectedHighlightBorder + { + get { return API.CurrentSkin.Menu_ButtonSelectedHighlight; } + } + public override Color ButtonPressedHighlight + { + get { return API.CurrentSkin.Menu_ButtonPressedHighlight; } + } + public override Color ButtonPressedHighlightBorder + { + get { return API.CurrentSkin.Menu_ButtonPressedHighlight; } + } + public override Color ButtonCheckedHighlight + { + get { return API.CurrentSkin.Menu_ButtonCheckedHighlight; } + } + public override Color ButtonCheckedHighlightBorder + { + get { return API.CurrentSkin.Menu_ButtonCheckedHighlightBorder; } + } + public override Color ButtonPressedBorder + { + get { + if (API.CurrentSkinImages.applauncherclick == null) + { + return API.CurrentSkin.Menu_ButtonPressedBorder; + } + else + { + return Color.Transparent; + } + } + } + public override Color ButtonSelectedBorder + { + get { + if (API.CurrentSkinImages.applauncherclick == null) + { + return API.CurrentSkin.Menu_ButtonSelectedBorder; + } + else + { + return Color.Transparent; + } + } + } + public override Color ButtonCheckedGradientBegin + { + get { return API.CurrentSkin.Menu_ButtonCheckedGradientBegin; } + } + public override Color ButtonCheckedGradientMiddle + { + get { return API.CurrentSkin.Menu_ButtonCheckedGradientMiddle; } + } + public override Color ButtonCheckedGradientEnd + { + get { return API.CurrentSkin.Menu_ButtonCheckedGradientEnd; } + } + public override Color ButtonSelectedGradientBegin + { + get { return API.CurrentSkin.Menu_ButtonSelectedGradientBegin; } + } + public override Color ButtonSelectedGradientMiddle + { + get { return API.CurrentSkin.Menu_ButtonSelectedGradientMiddle; } + } + public override Color ButtonSelectedGradientEnd + { + get { return API.CurrentSkin.Menu_ButtonSelectedGradientEnd; } + } + public override Color ButtonPressedGradientBegin + { + get { return API.CurrentSkin.Menu_ButtonPressedGradientBegin; } + } + public override Color ButtonPressedGradientMiddle + { + get { return API.CurrentSkin.Menu_ButtonPressedGradientMiddle; } + } + public override Color ButtonPressedGradientEnd + { + get { return API.CurrentSkin.Menu_ButtonPressedGradientEnd; } + } + public override Color CheckBackground + { + get { return API.CurrentSkin.Menu_CheckBackground; } + } + public override Color CheckSelectedBackground + { + get { return API.CurrentSkin.Menu_CheckSelectedBackground; } + } + public override Color CheckPressedBackground + { + get { return API.CurrentSkin.Menu_CheckPressedBackground; } + } + public override Color GripDark + { + get { return Color.Transparent; } + } + public override Color GripLight + { + get { return Color.Transparent; } + } + public override Color ImageMarginGradientBegin + { + get { return API.CurrentSkin.Menu_ImageMarginGradientBegin; } + } + public override Color ImageMarginGradientMiddle + { + get { return API.CurrentSkin.Menu_ImageMarginGradientMiddle; } + } + public override Color ImageMarginGradientEnd + { + get { return API.CurrentSkin.Menu_ImageMarginGradientEnd; } + } + public override Color ImageMarginRevealedGradientBegin + { + get { return API.CurrentSkin.Menu_ImageMarginGradientBegin; } + } + public override Color ImageMarginRevealedGradientMiddle + { + get { return API.CurrentSkin.Menu_ImageMarginGradientMiddle; } + } + public override Color ImageMarginRevealedGradientEnd + { + get { return API.CurrentSkin.Menu_ImageMarginGradientEnd; } + } + public override Color MenuStripGradientBegin + { + get { return API.CurrentSkin.Menu_MenuStripGradientBegin; } + } + public override Color MenuStripGradientEnd + { + get { return API.CurrentSkin.Menu_MenuStripGradientEnd; } + } + public override Color MenuItemSelected + { + get { return API.CurrentSkin.Menu_MenuItemSelected; } + } + public override Color MenuItemBorder + { + get { return Color.Transparent; } + } + public override Color MenuBorder + { + get { return API.CurrentSkin.Menu_MenuBorder; } + } + public override Color MenuItemSelectedGradientBegin + { + get { + if (API.CurrentSkinImages.applaunchermouseover == null) + { + return API.CurrentSkin.applaunchermouseovercolour; + } + else + { + return Color.Transparent; + } + } + } + public override Color MenuItemSelectedGradientEnd + { + get + { + if (API.CurrentSkinImages.applaunchermouseover == null) + { + return API.CurrentSkin.applaunchermouseovercolour; + } + else + { + return Color.Transparent; + } + } + } + public override Color MenuItemPressedGradientBegin + { + get + { + if (API.CurrentSkinImages.applauncherclick == null) + { + return API.CurrentSkin.Menu_MenuItemPressedGradientBegin; + } + else + { + return Color.Transparent; + } + } + } + public override Color MenuItemPressedGradientMiddle + { + get + { + if (API.CurrentSkinImages.applauncherclick == null) + { + return API.CurrentSkin.Menu_MenuItemPressedGradientMiddle; + } + else + { + return Color.Transparent; + } + } + } + public override Color MenuItemPressedGradientEnd + { + get + { + if (API.CurrentSkinImages.applauncherclick == null) + { + return API.CurrentSkin.Menu_MenuItemPressedGradientEnd; + } + else + { + return Color.Transparent; + } + } + } + + public override Color RaftingContainerGradientBegin + { + get { return API.CurrentSkin.Menu_RaftingContainerGradientBegin; } + } + public override Color RaftingContainerGradientEnd + { + get { return API.CurrentSkin.Menu_RaftingContainerGradientEnd; } + } + public override Color SeparatorDark + { + get { return API.CurrentSkin.Menu_SeparatorDark; } + } + public override Color SeparatorLight + { + get { return API.CurrentSkin.Menu_SeparatorLight; } + } + public override Color StatusStripGradientBegin + { + get { return API.CurrentSkin.Menu_StatusStripGradientBegin; } + } + public override Color StatusStripGradientEnd + { + get { return API.CurrentSkin.Menu_StatusStripGradientEnd; } + } + public override Color ToolStripBorder + { + get { return API.CurrentSkin.Menu_ToolStripBorder; } + } + public override Color ToolStripDropDownBackground + { + get { return API.CurrentSkin.Menu_ToolStripDropDownBackground; } + } + public override Color ToolStripGradientBegin + { + get { return API.CurrentSkin.Menu_ToolStripGradientBegin; } + } + public override Color ToolStripGradientMiddle + { + get { return API.CurrentSkin.Menu_ToolStripGradientMiddle; } + } + public override Color ToolStripGradientEnd + { + get { return API.CurrentSkin.Menu_ToolStripGradientEnd; } + } + public override Color ToolStripContentPanelGradientBegin + { + get { return API.CurrentSkin.Menu_ToolStripContentPanelGradientBegin; } + } + public override Color ToolStripContentPanelGradientEnd + { + get { return API.CurrentSkin.Menu_ToolStripContentPanelGradientEnd; } + } + public override Color ToolStripPanelGradientBegin + { + get { return API.CurrentSkin.Menu_ToolStripPanelGradientBegin; } + } + public override Color ToolStripPanelGradientEnd + { + get { return API.CurrentSkin.Menu_ToolStripPanelGradientEnd; } + } + public override Color OverflowButtonGradientBegin + { + get { return Color.Transparent; } + } + public override Color OverflowButtonGradientMiddle + { + get { return Color.Transparent; } + } + public override Color OverflowButtonGradientEnd + { + get { return Color.Transparent; } + } + } +}
\ No newline at end of file diff --git a/source/WindowsFormsApplication1/Desktop/ShiftOSDesktop.resx b/source/WindowsFormsApplication1/Desktop/ShiftOSDesktop.resx new file mode 100644 index 0000000..1ee550a --- /dev/null +++ b/source/WindowsFormsApplication1/Desktop/ShiftOSDesktop.resx @@ -0,0 +1,153 @@ +<?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> + <metadata name="desktopappmenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>17, 17</value> + </metadata> + <metadata name="desktopappmenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>17, 17</value> + </metadata> + <metadata name="clocktick.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>164, 17</value> + </metadata> + <metadata name="autosave.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>262, 17</value> + </metadata> + <metadata name="nocheat.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>362, 17</value> + </metadata> + <metadata name="tmrwindowedtest.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>457, 17</value> + </metadata> + <metadata name="cmbdesktopoptions.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>604, 17</value> + </metadata> + <metadata name="imgshiftnetapps.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>761, 17</value> + </metadata> + <metadata name="cmbfactions.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>900, 17</value> + </metadata> + <metadata name="cbwidget.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>17, 56</value> + </metadata> + <metadata name="cbdpanel.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>172, 56</value> + </metadata> +</root>
\ No newline at end of file |
