mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Cleanup and unify views interface (combo)
This commit is contained in:
@@ -431,11 +431,11 @@ void ImGuiVisitor::visit (Source& s)
|
||||
// Inform on workspace
|
||||
ImGui::SetCursorPos( ImVec2(preview_width + 20, pos.y + ImGui::GetFrameHeightWithSpacing()) );
|
||||
if (s.workspace() == Source::BACKGROUND)
|
||||
ImGuiToolkit::HelpIcon("Background",10, 16);
|
||||
ImGuiToolkit::HelpIcon("in Background",10, 16);
|
||||
else if (s.workspace() == Source::FOREGROUND)
|
||||
ImGuiToolkit::HelpIcon("Foreground",12, 16);
|
||||
ImGuiToolkit::HelpIcon("in Foreground",12, 16);
|
||||
else
|
||||
ImGuiToolkit::HelpIcon("Stage",11, 16);
|
||||
ImGuiToolkit::HelpIcon("in Workspace",11, 16);
|
||||
|
||||
// locking
|
||||
ImGui::SetCursorPos( ImVec2(preview_width + 20, pos.y + 2.f * ImGui::GetFrameHeightWithSpacing()) );
|
||||
|
||||
Reference in New Issue
Block a user