From 27dede13ae673fe0ae17035f735126145700cf86 Mon Sep 17 00:00:00 2001 From: Jaex Date: Fri, 20 May 2016 14:43:13 +0300 Subject: [PATCH] In screen color picker added these copy buttons: All, RGB, Hex, HSB, CMYK, Decimal, Position --- ShareX.HelpersLib/Colors/CMYK.cs | 2 +- .../Colors/ColorPickerForm.Designer.cs | 13 +- ShareX.HelpersLib/Colors/ColorPickerForm.resx | 134 ++++++------- ShareX.HelpersLib/Colors/HSB.cs | 2 +- ShareX.HelpersLib/Colors/MyColor.cs | 2 +- ShareX.HelpersLib/Colors/RGBA.cs | 2 +- ShareX.HelpersLib/Helpers/Helpers.cs | 2 +- ShareX.HelpersLib/Vector2.cs | 2 +- ShareX.UploadersLib/UploadersConfig.cs | 4 +- ShareX/Forms/ScreenColorPicker.Designer.cs | 97 ++++++++-- ShareX/Forms/ScreenColorPicker.cs | 49 ++++- ShareX/Forms/ScreenColorPicker.resx | 182 +++++++++++++----- 12 files changed, 349 insertions(+), 142 deletions(-) diff --git a/ShareX.HelpersLib/Colors/CMYK.cs b/ShareX.HelpersLib/Colors/CMYK.cs index 0786c1300..0bbea1e90 100644 --- a/ShareX.HelpersLib/Colors/CMYK.cs +++ b/ShareX.HelpersLib/Colors/CMYK.cs @@ -200,7 +200,7 @@ public CMYK(Color color) public override string ToString() { - return String.Format(Resources.CMYK_ToString_Cyan___0_0_0____Magenta___1_0_0____Yellow___2_0_0____Key___3_0_0__, Cyan100, Magenta100, Yellow100, Key100); + return string.Format(Resources.CMYK_ToString_Cyan___0_0_0____Magenta___1_0_0____Yellow___2_0_0____Key___3_0_0__, Cyan100, Magenta100, Yellow100, Key100); } public Color ToColor() diff --git a/ShareX.HelpersLib/Colors/ColorPickerForm.Designer.cs b/ShareX.HelpersLib/Colors/ColorPickerForm.Designer.cs index 5ebd472ac..b32d9f17d 100644 --- a/ShareX.HelpersLib/Colors/ColorPickerForm.Designer.cs +++ b/ShareX.HelpersLib/Colors/ColorPickerForm.Designer.cs @@ -384,6 +384,7 @@ private void InitializeComponent() // // pbColorPreview // + this.pbColorPreview.BackColor = System.Drawing.SystemColors.Window; this.pbColorPreview.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.pbColorPreview.DrawCheckeredBackground = true; resources.ApplyResources(this.pbColorPreview, "pbColorPreview"); @@ -403,6 +404,12 @@ private void InitializeComponent() this.BackColor = System.Drawing.SystemColors.Window; this.CancelButton = this.btnCancel; resources.ApplyResources(this, "$this"); + this.Controls.Add(this.nudBlue); + this.Controls.Add(this.nudGreen); + this.Controls.Add(this.nudRed); + this.Controls.Add(this.rbBlue); + this.Controls.Add(this.rbGreen); + this.Controls.Add(this.rbRed); this.Controls.Add(this.pbColorPreview); this.Controls.Add(this.lblAlpha); this.Controls.Add(this.nudAlpha); @@ -430,15 +437,9 @@ private void InitializeComponent() this.Controls.Add(this.lblHue); this.Controls.Add(this.lblBrightnessPerc); this.Controls.Add(this.lblSaturationPerc); - this.Controls.Add(this.nudBlue); - this.Controls.Add(this.nudGreen); - this.Controls.Add(this.nudRed); this.Controls.Add(this.nudBrightness); this.Controls.Add(this.nudSaturation); this.Controls.Add(this.nudHue); - this.Controls.Add(this.rbBlue); - this.Controls.Add(this.rbGreen); - this.Controls.Add(this.rbRed); this.Controls.Add(this.rbBrightness); this.Controls.Add(this.rbSaturation); this.Controls.Add(this.rbHue); diff --git a/ShareX.HelpersLib/Colors/ColorPickerForm.resx b/ShareX.HelpersLib/Colors/ColorPickerForm.resx index c5d9b8007..9a084d7a3 100644 --- a/ShareX.HelpersLib/Colors/ColorPickerForm.resx +++ b/ShareX.HelpersLib/Colors/ColorPickerForm.resx @@ -145,7 +145,7 @@ $this - 10 + 16 NoControl @@ -172,7 +172,7 @@ $this - 11 + 17 True @@ -202,7 +202,7 @@ $this - 12 + 18 True @@ -232,10 +232,10 @@ $this - 13 + 19 - 560, 173 + 560, 174 9 @@ -262,7 +262,7 @@ $this - 14 + 20 True @@ -271,7 +271,7 @@ NoControl - 488, 177 + 488, 178 29, 13 @@ -292,10 +292,10 @@ $this - 15 + 21 - 560, 141 + 560, 142 56, 20 @@ -316,10 +316,10 @@ $this - 16 + 22 - 560, 109 + 560, 108 56, 20 @@ -340,10 +340,10 @@ $this - 17 + 23 - 560, 77 + 560, 78 56, 20 @@ -364,10 +364,10 @@ $this - 18 + 24 - 560, 45 + 560, 46 56, 20 @@ -388,7 +388,7 @@ $this - 19 + 25 True @@ -397,7 +397,7 @@ NoControl - 488, 145 + 488, 146 28, 13 @@ -418,7 +418,7 @@ $this - 20 + 26 True @@ -427,7 +427,7 @@ NoControl - 488, 113 + 488, 112 41, 13 @@ -448,7 +448,7 @@ $this - 21 + 27 True @@ -457,7 +457,7 @@ NoControl - 488, 81 + 488, 82 52, 13 @@ -478,7 +478,7 @@ $this - 22 + 28 True @@ -487,7 +487,7 @@ NoControl - 488, 49 + 488, 50 34, 13 @@ -508,7 +508,7 @@ $this - 23 + 29 True @@ -520,7 +520,7 @@ NoControl - 460, 17 + 460, 112 13, 13 @@ -541,7 +541,7 @@ $this - 24 + 30 True @@ -553,7 +553,7 @@ NoControl - 460, 81 + 460, 178 19, 13 @@ -574,7 +574,7 @@ $this - 25 + 31 True @@ -586,7 +586,7 @@ NoControl - 460, 49 + 460, 146 19, 13 @@ -607,10 +607,10 @@ $this - 26 + 32 - 408, 173 + 408, 78 48, 20 @@ -631,10 +631,10 @@ $this - 27 + 0 - 408, 141 + 408, 46 48, 20 @@ -655,10 +655,10 @@ $this - 28 + 1 - 408, 109 + 408, 14 48, 20 @@ -679,10 +679,10 @@ $this - 29 + 2 - 408, 77 + 408, 174 48, 20 @@ -703,10 +703,10 @@ $this - 30 + 33 - 408, 45 + 408, 142 48, 20 @@ -727,10 +727,10 @@ $this - 31 + 34 - 408, 13 + 408, 108 48, 20 @@ -751,7 +751,7 @@ $this - 32 + 35 True @@ -760,7 +760,7 @@ NoControl - 312, 175 + 312, 80 49, 17 @@ -781,7 +781,7 @@ $this - 33 + 3 True @@ -790,7 +790,7 @@ NoControl - 312, 143 + 312, 48 57, 17 @@ -811,7 +811,7 @@ $this - 34 + 4 True @@ -820,7 +820,7 @@ NoControl - 312, 111 + 312, 16 48, 17 @@ -841,7 +841,7 @@ $this - 35 + 5 True @@ -850,7 +850,7 @@ NoControl - 312, 79 + 312, 176 77, 17 @@ -880,7 +880,7 @@ NoControl - 312, 47 + 312, 144 76, 17 @@ -910,7 +910,7 @@ NoControl - 312, 15 + 312, 112 48, 17 @@ -961,7 +961,7 @@ $this - 8 + 14 560, 204 @@ -988,7 +988,7 @@ $this - 7 + 13 True @@ -1000,7 +1000,7 @@ NoControl - 618, 49 + 618, 50 19, 13 @@ -1021,7 +1021,7 @@ $this - 6 + 12 True @@ -1033,7 +1033,7 @@ NoControl - 618, 81 + 618, 82 19, 13 @@ -1054,7 +1054,7 @@ $this - 5 + 11 True @@ -1066,7 +1066,7 @@ NoControl - 618, 113 + 618, 112 19, 13 @@ -1087,7 +1087,7 @@ $this - 4 + 10 True @@ -1099,7 +1099,7 @@ NoControl - 618, 145 + 618, 146 19, 13 @@ -1120,10 +1120,10 @@ $this - 3 + 9 - 560, 13 + 560, 14 48, 20 @@ -1144,7 +1144,7 @@ $this - 2 + 8 True @@ -1153,7 +1153,7 @@ NoControl - 488, 17 + 488, 18 37, 13 @@ -1174,7 +1174,7 @@ $this - 1 + 7 376, 208 @@ -1195,7 +1195,7 @@ $this - 0 + 6 True @@ -1219,7 +1219,7 @@ $this - 9 + 15 True diff --git a/ShareX.HelpersLib/Colors/HSB.cs b/ShareX.HelpersLib/Colors/HSB.cs index 9309f7882..8b04b69b6 100644 --- a/ShareX.HelpersLib/Colors/HSB.cs +++ b/ShareX.HelpersLib/Colors/HSB.cs @@ -173,7 +173,7 @@ public HSB(Color color) public override string ToString() { - return String.Format(Resources.HSB_ToString_, Hue360, Saturation100, Brightness100); + return string.Format(Resources.HSB_ToString_, Hue360, Saturation100, Brightness100); } public Color ToColor() diff --git a/ShareX.HelpersLib/Colors/MyColor.cs b/ShareX.HelpersLib/Colors/MyColor.cs index cb16b1203..b3b0d559c 100644 --- a/ShareX.HelpersLib/Colors/MyColor.cs +++ b/ShareX.HelpersLib/Colors/MyColor.cs @@ -89,7 +89,7 @@ public void CMYKUpdate() public override string ToString() { - return String.Format( + return string.Format( @"RGBA (Red, Green, Blue, Alpha) = {0}, {1}, {2}, {3} HSB (Hue, Saturation, Brightness) = {4:0.0}°, {5:0.0}%, {6:0.0}% CMYK (Cyan, Magenta, Yellow, Key) = {7:0.0}%, {8:0.0}%, {9:0.0}%, {10:0.0}% diff --git a/ShareX.HelpersLib/Colors/RGBA.cs b/ShareX.HelpersLib/Colors/RGBA.cs index fc9187f48..a47dc363b 100644 --- a/ShareX.HelpersLib/Colors/RGBA.cs +++ b/ShareX.HelpersLib/Colors/RGBA.cs @@ -124,7 +124,7 @@ public RGBA(Color color) : this(color.R, color.G, color.B, color.A) public override string ToString() { - return String.Format("R: {0}, G: {1}, B: {2}, A: {3}", Red, Green, Blue, Alpha); + return $"R: {Red}, G: {Green}, B: {Blue}, A: {Alpha}"; } public Color ToColor() diff --git a/ShareX.HelpersLib/Helpers/Helpers.cs b/ShareX.HelpersLib/Helpers/Helpers.cs index 8209165a9..2e22a58ff 100644 --- a/ShareX.HelpersLib/Helpers/Helpers.cs +++ b/ShareX.HelpersLib/Helpers/Helpers.cs @@ -267,7 +267,7 @@ public static string GetValidURL(string url, bool replaceSpace = false) public static string GetXMLValue(string input, string tag) { - return Regex.Match(input, String.Format("(?<={0}>).+?(?=).+?(?= public string YourlsPassword = string.Empty; // adf.ly - public string AdFlyAPIKEY = String.Empty; - public string AdFlyAPIUID = String.Empty; + public string AdFlyAPIKEY = string.Empty; + public string AdFlyAPIUID = string.Empty; // coinurl.com public string CoinURLUUID = string.Empty; diff --git a/ShareX/Forms/ScreenColorPicker.Designer.cs b/ShareX/Forms/ScreenColorPicker.Designer.cs index ab8d8b148..c359013e6 100644 --- a/ShareX/Forms/ScreenColorPicker.Designer.cs +++ b/ShareX/Forms/ScreenColorPicker.Designer.cs @@ -29,16 +29,26 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { + this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ScreenColorPicker)); this.btnPipette = new System.Windows.Forms.Button(); this.lblScreenColorPickerTip = new System.Windows.Forms.Label(); this.btnColorPicker = new System.Windows.Forms.Button(); this.lblY = new System.Windows.Forms.Label(); this.lblX = new System.Windows.Forms.Label(); - this.btnCopyAll = new System.Windows.Forms.Button(); this.txtX = new System.Windows.Forms.TextBox(); this.txtY = new System.Windows.Forms.TextBox(); this.lblCursorPosition = new System.Windows.Forms.Label(); + this.btnCopy = new ShareX.HelpersLib.MenuButton(); + this.cmsCopy = new System.Windows.Forms.ContextMenuStrip(this.components); + this.tsmiCopyAll = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiCopyRGB = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiCopyHex = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiCopyCMYK = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiCopyHSB = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiCopyDecimal = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiCopyPosition = new System.Windows.Forms.ToolStripMenuItem(); + this.cmsCopy.SuspendLayout(); this.SuspendLayout(); // // colorPicker @@ -87,13 +97,6 @@ private void InitializeComponent() resources.ApplyResources(this.lblX, "lblX"); this.lblX.Name = "lblX"; // - // btnCopyAll - // - resources.ApplyResources(this.btnCopyAll, "btnCopyAll"); - this.btnCopyAll.Name = "btnCopyAll"; - this.btnCopyAll.UseVisualStyleBackColor = true; - this.btnCopyAll.Click += new System.EventHandler(this.btnCopyAll_Click); - // // txtX // resources.ApplyResources(this.txtX, "txtX"); @@ -111,11 +114,74 @@ private void InitializeComponent() resources.ApplyResources(this.lblCursorPosition, "lblCursorPosition"); this.lblCursorPosition.Name = "lblCursorPosition"; // + // btnCopy + // + resources.ApplyResources(this.btnCopy, "btnCopy"); + this.btnCopy.Menu = this.cmsCopy; + this.btnCopy.Name = "btnCopy"; + this.btnCopy.UseVisualStyleBackColor = true; + // + // cmsCopy + // + this.cmsCopy.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.tsmiCopyAll, + this.tsmiCopyRGB, + this.tsmiCopyHex, + this.tsmiCopyCMYK, + this.tsmiCopyHSB, + this.tsmiCopyDecimal, + this.tsmiCopyPosition}); + this.cmsCopy.Name = "cmsCopy"; + this.cmsCopy.ShowImageMargin = false; + resources.ApplyResources(this.cmsCopy, "cmsCopy"); + // + // tsmiCopyAll + // + this.tsmiCopyAll.Name = "tsmiCopyAll"; + resources.ApplyResources(this.tsmiCopyAll, "tsmiCopyAll"); + this.tsmiCopyAll.Click += new System.EventHandler(this.tsmiCopyAll_Click); + // + // tsmiCopyRGB + // + this.tsmiCopyRGB.Name = "tsmiCopyRGB"; + resources.ApplyResources(this.tsmiCopyRGB, "tsmiCopyRGB"); + this.tsmiCopyRGB.Click += new System.EventHandler(this.tsmiCopyRGB_Click); + // + // tsmiCopyHex + // + this.tsmiCopyHex.Name = "tsmiCopyHex"; + resources.ApplyResources(this.tsmiCopyHex, "tsmiCopyHex"); + this.tsmiCopyHex.Click += new System.EventHandler(this.tsmiCopyHex_Click); + // + // tsmiCopyCMYK + // + this.tsmiCopyCMYK.Name = "tsmiCopyCMYK"; + resources.ApplyResources(this.tsmiCopyCMYK, "tsmiCopyCMYK"); + this.tsmiCopyCMYK.Click += new System.EventHandler(this.tsmiCopyCMYK_Click); + // + // tsmiCopyHSB + // + this.tsmiCopyHSB.Name = "tsmiCopyHSB"; + resources.ApplyResources(this.tsmiCopyHSB, "tsmiCopyHSB"); + this.tsmiCopyHSB.Click += new System.EventHandler(this.tsmiCopyHSB_Click); + // + // tsmiCopyDecimal + // + this.tsmiCopyDecimal.Name = "tsmiCopyDecimal"; + resources.ApplyResources(this.tsmiCopyDecimal, "tsmiCopyDecimal"); + this.tsmiCopyDecimal.Click += new System.EventHandler(this.tsmiCopyDecimal_Click); + // + // tsmiCopyPosition + // + this.tsmiCopyPosition.Name = "tsmiCopyPosition"; + resources.ApplyResources(this.tsmiCopyPosition, "tsmiCopyPosition"); + this.tsmiCopyPosition.Click += new System.EventHandler(this.tsmiCopyPosition_Click); + // // ScreenColorPicker // resources.ApplyResources(this, "$this"); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.btnCopyAll); + this.Controls.Add(this.btnCopy); this.Controls.Add(this.lblCursorPosition); this.Controls.Add(this.txtY); this.Controls.Add(this.txtX); @@ -140,7 +206,8 @@ private void InitializeComponent() this.Controls.SetChildIndex(this.btnCancel, 0); this.Controls.SetChildIndex(this.txtHex, 0); this.Controls.SetChildIndex(this.colorPicker, 0); - this.Controls.SetChildIndex(this.btnCopyAll, 0); + this.Controls.SetChildIndex(this.btnCopy, 0); + this.cmsCopy.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); @@ -153,9 +220,17 @@ private void InitializeComponent() private System.Windows.Forms.Button btnColorPicker; private System.Windows.Forms.Label lblY; private System.Windows.Forms.Label lblX; - private System.Windows.Forms.Button btnCopyAll; private System.Windows.Forms.TextBox txtX; private System.Windows.Forms.TextBox txtY; private System.Windows.Forms.Label lblCursorPosition; + private HelpersLib.MenuButton btnCopy; + private System.Windows.Forms.ContextMenuStrip cmsCopy; + private System.Windows.Forms.ToolStripMenuItem tsmiCopyAll; + private System.Windows.Forms.ToolStripMenuItem tsmiCopyRGB; + private System.Windows.Forms.ToolStripMenuItem tsmiCopyHex; + private System.Windows.Forms.ToolStripMenuItem tsmiCopyCMYK; + private System.Windows.Forms.ToolStripMenuItem tsmiCopyPosition; + private System.Windows.Forms.ToolStripMenuItem tsmiCopyHSB; + private System.Windows.Forms.ToolStripMenuItem tsmiCopyDecimal; } } \ No newline at end of file diff --git a/ShareX/Forms/ScreenColorPicker.cs b/ShareX/Forms/ScreenColorPicker.cs index 9ba699413..51b433d01 100644 --- a/ShareX/Forms/ScreenColorPicker.cs +++ b/ShareX/Forms/ScreenColorPicker.cs @@ -134,13 +134,6 @@ private void btnPipette_Click(object sender, EventArgs e) } } - private void btnCopyAll_Click(object sender, EventArgs e) - { - string colors = colorPicker.SelectedColor.ToString(); - colors += "\r\n" + string.Format(Resources.ScreenColorPicker_btnCopyAll_Click_Cursor_position, txtX.Text, txtY.Text); - ClipboardHelpers.CopyText(colors); - } - private void colorTimer_Tick(object sender, EventArgs e) { Point position = CaptureHelpers.GetCursorPosition(); @@ -157,5 +150,47 @@ private void ScreenColorPicker_KeyDown(object sender, KeyEventArgs e) e.SuppressKeyPress = true; } } + + private void tsmiCopyAll_Click(object sender, EventArgs e) + { + string colors = colorPicker.SelectedColor.ToString(); + colors += Environment.NewLine + string.Format(Resources.ScreenColorPicker_btnCopyAll_Click_Cursor_position, txtX.Text, txtY.Text); + ClipboardHelpers.CopyText(colors); + } + + private void tsmiCopyRGB_Click(object sender, EventArgs e) + { + RGBA rgba = colorPicker.SelectedColor.RGBA; + ClipboardHelpers.CopyText($"{rgba.Red}, {rgba.Green}, {rgba.Blue}"); + } + + private void tsmiCopyHex_Click(object sender, EventArgs e) + { + string hex = ColorHelpers.ColorToHex(colorPicker.SelectedColor, ColorFormat.RGB); + ClipboardHelpers.CopyText("#" + hex); + } + + private void tsmiCopyHSB_Click(object sender, EventArgs e) + { + HSB hsb = colorPicker.SelectedColor.HSB; + ClipboardHelpers.CopyText($"{hsb.Hue360:0.0}°, {hsb.Saturation100:0.0}%, {hsb.Brightness100:0.0}%"); + } + + private void tsmiCopyCMYK_Click(object sender, EventArgs e) + { + CMYK cmyk = colorPicker.SelectedColor.CMYK; + ClipboardHelpers.CopyText($"{cmyk.Cyan100:0.0}%, {cmyk.Magenta100:0.0}%, {cmyk.Yellow100:0.0}%, {cmyk.Key100:0.0}%"); + } + + private void tsmiCopyDecimal_Click(object sender, EventArgs e) + { + int dec = ColorHelpers.ColorToDecimal(colorPicker.SelectedColor, ColorFormat.RGB); + ClipboardHelpers.CopyText(dec.ToString()); + } + + private void tsmiCopyPosition_Click(object sender, EventArgs e) + { + ClipboardHelpers.CopyText($"{txtX.Text}, {txtY.Text}"); + } } } \ No newline at end of file diff --git a/ShareX/Forms/ScreenColorPicker.resx b/ShareX/Forms/ScreenColorPicker.resx index 81fd34c84..6a3359574 100644 --- a/ShareX/Forms/ScreenColorPicker.resx +++ b/ShareX/Forms/ScreenColorPicker.resx @@ -131,7 +131,7 @@ $this - 1 + 2 31 @@ -146,7 +146,7 @@ $this - 2 + 3 39 @@ -161,7 +161,7 @@ $this - 3 + 4 38 @@ -176,7 +176,7 @@ $this - 4 + 5 @@ -198,7 +198,7 @@ $this - 8 + 9 Microsoft Sans Serif, 11.25pt @@ -215,6 +215,9 @@ Press "Ctrl" button when this window active to stop screen color picker. + + MiddleCenter + False @@ -228,7 +231,7 @@ $this - 9 + 10 @@ -256,7 +259,7 @@ $this - 10 + 11 True @@ -272,7 +275,7 @@ Y: - @Invariant + lblY @@ -283,7 +286,7 @@ $this - 11 + 12 True @@ -299,7 +302,7 @@ X: - @Invariant + lblX @@ -310,34 +313,7 @@ $this - 12 - - - MiddleLeft - - - 472, 232 - - - 80, 32 - - - 37 - - - Copy all - - - btnCopyAll - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this - - - 0 + 13 176, 276 @@ -350,7 +326,7 @@ 1680 - @Invariant + Center @@ -364,7 +340,7 @@ $this - 7 + 8 248, 276 @@ -377,7 +353,7 @@ 1050 - @Invariant + Center @@ -391,7 +367,7 @@ $this - 6 + 7 True @@ -421,7 +397,85 @@ $this - 5 + 6 + + + 472, 232 + + + 17, 17 + + + 147, 158 + + + cmsCopy + + + System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 80, 32 + + + 48 + + + Copy + + + btnCopy + + + ShareX.HelpersLib.MenuButton, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + + + $this + + + 1 + + + 146, 22 + + + Copy all + + + 146, 22 + + + Copy RGB + + + 146, 22 + + + Copy hexadecimal + + + 146, 22 + + + Copy CMYK + + + 146, 22 + + + Copy HSB + + + 146, 22 + + + Copy decimal + + + 146, 22 + + + Copy position True @@ -432,6 +486,48 @@ 642, 334 + + tsmiCopyAll + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsmiCopyRGB + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsmiCopyHex + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsmiCopyCMYK + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsmiCopyHSB + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsmiCopyDecimal + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsmiCopyPosition + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + ScreenColorPicker