Added signal light for receiving radio message

This commit is contained in:
Królik Uszasty
2022-02-20 23:47:07 +01:00
parent 827a3394df
commit 50dfa88d10
4 changed files with 20 additions and 1 deletions

View File

@@ -159,3 +159,9 @@ TButton::play() {
if( m_state == true ) { m_soundfxincrease.play(); }
else { m_soundfxdecrease.play(); }
}
void
TButton::gain(float new_volume) {
m_soundfxincrease.gain(new_volume);
m_soundfxdecrease.gain(new_volume);
}