diff --git a/Documentation/Changelog.txt b/Documentation/Changelog.txt index e40e4b0..8e708fe 100644 --- a/Documentation/Changelog.txt +++ b/Documentation/Changelog.txt @@ -1,2 +1,8 @@ - Version 1.0.0.0 (Beta) + Version 1.0.0.1 +- Added icon and logo +- Locked the window size +- New color for the Genuine quality of the RedPill's preset (#008040) +- Fixed URL of Changelog and License buttons + + Version 1.0.0.0 (Beta) - Pre-Release \ No newline at end of file diff --git a/Media/Logo_TF2ColorEdit.png b/Media/Logo_TF2ColorEdit.png new file mode 100644 index 0000000..5e62723 Binary files /dev/null and b/Media/Logo_TF2ColorEdit.png differ diff --git a/README.md b/README.md index c3d5d27..953cbf5 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ TF2 Color Edit ============ + This simple tool allows the user to edit the colors of the [qualities] (http://wiki.teamfortress.com/wiki/Item_quality) and the attributes of the items. Just extrat the file ClientScheme.res from the VPK tf2_misc_dir.vpk, or use the one of your custom HUD, edit, preview, and save. License @@ -8,8 +9,11 @@ TF2 Color Edit by RedPill is licensed under a [Creative Commons Attribution-NonC Last Changes ============ -######Version 1.0.0.0 -* Pre-Release +######Version 1.0.0.1 +* Added icon and logo +* Locked the window size +* New color for the Genuine quality of the RedPill's preset (#008040) +* Fixed URL of Changelog and License buttons Screenshots ============ diff --git a/Source Code/TF2 Quality Color Edit/AboutWindow.Designer.vb b/Source Code/TF2 Quality Color Edit/AboutWindow.Designer.vb index 23dbba6..8a5f703 100644 --- a/Source Code/TF2 Quality Color Edit/AboutWindow.Designer.vb +++ b/Source Code/TF2 Quality Color Edit/AboutWindow.Designer.vb @@ -85,6 +85,7 @@ Partial Class AboutWindow ' 'PictureBox2 ' + Me.PictureBox2.BackgroundImage = Global.TF2_Color_Edit.My.Resources.Resources.TF2ColorEdit_Logo resources.ApplyResources(Me.PictureBox2, "PictureBox2") Me.PictureBox2.Name = "PictureBox2" Me.PictureBox2.TabStop = False diff --git a/Source Code/TF2 Quality Color Edit/AboutWindow.resx b/Source Code/TF2 Quality Color Edit/AboutWindow.resx index ad6d8a0..a32abb5 100644 --- a/Source Code/TF2 Quality Color Edit/AboutWindow.resx +++ b/Source Code/TF2 Quality Color Edit/AboutWindow.resx @@ -342,11 +342,14 @@ 1 + + Stretch + - 12, 9 + 10, 9 - 100, 50 + 129, 129 20 diff --git a/Source Code/TF2 Quality Color Edit/AboutWindow.vb b/Source Code/TF2 Quality Color Edit/AboutWindow.vb index 28b63c1..204285e 100644 --- a/Source Code/TF2 Quality Color Edit/AboutWindow.vb +++ b/Source Code/TF2 Quality Color Edit/AboutWindow.vb @@ -3,15 +3,14 @@ Public Class AboutWindow Private Sub Form2_Load() Handles MyBase.Load VersionLabel.Text = System.String.Format(VersionLabel.Text, My.Application.Info.Version.Major, My.Application.Info.Version.Minor, My.Application.Info.Version.Build, My.Application.Info.Version.Revision) - 'ICON - 'Icon = My.Resources.SteamCMDGUI_Icon + Icon = My.Resources.TF2ColorEdit_Icon End Sub Private Sub LicenseURL_Click() Handles LicenseURL.Click If File.Exists("License.txt") Then Process.Start("License.txt") Else - Process.Start("https://raw.github.com/DioJoestar/TF2-Color-Edit/master/License.txt") + Process.Start("https://raw.githubusercontent.com/DioJoestar/TF2-Color-Edit/master/Documentation/License.txt") End If End Sub @@ -19,7 +18,7 @@ Public Class AboutWindow If File.Exists("Changelog.txt") Then Process.Start("Changelog.txt") Else - Process.Start("https://raw.github.com/DioJoestar/TF2-Color-Edit/master/Changelog.txt") + Process.Start("https://raw.githubusercontent.com/DioJoestar/TF2-Color-Edit/master/Documentation/Changelog.txt") End If End Sub diff --git a/Source Code/TF2 Quality Color Edit/MainMenu.Designer.vb b/Source Code/TF2 Quality Color Edit/MainMenu.Designer.vb index 22cbb82..34e7766 100644 --- a/Source Code/TF2 Quality Color Edit/MainMenu.Designer.vb +++ b/Source Code/TF2 Quality Color Edit/MainMenu.Designer.vb @@ -159,13 +159,13 @@ Partial Class MainMenu Me.ColorsToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem() Me.DefaultToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem() Me.RedPillsToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem() + Me.HelpToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem() + Me.AboutToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem() Me.ColorDialog1 = New System.Windows.Forms.ColorDialog() Me.FileOpenButton = New System.Windows.Forms.Button() Me.FilePathTextBox = New System.Windows.Forms.TextBox() Me.OpenFileDialog1 = New System.Windows.Forms.OpenFileDialog() Me.Status = New System.Windows.Forms.TextBox() - Me.HelpToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem() - Me.AboutToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem() Me.GroupBox1.SuspendLayout() Me.Tab.SuspendLayout() Me.QualityTab.SuspendLayout() @@ -1516,14 +1516,14 @@ Partial Class MainMenu 'OpenToolStripMenuItem ' Me.OpenToolStripMenuItem.Name = "OpenToolStripMenuItem" - Me.OpenToolStripMenuItem.Size = New System.Drawing.Size(152, 22) + Me.OpenToolStripMenuItem.Size = New System.Drawing.Size(100, 22) Me.OpenToolStripMenuItem.Text = "Load" ' 'SaveToolStripMenuItem ' Me.SaveToolStripMenuItem.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.QualitiesToolStripMenuItem, Me.AttributesToolStripMenuItem}) Me.SaveToolStripMenuItem.Name = "SaveToolStripMenuItem" - Me.SaveToolStripMenuItem.Size = New System.Drawing.Size(152, 22) + Me.SaveToolStripMenuItem.Size = New System.Drawing.Size(100, 22) Me.SaveToolStripMenuItem.Text = "Save" ' 'QualitiesToolStripMenuItem @@ -1541,12 +1541,12 @@ Partial Class MainMenu 'ToolStripSeparator1 ' Me.ToolStripSeparator1.Name = "ToolStripSeparator1" - Me.ToolStripSeparator1.Size = New System.Drawing.Size(149, 6) + Me.ToolStripSeparator1.Size = New System.Drawing.Size(97, 6) ' 'ExitToolStripMenuItem ' Me.ExitToolStripMenuItem.Name = "ExitToolStripMenuItem" - Me.ExitToolStripMenuItem.Size = New System.Drawing.Size(152, 22) + Me.ExitToolStripMenuItem.Size = New System.Drawing.Size(100, 22) Me.ExitToolStripMenuItem.Text = "Exit" ' 'ColorsToolStripMenuItem @@ -1568,6 +1568,19 @@ Partial Class MainMenu Me.RedPillsToolStripMenuItem.Size = New System.Drawing.Size(118, 22) Me.RedPillsToolStripMenuItem.Text = "RedPill's" ' + 'HelpToolStripMenuItem + ' + Me.HelpToolStripMenuItem.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.AboutToolStripMenuItem}) + Me.HelpToolStripMenuItem.Name = "HelpToolStripMenuItem" + Me.HelpToolStripMenuItem.Size = New System.Drawing.Size(44, 20) + Me.HelpToolStripMenuItem.Text = "Help" + ' + 'AboutToolStripMenuItem + ' + Me.AboutToolStripMenuItem.Name = "AboutToolStripMenuItem" + Me.AboutToolStripMenuItem.Size = New System.Drawing.Size(107, 22) + Me.AboutToolStripMenuItem.Text = "About" + ' 'FileOpenButton ' Me.FileOpenButton.Location = New System.Drawing.Point(599, 27) @@ -1600,19 +1613,6 @@ Partial Class MainMenu Me.Status.Size = New System.Drawing.Size(676, 20) Me.Status.TabIndex = 3 ' - 'HelpToolStripMenuItem - ' - Me.HelpToolStripMenuItem.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.AboutToolStripMenuItem}) - Me.HelpToolStripMenuItem.Name = "HelpToolStripMenuItem" - Me.HelpToolStripMenuItem.Size = New System.Drawing.Size(44, 20) - Me.HelpToolStripMenuItem.Text = "Help" - ' - 'AboutToolStripMenuItem - ' - Me.AboutToolStripMenuItem.Name = "AboutToolStripMenuItem" - Me.AboutToolStripMenuItem.Size = New System.Drawing.Size(152, 22) - Me.AboutToolStripMenuItem.Text = "About" - ' 'MainMenu ' Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) @@ -1624,6 +1624,8 @@ Partial Class MainMenu Me.Controls.Add(Me.GroupBox1) Me.Controls.Add(Me.MenuStrip1) Me.MainMenuStrip = Me.MenuStrip1 + Me.MaximumSize = New System.Drawing.Size(716, 454) + Me.MinimumSize = New System.Drawing.Size(716, 454) Me.Name = "MainMenu" Me.Text = "TF2 Color Edit" Me.GroupBox1.ResumeLayout(False) diff --git a/Source Code/TF2 Quality Color Edit/MainMenu.resx b/Source Code/TF2 Quality Color Edit/MainMenu.resx index 476f03c..57cd83f 100644 --- a/Source Code/TF2 Quality Color Edit/MainMenu.resx +++ b/Source Code/TF2 Quality Color Edit/MainMenu.resx @@ -126,4 +126,7 @@ 255, 17 + + True + \ No newline at end of file diff --git a/Source Code/TF2 Quality Color Edit/MainMenu.vb b/Source Code/TF2 Quality Color Edit/MainMenu.vb index 85d7b96..d88c86e 100644 --- a/Source Code/TF2 Quality Color Edit/MainMenu.vb +++ b/Source Code/TF2 Quality Color Edit/MainMenu.vb @@ -7,6 +7,9 @@ End Module Public Class MainMenu Private Sub MainMenu_Load() Handles MyBase.Load + Icon = My.Resources.TF2ColorEdit_Icon + Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0F, 13.0F) + Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font ItemThumbnail.BackColor = ColorTranslator.FromHtml("#3C352E") ItemNameLabel.BackColor = ColorTranslator.FromHtml("#2A2725") ItemNameLabel.ForeColor = ColorTranslator.FromHtml("#FFD700") @@ -904,9 +907,9 @@ Public Class MainMenu RGB_R_Normal.Text = "178" RGB_G_Normal.Text = "178" RGB_B_Normal.Text = "178" - RGB_R_Genuine.Text = "79" - RGB_G_Genuine.Text = "230" - RGB_B_Genuine.Text = "79" + RGB_R_Genuine.Text = "0" + RGB_G_Genuine.Text = "128" + RGB_B_Genuine.Text = "64" RGB_R_Vintage.Text = "94" RGB_G_Vintage.Text = "152" RGB_B_Vintage.Text = "217" diff --git a/Source Code/TF2 Quality Color Edit/My Project/AssemblyInfo.vb b/Source Code/TF2 Quality Color Edit/My Project/AssemblyInfo.vb index 95eabd1..3bb17cf 100644 --- a/Source Code/TF2 Quality Color Edit/My Project/AssemblyInfo.vb +++ b/Source Code/TF2 Quality Color Edit/My Project/AssemblyInfo.vb @@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices ' mediante el asterisco ('*'), como se muestra a continuación: ' - - + + diff --git a/Source Code/TF2 Quality Color Edit/My Project/Resources.Designer.vb b/Source Code/TF2 Quality Color Edit/My Project/Resources.Designer.vb index 1331a42..c1cb834 100644 --- a/Source Code/TF2 Quality Color Edit/My Project/Resources.Designer.vb +++ b/Source Code/TF2 Quality Color Edit/My Project/Resources.Designer.vb @@ -89,5 +89,25 @@ Namespace My.Resources Return CType(obj,System.Drawing.Bitmap) End Get End Property + + ''' + ''' Busca un recurso adaptado de tipo System.Drawing.Icon similar a (Icono). + ''' + Friend ReadOnly Property TF2ColorEdit_Icon() As System.Drawing.Icon + Get + Dim obj As Object = ResourceManager.GetObject("TF2ColorEdit_Icon", resourceCulture) + Return CType(obj,System.Drawing.Icon) + End Get + End Property + + ''' + ''' Busca un recurso adaptado de tipo System.Drawing.Bitmap. + ''' + Friend ReadOnly Property TF2ColorEdit_Logo() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("TF2ColorEdit_Logo", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property End Module End Namespace diff --git a/Source Code/TF2 Quality Color Edit/My Project/Resources.resx b/Source Code/TF2 Quality Color Edit/My Project/Resources.resx index 3e02152..8cbd2d8 100644 --- a/Source Code/TF2 Quality Color Edit/My Project/Resources.resx +++ b/Source Code/TF2 Quality Color Edit/My Project/Resources.resx @@ -127,4 +127,10 @@ ..\Resources\spy_hat.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\Icons\TF2ColorEdit_Icon.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\TF2ColorEdit_Logo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/Source Code/TF2 Quality Color Edit/Resources/Icons/TF2ColorEdit_Icon.ico b/Source Code/TF2 Quality Color Edit/Resources/Icons/TF2ColorEdit_Icon.ico new file mode 100644 index 0000000..c9d3629 Binary files /dev/null and b/Source Code/TF2 Quality Color Edit/Resources/Icons/TF2ColorEdit_Icon.ico differ diff --git a/Source Code/TF2 Quality Color Edit/Resources/TF2ColorEdit_Logo.png b/Source Code/TF2 Quality Color Edit/Resources/TF2ColorEdit_Logo.png new file mode 100644 index 0000000..5e62723 Binary files /dev/null and b/Source Code/TF2 Quality Color Edit/Resources/TF2ColorEdit_Logo.png differ diff --git a/Source Code/TF2 Quality Color Edit/TF2 Quality Color Edit.vbproj b/Source Code/TF2 Quality Color Edit/TF2 Quality Color Edit.vbproj index 1e5d40f..c01a4a2 100644 --- a/Source Code/TF2 Quality Color Edit/TF2 Quality Color Edit.vbproj +++ b/Source Code/TF2 Quality Color Edit/TF2 Quality Color Edit.vbproj @@ -67,6 +67,9 @@ My Project\app.manifest + + Resources\Icons\TF2ColorEdit_Icon.ico + @@ -177,6 +180,12 @@ + + + + + +