mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-08 08:50:00 +01:00
Work in progress: setting status of source on creation (automatic
activation or not?).
This commit is contained in:
@@ -37,6 +37,13 @@ Session::~Session()
|
||||
|
||||
}
|
||||
|
||||
void Session::setActive (bool on)
|
||||
{
|
||||
for(auto it = sources_.begin(); it != sources_.end(); it++) {
|
||||
(*it)->setActive(on);
|
||||
}
|
||||
}
|
||||
|
||||
// update all sources
|
||||
void Session::update(float dt)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user