mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
Added signal light for receiving radio message
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user