From bc65ee854ecc87a5bd171c6c6d0716a4a39aa09f Mon Sep 17 00:00:00 2001 From: lithium_ Date: Thu, 26 May 2016 00:12:21 -0700 Subject: [PATCH] Updated Lithiio Removed text link to the lithi.io site and added a button. Changed Icon --- ShareX.UploadersLib/Favicons/Lithiio.ico | Bin 1150 -> 1150 bytes .../Forms/UploadersConfigForm.Designer.cs | 12 ++++- .../Forms/UploadersConfigForm.cs | 2 +- .../Forms/UploadersConfigForm.resx | 49 +++++++++++++----- 4 files changed, 47 insertions(+), 16 deletions(-) diff --git a/ShareX.UploadersLib/Favicons/Lithiio.ico b/ShareX.UploadersLib/Favicons/Lithiio.ico index a9f109b02d57d0c2ec7d6d4dc6e4391fc19090f9..51cae7cbcf5c3e3de2c84635fa97db8420163c3f 100644 GIT binary patch literal 1150 zcmbu5K?=h_37ChpLW=E)7_l;b_e!@q?3=0Fp?Q(i#_RL*QkL*sV{aKmKywYdqF8iDA?$3MfZ|Fw#`n6xuPo;nW literal 1150 zcmc(fI}U&_3_~9hGwQ_5*rRbz4pt1o5;Fr<mbDP89_r+lPzo%{6@d}vQ@T!C}| diff --git a/ShareX.UploadersLib/Forms/UploadersConfigForm.Designer.cs b/ShareX.UploadersLib/Forms/UploadersConfigForm.Designer.cs index bacb95b4c..ef1f3be8f 100644 --- a/ShareX.UploadersLib/Forms/UploadersConfigForm.Designer.cs +++ b/ShareX.UploadersLib/Forms/UploadersConfigForm.Designer.cs @@ -537,6 +537,7 @@ private void InitializeComponent() this.lblWidthHint = new System.Windows.Forms.Label(); this.ttlvMain = new ShareX.HelpersLib.TabToListView(); this.actRapidShareAccountType = new ShareX.UploadersLib.AccountTypeControl(); + this.btnLithiioGetAPIKey = new System.Windows.Forms.Button(); this.tpOtherUploaders.SuspendLayout(); this.tcOtherUploaders.SuspendLayout(); this.tpTwitter.SuspendLayout(); @@ -3135,6 +3136,7 @@ private void InitializeComponent() // // tpLithiio // + this.tpLithiio.Controls.Add(this.btnLithiioGetAPIKey); this.tpLithiio.Controls.Add(this.lblLithiioInfo); this.tpLithiio.Controls.Add(this.lblLithiioApiKey); this.tpLithiio.Controls.Add(this.txtLithiioApiKey); @@ -3147,9 +3149,7 @@ private void InitializeComponent() // lblLithiioInfo // resources.ApplyResources(this.lblLithiioInfo, "lblLithiioInfo"); - this.lblLithiioInfo.Cursor = System.Windows.Forms.Cursors.Hand; this.lblLithiioInfo.Name = "lblLithiioInfo"; - this.lblLithiioInfo.Click += new System.EventHandler(this.lithiioInfoLabel_Click); // // lblLithiioApiKey // @@ -4307,6 +4307,13 @@ private void InitializeComponent() this.actRapidShareAccountType.Name = "actRapidShareAccountType"; this.actRapidShareAccountType.SelectedAccountType = ShareX.UploadersLib.AccountType.Anonymous; // + // btnLithiioGetAPIKey + // + resources.ApplyResources(this.btnLithiioGetAPIKey, "btnLithiioGetAPIKey"); + this.btnLithiioGetAPIKey.Name = "btnLithiioGetAPIKey"; + this.btnLithiioGetAPIKey.UseVisualStyleBackColor = true; + this.btnLithiioGetAPIKey.Click += new System.EventHandler(this.btnLithiioGetAPIKey_Click); + // // UploadersConfigForm // resources.ApplyResources(this, "$this"); @@ -4969,5 +4976,6 @@ private void InitializeComponent() public System.Windows.Forms.TabPage tpCustomUploaders; private System.Windows.Forms.TextBox txtEmailAutomaticSendTo; private System.Windows.Forms.CheckBox cbEmailAutomaticSend; + private System.Windows.Forms.Button btnLithiioGetAPIKey; } } diff --git a/ShareX.UploadersLib/Forms/UploadersConfigForm.cs b/ShareX.UploadersLib/Forms/UploadersConfigForm.cs index 48cd4edaa..6be0f3ae0 100644 --- a/ShareX.UploadersLib/Forms/UploadersConfigForm.cs +++ b/ShareX.UploadersLib/Forms/UploadersConfigForm.cs @@ -2154,7 +2154,7 @@ private void cbLambdaUploadURL_SelectedIndexChanged(object sender, EventArgs e) #region Lithiio - private void lithiioInfoLabel_Click(object sender, EventArgs e) + private void btnLithiioGetAPIKey_Click(object sender, EventArgs e) { URLHelpers.OpenURL("https://lithi.io/"); } diff --git a/ShareX.UploadersLib/Forms/UploadersConfigForm.resx b/ShareX.UploadersLib/Forms/UploadersConfigForm.resx index 2ec2e0f55..7f4f5c81c 100644 --- a/ShareX.UploadersLib/Forms/UploadersConfigForm.resx +++ b/ShareX.UploadersLib/Forms/UploadersConfigForm.resx @@ -8977,6 +8977,30 @@ Using an encrypted library disables sharing. 20 + + 24, 27 + + + 126, 26 + + + 7 + + + Get API Key... + + + btnLithiioGetAPIKey + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpLithiio + + + 0 + True @@ -8984,17 +9008,16 @@ Using an encrypted library disables sharing. NoControl - 13, 16 + 21, 69 - 345, 143 + 248, 130 0 - Leave the API key blank for anonymous usage or sign in through Steam -at https://lithi.io/ to become a Lithiio member and get an API key. + Leave the API key blank for anonymous usage. Anonymous: - 50 MB max per upload @@ -9015,7 +9038,7 @@ Lithiio Member: tpLithiio - 0 + 1 True @@ -9024,7 +9047,7 @@ Lithiio Member: NoControl - 13, 172 + 21, 225 47, 13 @@ -9045,10 +9068,10 @@ Lithiio Member: tpLithiio - 1 + 2 - 16, 189 + 24, 242 344, 20 @@ -9066,7 +9089,7 @@ Lithiio Member: tpLithiio - 2 + 3 True @@ -9075,7 +9098,7 @@ Lithiio Member: NoControl - 13, 218 + 21, 271 55, 13 @@ -9096,10 +9119,10 @@ Lithiio Member: tpLithiio - 3 + 4 - 16, 234 + 24, 287 344, 21 @@ -9117,7 +9140,7 @@ Lithiio Member: tpLithiio - 4 + 5 4, 40