Equalizers could only used, when they are handled by screen. Later we will give possibility to add "normal" equalizers which shows bg-music.
This commit is contained in:
1 parent
c40f07c2a1
commit
1cca599a74
3 files changed
+10
-1
No files matched your search
@@ -1911,7 +1911,8 @@ namespace Vocaluxe.Menu
|
||||
case EType.TEqualizer:
|
||||
if (!_Equalizers[_Interactions[interaction].Num].ScreenHandles)
|
||||
{
|
||||
//_Equalizers[_Interactions[interaction].Num].Update(CSound.Get
|
||||
//TODO:
|
||||
//Call Update-Method of Equalizer and give infos about bg-sound.
|
||||
//_Equalizers[_Interactions[interaction].Num].Draw();
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -107,6 +107,11 @@ namespace Vocaluxe.Screens
|
||||
{
|
||||
OriginalPlayerAvatarTextures[i] = Statics[htStatics(StaticPlayerAvatar[i])].Texture;
|
||||
}
|
||||
|
||||
for (int i = 1; i <= CSettings.MaxNumPlayer; i++)
|
||||
{
|
||||
Equalizers[htEqualizer("EqualizerPlayer" + i)].ScreenHandles = true;
|
||||
}
|
||||
}
|
||||
|
||||
public override bool HandleInput(KeyEvent KeyEvent)
|
||||
|
||||
@@ -109,6 +109,9 @@ namespace Vocaluxe.Screens
|
||||
Statics[htStatics(StaticEnergyChannel[i])].Visible = false;
|
||||
ChannelEnergy[i] = 0f;
|
||||
}
|
||||
|
||||
Equalizers[htEqualizer(EqualizerChannel1)].ScreenHandles = true;
|
||||
Equalizers[htEqualizer(EqualizerChannel2)].ScreenHandles = true;
|
||||
}
|
||||
|
||||
public override bool HandleInput(KeyEvent KeyEvent)
|
||||
|
||||
Reference in new issue
Block a user