Change Player menu and new Frame inspector

Frame menu is active when a single source is selected. The Frame menu include actions to capture frame and to enable Frame Inspector. Frame inspector zooms on the image at cursor coordinate. Previous Control menu actions are back to main menu.
This commit is contained in:
Bruno Herbelin
2022-07-23 22:45:14 +02:00
parent ae5ae24f6f
commit 5a2c0e15e9
3 changed files with 163 additions and 109 deletions

View File

@@ -173,6 +173,7 @@ void Settings::Save(uint64_t runtime)
SourceConfNode->SetAttribute("res", application.source.res);
SourceConfNode->SetAttribute("capture_naming", application.source.capture_naming);
SourceConfNode->SetAttribute("capture_path", application.source.capture_path.c_str());
SourceConfNode->SetAttribute("inspector_zoom", application.source.inspector_zoom);
pRoot->InsertEndChild(SourceConfNode);
// Brush
@@ -422,6 +423,7 @@ void Settings::Load()
application.source.capture_path = std::string(path_);
else
application.source.capture_path = SystemToolkit::home_path();
sourceconfnode->QueryFloatAttribute("inspector_zoom", &application.source.inspector_zoom);
}
// Transition