mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 18:59:59 +01:00
Minor UI and wording changes
This commit is contained in:
@@ -712,7 +712,7 @@ void ImGuiVisitor::visit (SessionGroupSource& s)
|
||||
ImGuiInputTextFlags_ReadOnly);
|
||||
ImGui::PopStyleColor(1);
|
||||
|
||||
if ( ImGui::Button( ICON_FA_SIGN_OUT_ALT " Import", ImVec2(IMGUI_RIGHT_ALIGN, 0)) )
|
||||
if ( ImGui::Button( ICON_FA_SIGN_OUT_ALT " Expand", ImVec2(IMGUI_RIGHT_ALIGN, 0)) )
|
||||
Mixer::manager().import( &s );
|
||||
ImGui::SameLine(0, IMGUI_SAME_LINE);
|
||||
ImGui::Text("Sources");
|
||||
|
||||
@@ -176,6 +176,8 @@ void InfoVisitor::visit (SessionGroupSource& s)
|
||||
return;
|
||||
|
||||
std::ostringstream oss;
|
||||
|
||||
if (!brief_) oss << "Group of ";
|
||||
uint N = s.session()->size();
|
||||
oss << N << " source" << (N>1 ? "s" : "");
|
||||
uint T = s.session()->numSources();
|
||||
@@ -187,7 +189,7 @@ void InfoVisitor::visit (SessionGroupSource& s)
|
||||
oss << ", RGB, " << s.session()->frame()->width() << " x " << s.session()->frame()->height();
|
||||
}
|
||||
else {
|
||||
oss << " in Group"<< std::endl;
|
||||
oss << std::endl;
|
||||
oss << "RGB" << std::endl;
|
||||
oss << s.session()->frame()->width() << " x " << s.session()->frame()->height();
|
||||
}
|
||||
|
||||
@@ -546,7 +546,7 @@ void Source::attach(FrameBuffer *renderbuffer)
|
||||
// if a symbol is available
|
||||
if (symbol_)
|
||||
// hack to place the symbols in the corner independently of aspect ratio
|
||||
symbol_->translation_.x = 1.1f * (renderbuffer_->aspectRatio()-1.f);
|
||||
symbol_->translation_.x = (renderbuffer_->aspectRatio() - 0.3f) / renderbuffer_->aspectRatio();
|
||||
|
||||
// hack to place the initials in the corner independently of aspect ratio
|
||||
initial_0_->translation_.x = 0.2f - renderbuffer_->aspectRatio();
|
||||
|
||||
@@ -5934,7 +5934,7 @@ void Navigator::RenderSourcePannel(Source *s)
|
||||
// clone & delete buttons
|
||||
ImGui::Text(" ");
|
||||
// Action on source
|
||||
if ( ImGui::Button( ICON_FA_SHARE_SQUARE " Clone", ImVec2(ImGui::GetContentRegionAvail().x, 0)) )
|
||||
if ( ImGui::Button( ICON_FA_SHARE_SQUARE " Clone & Filter", ImVec2(ImGui::GetContentRegionAvail().x, 0)) )
|
||||
Mixer::manager().addSource ( Mixer::manager().createSourceClone() );
|
||||
if ( ImGui::Button( ICON_FA_BACKSPACE " Delete", ImVec2(ImGui::GetContentRegionAvail().x, 0)) ) {
|
||||
Mixer::manager().deleteSource(s);
|
||||
|
||||
Reference in New Issue
Block a user