diff --git a/PCK-Studio/Forms/Editor/COLEditor.Designer.cs b/PCK-Studio/Forms/Editor/COLEditor.Designer.cs index eb5110c1..b0cf8ebd 100644 --- a/PCK-Studio/Forms/Editor/COLEditor.Designer.cs +++ b/PCK-Studio/Forms/Editor/COLEditor.Designer.cs @@ -31,278 +31,292 @@ namespace PckStudio.Forms.Editor /// private void InitializeComponent() { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(COLEditor)); - this.metroPanel1 = new MetroFramework.Controls.MetroPanel(); - this.setColorBtn = new MetroFramework.Controls.MetroButton(); - this.blueUpDown = new System.Windows.Forms.NumericUpDown(); - this.greenUpDown = new System.Windows.Forms.NumericUpDown(); - this.redUpDown = new System.Windows.Forms.NumericUpDown(); - this.alphaUpDown = new System.Windows.Forms.NumericUpDown(); - this.alphaLabel = new MetroFramework.Controls.MetroLabel(); - this.blueLabel = new MetroFramework.Controls.MetroLabel(); - this.greenLabel = new MetroFramework.Controls.MetroLabel(); - this.redLabel = new MetroFramework.Controls.MetroLabel(); - this.colorTextbox = new MetroFramework.Controls.MetroTextBox(); - this.metroLabel1 = new MetroFramework.Controls.MetroLabel(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.menuStrip = new System.Windows.Forms.MenuStrip(); - this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.saveToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.waterTab = new System.Windows.Forms.TabPage(); - this.treeView2 = new System.Windows.Forms.TreeView(); - this.colorsTab = new System.Windows.Forms.TabPage(); - this.treeView1 = new System.Windows.Forms.TreeView(); - this.tabControl = new MetroFramework.Controls.MetroTabControl(); - this.metroPanel1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.blueUpDown)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.greenUpDown)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.redUpDown)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.alphaUpDown)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); - this.menuStrip.SuspendLayout(); - this.waterTab.SuspendLayout(); - this.colorsTab.SuspendLayout(); - this.tabControl.SuspendLayout(); - this.SuspendLayout(); - // - // metroPanel1 - // - this.metroPanel1.Controls.Add(this.setColorBtn); - this.metroPanel1.Controls.Add(this.blueUpDown); - this.metroPanel1.Controls.Add(this.greenUpDown); - this.metroPanel1.Controls.Add(this.redUpDown); - this.metroPanel1.Controls.Add(this.alphaUpDown); - this.metroPanel1.Controls.Add(this.alphaLabel); - this.metroPanel1.Controls.Add(this.blueLabel); - this.metroPanel1.Controls.Add(this.greenLabel); - this.metroPanel1.Controls.Add(this.redLabel); - this.metroPanel1.Controls.Add(this.colorTextbox); - this.metroPanel1.Controls.Add(this.metroLabel1); - this.metroPanel1.Controls.Add(this.pictureBox1); - resources.ApplyResources(this.metroPanel1, "metroPanel1"); - this.metroPanel1.HorizontalScrollbarBarColor = true; - this.metroPanel1.HorizontalScrollbarHighlightOnWheel = false; - this.metroPanel1.HorizontalScrollbarSize = 10; - this.metroPanel1.Name = "metroPanel1"; - this.metroPanel1.Style = MetroFramework.MetroColorStyle.Silver; - this.metroPanel1.Theme = MetroFramework.MetroThemeStyle.Dark; - this.metroPanel1.VerticalScrollbarBarColor = true; - this.metroPanel1.VerticalScrollbarHighlightOnWheel = false; - this.metroPanel1.VerticalScrollbarSize = 10; - // - // setColorBtn - // - resources.ApplyResources(this.setColorBtn, "setColorBtn"); - this.setColorBtn.Name = "setColorBtn"; - this.setColorBtn.Theme = MetroFramework.MetroThemeStyle.Dark; - this.setColorBtn.UseSelectable = true; - this.setColorBtn.Click += new System.EventHandler(this.setColorBtn_Click); - // - // blueUpDown - // - this.blueUpDown.BackColor = System.Drawing.SystemColors.Desktop; - this.blueUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204))))); - resources.ApplyResources(this.blueUpDown, "blueUpDown"); - this.blueUpDown.Maximum = new decimal(new int[] { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(COLEditor)); + this.metroPanel1 = new MetroFramework.Controls.MetroPanel(); + this.setColorBtn = new MetroFramework.Controls.MetroButton(); + this.blueUpDown = new System.Windows.Forms.NumericUpDown(); + this.greenUpDown = new System.Windows.Forms.NumericUpDown(); + this.redUpDown = new System.Windows.Forms.NumericUpDown(); + this.alphaUpDown = new System.Windows.Forms.NumericUpDown(); + this.alphaLabel = new MetroFramework.Controls.MetroLabel(); + this.blueLabel = new MetroFramework.Controls.MetroLabel(); + this.greenLabel = new MetroFramework.Controls.MetroLabel(); + this.redLabel = new MetroFramework.Controls.MetroLabel(); + this.colorTextbox = new MetroFramework.Controls.MetroTextBox(); + this.metroLabel1 = new MetroFramework.Controls.MetroLabel(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.menuStrip = new System.Windows.Forms.MenuStrip(); + this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.saveToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.waterTab = new System.Windows.Forms.TabPage(); + this.treeView2 = new System.Windows.Forms.TreeView(); + this.colorsTab = new System.Windows.Forms.TabPage(); + this.treeView1 = new System.Windows.Forms.TreeView(); + this.tabControl = new MetroFramework.Controls.MetroTabControl(); + this.underwaterTab = new System.Windows.Forms.TabPage(); + this.fogTab = new System.Windows.Forms.TabPage(); + this.metroPanel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.blueUpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.greenUpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.redUpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.alphaUpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.menuStrip.SuspendLayout(); + this.waterTab.SuspendLayout(); + this.colorsTab.SuspendLayout(); + this.tabControl.SuspendLayout(); + this.SuspendLayout(); + // + // metroPanel1 + // + this.metroPanel1.Controls.Add(this.setColorBtn); + this.metroPanel1.Controls.Add(this.blueUpDown); + this.metroPanel1.Controls.Add(this.greenUpDown); + this.metroPanel1.Controls.Add(this.redUpDown); + this.metroPanel1.Controls.Add(this.alphaUpDown); + this.metroPanel1.Controls.Add(this.alphaLabel); + this.metroPanel1.Controls.Add(this.blueLabel); + this.metroPanel1.Controls.Add(this.greenLabel); + this.metroPanel1.Controls.Add(this.redLabel); + this.metroPanel1.Controls.Add(this.colorTextbox); + this.metroPanel1.Controls.Add(this.metroLabel1); + this.metroPanel1.Controls.Add(this.pictureBox1); + resources.ApplyResources(this.metroPanel1, "metroPanel1"); + this.metroPanel1.HorizontalScrollbarBarColor = true; + this.metroPanel1.HorizontalScrollbarHighlightOnWheel = false; + this.metroPanel1.HorizontalScrollbarSize = 10; + this.metroPanel1.Name = "metroPanel1"; + this.metroPanel1.Style = MetroFramework.MetroColorStyle.Silver; + this.metroPanel1.Theme = MetroFramework.MetroThemeStyle.Dark; + this.metroPanel1.VerticalScrollbarBarColor = true; + this.metroPanel1.VerticalScrollbarHighlightOnWheel = false; + this.metroPanel1.VerticalScrollbarSize = 10; + // + // setColorBtn + // + resources.ApplyResources(this.setColorBtn, "setColorBtn"); + this.setColorBtn.Name = "setColorBtn"; + this.setColorBtn.Theme = MetroFramework.MetroThemeStyle.Dark; + this.setColorBtn.UseSelectable = true; + this.setColorBtn.Click += new System.EventHandler(this.setColorBtn_Click); + // + // blueUpDown + // + this.blueUpDown.BackColor = System.Drawing.SystemColors.Desktop; + this.blueUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204))))); + resources.ApplyResources(this.blueUpDown, "blueUpDown"); + this.blueUpDown.Maximum = new decimal(new int[] { 255, 0, 0, 0}); - this.blueUpDown.Name = "blueUpDown"; - this.blueUpDown.ValueChanged += new System.EventHandler(this.color_ValueChanged); - // - // greenUpDown - // - this.greenUpDown.BackColor = System.Drawing.SystemColors.Desktop; - this.greenUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204))))); - resources.ApplyResources(this.greenUpDown, "greenUpDown"); - this.greenUpDown.Maximum = new decimal(new int[] { + this.blueUpDown.Name = "blueUpDown"; + this.blueUpDown.ValueChanged += new System.EventHandler(this.color_ValueChanged); + // + // greenUpDown + // + this.greenUpDown.BackColor = System.Drawing.SystemColors.Desktop; + this.greenUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204))))); + resources.ApplyResources(this.greenUpDown, "greenUpDown"); + this.greenUpDown.Maximum = new decimal(new int[] { 255, 0, 0, 0}); - this.greenUpDown.Name = "greenUpDown"; - this.greenUpDown.ValueChanged += new System.EventHandler(this.color_ValueChanged); - // - // redUpDown - // - this.redUpDown.BackColor = System.Drawing.SystemColors.Desktop; - this.redUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204))))); - resources.ApplyResources(this.redUpDown, "redUpDown"); - this.redUpDown.Maximum = new decimal(new int[] { + this.greenUpDown.Name = "greenUpDown"; + this.greenUpDown.ValueChanged += new System.EventHandler(this.color_ValueChanged); + // + // redUpDown + // + this.redUpDown.BackColor = System.Drawing.SystemColors.Desktop; + this.redUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204))))); + resources.ApplyResources(this.redUpDown, "redUpDown"); + this.redUpDown.Maximum = new decimal(new int[] { 255, 0, 0, 0}); - this.redUpDown.Name = "redUpDown"; - this.redUpDown.ValueChanged += new System.EventHandler(this.color_ValueChanged); - // - // alphaUpDown - // - this.alphaUpDown.BackColor = System.Drawing.SystemColors.Desktop; - this.alphaUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204))))); - resources.ApplyResources(this.alphaUpDown, "alphaUpDown"); - this.alphaUpDown.Maximum = new decimal(new int[] { + this.redUpDown.Name = "redUpDown"; + this.redUpDown.ValueChanged += new System.EventHandler(this.color_ValueChanged); + // + // alphaUpDown + // + this.alphaUpDown.BackColor = System.Drawing.SystemColors.Desktop; + this.alphaUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204))))); + resources.ApplyResources(this.alphaUpDown, "alphaUpDown"); + this.alphaUpDown.Maximum = new decimal(new int[] { 255, 0, 0, 0}); - this.alphaUpDown.Name = "alphaUpDown"; - this.alphaUpDown.ValueChanged += new System.EventHandler(this.color_ValueChanged); - // - // alphaLabel - // - resources.ApplyResources(this.alphaLabel, "alphaLabel"); - this.alphaLabel.Name = "alphaLabel"; - this.alphaLabel.Theme = MetroFramework.MetroThemeStyle.Dark; - // - // blueLabel - // - resources.ApplyResources(this.blueLabel, "blueLabel"); - this.blueLabel.Name = "blueLabel"; - this.blueLabel.Theme = MetroFramework.MetroThemeStyle.Dark; - // - // greenLabel - // - resources.ApplyResources(this.greenLabel, "greenLabel"); - this.greenLabel.Name = "greenLabel"; - this.greenLabel.Theme = MetroFramework.MetroThemeStyle.Dark; - // - // redLabel - // - resources.ApplyResources(this.redLabel, "redLabel"); - this.redLabel.Name = "redLabel"; - this.redLabel.Theme = MetroFramework.MetroThemeStyle.Dark; - // - // colorTextbox - // - // - // - // - this.colorTextbox.CustomButton.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image"))); - this.colorTextbox.CustomButton.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("resource.ImeMode"))); - this.colorTextbox.CustomButton.Location = ((System.Drawing.Point)(resources.GetObject("resource.Location"))); - this.colorTextbox.CustomButton.Name = ""; - this.colorTextbox.CustomButton.Size = ((System.Drawing.Size)(resources.GetObject("resource.Size"))); - this.colorTextbox.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; - this.colorTextbox.CustomButton.TabIndex = ((int)(resources.GetObject("resource.TabIndex"))); - this.colorTextbox.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; - this.colorTextbox.CustomButton.UseSelectable = true; - this.colorTextbox.CustomButton.Visible = ((bool)(resources.GetObject("resource.Visible"))); - this.colorTextbox.Lines = new string[0]; - resources.ApplyResources(this.colorTextbox, "colorTextbox"); - this.colorTextbox.MaxLength = 32767; - this.colorTextbox.Name = "colorTextbox"; - this.colorTextbox.PasswordChar = '\0'; - this.colorTextbox.ScrollBars = System.Windows.Forms.ScrollBars.None; - this.colorTextbox.SelectedText = ""; - this.colorTextbox.SelectionLength = 0; - this.colorTextbox.SelectionStart = 0; - this.colorTextbox.ShortcutsEnabled = true; - this.colorTextbox.Theme = MetroFramework.MetroThemeStyle.Dark; - this.colorTextbox.UseSelectable = true; - this.colorTextbox.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); - this.colorTextbox.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); - this.colorTextbox.TextChanged += new System.EventHandler(this.colorBox_TextChanged); - // - // metroLabel1 - // - resources.ApplyResources(this.metroLabel1, "metroLabel1"); - this.metroLabel1.Name = "metroLabel1"; - this.metroLabel1.Theme = MetroFramework.MetroThemeStyle.Dark; - // - // pictureBox1 - // - this.pictureBox1.BackColor = System.Drawing.Color.Gray; - resources.ApplyResources(this.pictureBox1, "pictureBox1"); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.TabStop = false; - // - // menuStrip - // - resources.ApplyResources(this.menuStrip, "menuStrip"); - this.menuStrip.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.alphaUpDown.Name = "alphaUpDown"; + this.alphaUpDown.ValueChanged += new System.EventHandler(this.color_ValueChanged); + // + // alphaLabel + // + resources.ApplyResources(this.alphaLabel, "alphaLabel"); + this.alphaLabel.Name = "alphaLabel"; + this.alphaLabel.Theme = MetroFramework.MetroThemeStyle.Dark; + // + // blueLabel + // + resources.ApplyResources(this.blueLabel, "blueLabel"); + this.blueLabel.Name = "blueLabel"; + this.blueLabel.Theme = MetroFramework.MetroThemeStyle.Dark; + // + // greenLabel + // + resources.ApplyResources(this.greenLabel, "greenLabel"); + this.greenLabel.Name = "greenLabel"; + this.greenLabel.Theme = MetroFramework.MetroThemeStyle.Dark; + // + // redLabel + // + resources.ApplyResources(this.redLabel, "redLabel"); + this.redLabel.Name = "redLabel"; + this.redLabel.Theme = MetroFramework.MetroThemeStyle.Dark; + // + // colorTextbox + // + // + // + // + this.colorTextbox.CustomButton.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image"))); + this.colorTextbox.CustomButton.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("resource.ImeMode"))); + this.colorTextbox.CustomButton.Location = ((System.Drawing.Point)(resources.GetObject("resource.Location"))); + this.colorTextbox.CustomButton.Name = ""; + this.colorTextbox.CustomButton.Size = ((System.Drawing.Size)(resources.GetObject("resource.Size"))); + this.colorTextbox.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; + this.colorTextbox.CustomButton.TabIndex = ((int)(resources.GetObject("resource.TabIndex"))); + this.colorTextbox.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; + this.colorTextbox.CustomButton.UseSelectable = true; + this.colorTextbox.CustomButton.Visible = ((bool)(resources.GetObject("resource.Visible"))); + this.colorTextbox.Lines = new string[0]; + resources.ApplyResources(this.colorTextbox, "colorTextbox"); + this.colorTextbox.MaxLength = 32767; + this.colorTextbox.Name = "colorTextbox"; + this.colorTextbox.PasswordChar = '\0'; + this.colorTextbox.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.colorTextbox.SelectedText = ""; + this.colorTextbox.SelectionLength = 0; + this.colorTextbox.SelectionStart = 0; + this.colorTextbox.ShortcutsEnabled = true; + this.colorTextbox.Theme = MetroFramework.MetroThemeStyle.Dark; + this.colorTextbox.UseSelectable = true; + this.colorTextbox.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); + this.colorTextbox.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); + this.colorTextbox.TextChanged += new System.EventHandler(this.colorBox_TextChanged); + // + // metroLabel1 + // + resources.ApplyResources(this.metroLabel1, "metroLabel1"); + this.metroLabel1.Name = "metroLabel1"; + this.metroLabel1.Theme = MetroFramework.MetroThemeStyle.Dark; + // + // pictureBox1 + // + this.pictureBox1.BackColor = System.Drawing.Color.Gray; + resources.ApplyResources(this.pictureBox1, "pictureBox1"); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.TabStop = false; + // + // menuStrip + // + resources.ApplyResources(this.menuStrip, "menuStrip"); + this.menuStrip.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem}); - this.menuStrip.Name = "menuStrip"; - // - // fileToolStripMenuItem - // - this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.menuStrip.Name = "menuStrip"; + // + // fileToolStripMenuItem + // + this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.saveToolStripMenuItem1}); - this.fileToolStripMenuItem.ForeColor = System.Drawing.Color.White; - this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; - resources.ApplyResources(this.fileToolStripMenuItem, "fileToolStripMenuItem"); - // - // saveToolStripMenuItem1 - // - resources.ApplyResources(this.saveToolStripMenuItem1, "saveToolStripMenuItem1"); - this.saveToolStripMenuItem1.Name = "saveToolStripMenuItem1"; - this.saveToolStripMenuItem1.Click += new System.EventHandler(this.saveToolStripMenuItem1_Click); - // - // waterTab - // - this.waterTab.BackColor = System.Drawing.SystemColors.WindowFrame; - this.waterTab.Controls.Add(this.treeView2); - resources.ApplyResources(this.waterTab, "waterTab"); - this.waterTab.Name = "waterTab"; - // - // treeView2 - // - resources.ApplyResources(this.treeView2, "treeView2"); - this.treeView2.Name = "treeView2"; - this.treeView2.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView2_AfterSelect); - this.treeView2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView2_KeyDown); - // - // colorsTab - // - this.colorsTab.BackColor = System.Drawing.SystemColors.WindowFrame; - this.colorsTab.Controls.Add(this.treeView1); - resources.ApplyResources(this.colorsTab, "colorsTab"); - this.colorsTab.Name = "colorsTab"; - // - // treeView1 - // - resources.ApplyResources(this.treeView1, "treeView1"); - this.treeView1.Name = "treeView1"; - this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect); - this.treeView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView1_KeyDown); - // - // tabControl - // - resources.ApplyResources(this.tabControl, "tabControl"); - this.tabControl.Controls.Add(this.colorsTab); - this.tabControl.Controls.Add(this.waterTab); - this.tabControl.Name = "tabControl"; - this.tabControl.SelectedIndex = 0; - this.tabControl.Style = MetroFramework.MetroColorStyle.White; - this.tabControl.Theme = MetroFramework.MetroThemeStyle.Dark; - this.tabControl.UseSelectable = true; - // - // COLEditor - // - resources.ApplyResources(this, "$this"); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.menuStrip); - this.Controls.Add(this.tabControl); - this.Controls.Add(this.metroPanel1); - this.ForeColor = System.Drawing.SystemColors.ControlText; - this.Name = "COLEditor"; - this.Style = MetroFramework.MetroColorStyle.Silver; - this.Theme = MetroFramework.MetroThemeStyle.Dark; - this.metroPanel1.ResumeLayout(false); - this.metroPanel1.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.blueUpDown)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.greenUpDown)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.redUpDown)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.alphaUpDown)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); - this.menuStrip.ResumeLayout(false); - this.menuStrip.PerformLayout(); - this.waterTab.ResumeLayout(false); - this.colorsTab.ResumeLayout(false); - this.tabControl.ResumeLayout(false); - this.ResumeLayout(false); + this.fileToolStripMenuItem.ForeColor = System.Drawing.Color.White; + this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; + resources.ApplyResources(this.fileToolStripMenuItem, "fileToolStripMenuItem"); + // + // saveToolStripMenuItem1 + // + resources.ApplyResources(this.saveToolStripMenuItem1, "saveToolStripMenuItem1"); + this.saveToolStripMenuItem1.Name = "saveToolStripMenuItem1"; + this.saveToolStripMenuItem1.Click += new System.EventHandler(this.saveToolStripMenuItem1_Click); + // + // waterTab + // + this.waterTab.BackColor = System.Drawing.SystemColors.WindowFrame; + this.waterTab.Controls.Add(this.treeView2); + resources.ApplyResources(this.waterTab, "waterTab"); + this.waterTab.Name = "waterTab"; + // + // treeView2 + // + resources.ApplyResources(this.treeView2, "treeView2"); + this.treeView2.Name = "treeView2"; + this.treeView2.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView2_AfterSelect); + this.treeView2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView2_KeyDown); + // + // colorsTab + // + this.colorsTab.BackColor = System.Drawing.SystemColors.WindowFrame; + this.colorsTab.Controls.Add(this.treeView1); + resources.ApplyResources(this.colorsTab, "colorsTab"); + this.colorsTab.Name = "colorsTab"; + // + // treeView1 + // + resources.ApplyResources(this.treeView1, "treeView1"); + this.treeView1.Name = "treeView1"; + this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect); + this.treeView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView1_KeyDown); + // + // tabControl + // + resources.ApplyResources(this.tabControl, "tabControl"); + this.tabControl.Controls.Add(this.colorsTab); + this.tabControl.Controls.Add(this.waterTab); + this.tabControl.Controls.Add(this.underwaterTab); + this.tabControl.Controls.Add(this.fogTab); + this.tabControl.Name = "tabControl"; + this.tabControl.SelectedIndex = 0; + this.tabControl.Style = MetroFramework.MetroColorStyle.White; + this.tabControl.Theme = MetroFramework.MetroThemeStyle.Dark; + this.tabControl.UseSelectable = true; + // + // underwaterTab + // + resources.ApplyResources(this.underwaterTab, "underwaterTab"); + this.underwaterTab.Name = "underwaterTab"; + // + // fogTab + // + resources.ApplyResources(this.fogTab, "fogTab"); + this.fogTab.Name = "fogTab"; + // + // COLEditor + // + resources.ApplyResources(this, "$this"); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.menuStrip); + this.Controls.Add(this.tabControl); + this.Controls.Add(this.metroPanel1); + this.ForeColor = System.Drawing.SystemColors.ControlText; + this.Name = "COLEditor"; + this.Style = MetroFramework.MetroColorStyle.Silver; + this.Theme = MetroFramework.MetroThemeStyle.Dark; + this.metroPanel1.ResumeLayout(false); + this.metroPanel1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.blueUpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.greenUpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.redUpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.alphaUpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.menuStrip.ResumeLayout(false); + this.menuStrip.PerformLayout(); + this.waterTab.ResumeLayout(false); + this.colorsTab.ResumeLayout(false); + this.tabControl.ResumeLayout(false); + this.ResumeLayout(false); } @@ -329,5 +343,7 @@ namespace PckStudio.Forms.Editor private TabPage colorsTab; private MetroFramework.Controls.MetroTabControl tabControl; private MetroFramework.Controls.MetroButton setColorBtn; - } + private TabPage underwaterTab; + private TabPage fogTab; + } } \ No newline at end of file diff --git a/PCK-Studio/Forms/Editor/COLEditor.resx b/PCK-Studio/Forms/Editor/COLEditor.resx index 04429f14..767462aa 100644 --- a/PCK-Studio/Forms/Editor/COLEditor.resx +++ b/PCK-Studio/Forms/Editor/COLEditor.resx @@ -289,7 +289,7 @@ 2 - 343, 290 + 426, 290 125, 23 @@ -313,7 +313,7 @@ 2 - 343, 397 + 426, 397 125, 20 @@ -334,7 +334,7 @@ 3 - 343, 371 + 426, 371 125, 20 @@ -355,7 +355,7 @@ 4 - 343, 345 + 426, 345 125, 20 @@ -376,7 +376,7 @@ 5 - 343, 319 + 426, 319 125, 20 @@ -403,7 +403,7 @@ True - 310, 320 + 393, 320 21, 19 @@ -433,7 +433,7 @@ True - 311, 395 + 394, 395 20, 19 @@ -460,7 +460,7 @@ True - 310, 371 + 393, 371 21, 19 @@ -487,7 +487,7 @@ True - 311, 345 + 394, 345 20, 19 @@ -529,7 +529,7 @@ False - 343, 423 + 426, 423 125, 23 @@ -553,7 +553,7 @@ True - 285, 423 + 368, 423 46, 19 @@ -577,7 +577,7 @@ 12 - 295, 92 + 378, 92 173, 173 @@ -665,13 +665,13 @@ 4, 38 - 186, 458 + 426, 458 1 - Water Colors + Water waterTab @@ -695,7 +695,7 @@ No - 186, 458 + 426, 458 0 @@ -712,6 +712,18 @@ 0 + + Fill + + + 0, 0 + + + 320, 458 + + + 0 + treeView1 @@ -728,13 +740,13 @@ 4, 38 - 186, 458 + 320, 458 0 - Normal Colors + Everything colorsTab @@ -748,38 +760,62 @@ 0 - - Fill - - - 0, 0 - - - 186, 458 - - - 0 - - - treeView1 - - - System.Windows.Forms.TreeView, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - colorsTab - - - 0 - Top, Bottom, Left + + 4, 38 + + + 426, 458 + + + 2 + + + Underwater + + + underwaterTab + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tabControl + + + 2 + + + 4, 38 + + + 320, 458 + + + 3 + + + Underwater Fog + + + fogTab + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tabControl + + + 3 + 20, 83 - 194, 500 + 328, 500 22