mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Improve group session (play, info)
This commit is contained in:
@@ -119,6 +119,16 @@ void SessionSource::update(float dt)
|
||||
|
||||
}
|
||||
|
||||
void SessionSource::play (bool on)
|
||||
{
|
||||
paused_ = !on;
|
||||
|
||||
if (session_) {
|
||||
for( SourceList::iterator it = session_->begin(); it != session_->end(); ++it)
|
||||
(*it)->setActive(!paused_);
|
||||
}
|
||||
}
|
||||
|
||||
void SessionSource::replay ()
|
||||
{
|
||||
if (session_) {
|
||||
|
||||
Reference in New Issue
Block a user