mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-14 03:39:57 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user