Categories of Settings to make things more clear.

This commit is contained in:
brunoherbelin
2020-06-29 20:26:36 +02:00
parent 3b9395b590
commit 1309a479b5
7 changed files with 130 additions and 89 deletions

View File

@@ -286,7 +286,7 @@ void ImGuiVisitor::visit (MediaSource& s)
else {
ImGui::Text("Video File");
if ( ImGui::Button(IMGUI_TITLE_MEDIAPLAYER, ImVec2(IMGUI_RIGHT_ALIGN, 0)) )
Settings::application.media_player = true;
Settings::application.widget.media_player = true;
}
ImGuiToolkit::ButtonOpenUrl( SystemToolkit::path_filename(s.path()).c_str(), ImVec2(IMGUI_RIGHT_ALIGN, 0) );
}
@@ -306,7 +306,7 @@ void ImGuiVisitor::visit (RenderSource& s)
{
ImGui::Text("Rendering Output");
if ( ImGui::Button(IMGUI_TITLE_PREVIEW, ImVec2(IMGUI_RIGHT_ALIGN, 0)) )
Settings::application.preview = true;
Settings::application.widget.preview = true;
}
void ImGuiVisitor::visit (CloneSource& s)