Skip to content

Commit e7cca97

Browse files
committed
Renaming ShinNFDebug display output mode to Spectrum
1 parent e47df43 commit e7cca97

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

ColorChord.NET/ColorChord.NET.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<EmbeddedResource Include="Outputs\Display\Shaders\Radar.frag" />
4141
<EmbeddedResource Include="Outputs\Display\Shaders\Radar.vert" />
4242
<EmbeddedResource Include="Outputs\Display\Shaders\RadialPoles.frag" />
43-
<EmbeddedResource Include="Outputs\Display\Shaders\ShinNFDebug.frag" />
43+
<EmbeddedResource Include="Outputs\Display\Shaders\Spectrum.frag" />
4444
<EmbeddedResource Include="Outputs\Display\Shaders\SmoothCircle.frag" />
4545
<EmbeddedResource Include="Outputs\Display\Shaders\Passthrough2.vert" />
4646
<EmbeddedResource Include="Outputs\Display\Shaders\Passthrough2Textured.frag" />

ColorChord.NET/Outputs/Display/ShinNFDebug.cs renamed to ColorChord.NET/Outputs/Display/Spectrum.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace ColorChord.NET.Outputs.Display;
1313

14-
public class ShinNFDebug : IDisplayMode, IConfigurableAttr
14+
public class Spectrum : IDisplayMode, IConfigurableAttr
1515
{
1616
private readonly DisplayOpenGL HostWindow;
1717
private readonly NoteFinderCommon NoteFinder;
@@ -43,11 +43,11 @@ public class ShinNFDebug : IDisplayMode, IConfigurableAttr
4343
/// <summary> Whether this output is ready to accept data and draw. </summary>
4444
private bool SetupDone = false;
4545

46-
public ShinNFDebug(DisplayOpenGL parent, IVisualizer visualizer, Dictionary<string, object> config)
46+
public Spectrum(DisplayOpenGL parent, IVisualizer visualizer, Dictionary<string, object> config)
4747
{
4848
this.HostWindow = parent;
4949
Configurer.Configure(this, config);
50-
this.NoteFinder = Configurer.FindNoteFinder(config) ?? throw new Exception($"{nameof(ShinNFDebug)} under \"{this.HostWindow.Name}\" could not find the NoteFinder to attach to.");
50+
this.NoteFinder = Configurer.FindNoteFinder(config) ?? throw new Exception($"{nameof(Spectrum)} under \"{this.HostWindow.Name}\" could not find the NoteFinder to attach to.");
5151
this.G2NoteFinder = this.NoteFinder as Gen2NoteFinder;
5252
this.RawDataIn = new float[this.NoteFinder.AllBinValues.Length * 2];
5353
}
@@ -61,7 +61,7 @@ public void Load()
6161
// TODO: Blending/transparency setup needed?
6262

6363
// Create objects
64-
this.Shader = new("Passthrough2Textured.vert", "ShinNFDebug.frag");
64+
this.Shader = new("Passthrough2Textured.vert", "Spectrum.frag");
6565
this.Shader.Use();
6666

6767
this.VertexBufferHandle = GL.GenBuffer();

0 commit comments

Comments
 (0)