tool switching implemented

This commit is contained in:
itsmattkc
2019-06-22 20:45:55 -07:00
parent 4090c452d6
commit 75081f76c9
11 changed files with 208 additions and 29 deletions
+7
View File
@@ -104,6 +104,13 @@ olive::MainWindow *Core::main_window()
return main_window_;
}
void Core::SetTool(const olive::tool::Tool &tool)
{
tool_ = tool;
emit ToolChanged(tool_);
}
void Core::AddOpenProject(ProjectPtr p)
{
open_projects_.append(p);