Skip to content

Commit

Permalink
Labels will automatically adjust when dealing with eyes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebane1 committed Jan 26, 2023
1 parent fff68d8 commit af57530
Show file tree
Hide file tree
Showing 10 changed files with 64 additions and 37 deletions.
Binary file modified .vs/FFXIVLooseTextureCompiler/DesignTimeBuild/.dtbcache.v2
Binary file not shown.
Binary file modified .vs/FFXIVLooseTextureCompiler/v17/.suo
Binary file not shown.
61 changes: 31 additions & 30 deletions FFXIVLooseTextureCompiler/CustomPathDialog.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 14 additions & 1 deletion FFXIVLooseTextureCompiler/CustomPathDialog.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using FFXIVLooseTextureCompiler.PathOrganization;
using FFXIVLooseTextureCompiler.ImageProcessing;
using FFXIVLooseTextureCompiler.PathOrganization;
using System;
using System.Collections.Generic;
using System.ComponentModel;
Expand Down Expand Up @@ -77,5 +78,17 @@ private void CustomPathDialog_Load(object sender, EventArgs e) {
private void button1_Click(object sender, EventArgs e) {
Close();
}

private void materialSetNameTextBox_TextChanged(object sender, EventArgs e) {
if (materialSetNameTextBox.Text.ToLower().Contains("eye")) {
diffuseLabel.Text = "Internal Normal";
normalLabel.Text = "Internal Multi";
multiLabel.Text = "Internal Catchlight";
} else {
diffuseLabel.Text = "Internal Diffuse";
normalLabel.Text = "Internal Normal";
multiLabel.Text = "Internal Multi";
}
}
}
}
6 changes: 3 additions & 3 deletions FFXIVLooseTextureCompiler/FFXIVLooseTextureCompiler.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<AssemblyVersion>1.0.1.1</AssemblyVersion>
<FileVersion>1.0.1.1</FileVersion>
<Version>1.0.1.1</Version>
<AssemblyVersion>1.0.1.2</AssemblyVersion>
<FileVersion>1.0.1.2</FileVersion>
<Version>1.0.1.2</Version>
<RunPostBuildEvent>Always</RunPostBuildEvent>
<Title>FFXIV Loose Texture Compiler</Title>
<Copyright>Lawener Industries</Copyright>
Expand Down
1 change: 1 addition & 0 deletions FFXIVLooseTextureCompiler/FindAndReplace.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions FFXIVLooseTextureCompiler/FindAndReplace.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,17 @@ private void CustomPathDialog_Load(object sender, EventArgs e) {
private void button1_Click(object sender, EventArgs e) {
Close();
}

private void replacementString_TextChanged(object sender, EventArgs e) {
if (replacementString.Text.ToLower().Contains("eye")) {
diffuse.LabelName.Text = "normal";
normal.LabelName.Text = "multi";
multi.LabelName.Text = "catchlight";
} else {
diffuse.LabelName.Text = "diffuse";
normal.LabelName.Text = "normal";
multi.LabelName.Text = "multi";
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"projects": {
"C:\\Users\\stel9\\source\\repos\\FFXIVLooseTextureCompiler\\FFXIVLooseTextureCompiler\\FFXIVLooseTextureCompiler.csproj": {
"version": "1.0.1.1",
"version": "1.0.1.2",
"restore": {
"projectUniqueName": "C:\\Users\\stel9\\source\\repos\\FFXIVLooseTextureCompiler\\FFXIVLooseTextureCompiler\\FFXIVLooseTextureCompiler.csproj",
"projectName": "FFXIVLooseTextureCompiler",
Expand Down
2 changes: 1 addition & 1 deletion FFXIVLooseTextureCompiler/obj/project.assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder": {}
},
"project": {
"version": "1.0.1.1",
"version": "1.0.1.2",
"restore": {
"projectUniqueName": "C:\\Users\\stel9\\source\\repos\\FFXIVLooseTextureCompiler\\FFXIVLooseTextureCompiler\\FFXIVLooseTextureCompiler.csproj",
"projectName": "FFXIVLooseTextureCompiler",
Expand Down
2 changes: 1 addition & 1 deletion FFXIVLooseTextureCompiler/obj/project.nuget.cache
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": 2,
"dgSpecHash": "lvTY8r0O+AxRRdAAOBKCXjt8EVdE1T0AQvlZsWJOnJH6kk1ee68qxsGc9Ab/UDdZKiwxUtgLWZl7nNIfUSouUA==",
"dgSpecHash": "S5YKKEvCweuqJe71SNDejwfm1Ff86/tyvsH1iVv8Vfpb/O7XIzYzp3P13zjjYeycMmFU7mhezuittEJTwjz8jw==",
"success": true,
"projectFilePath": "C:\\Users\\stel9\\source\\repos\\FFXIVLooseTextureCompiler\\FFXIVLooseTextureCompiler\\FFXIVLooseTextureCompiler.csproj",
"expectedPackageFiles": [
Expand Down

0 comments on commit af57530

Please sign in to comment.