mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 10:19:59 +01:00
BugFix UI
This commit is contained in:
@@ -648,8 +648,6 @@ bool ImGuiToolkit::BeginMenuIcon(int i, int j, const char *label, bool enabled)
|
||||
{
|
||||
ImGuiWindow *win = ImGui::GetCurrentWindow();
|
||||
ImVec2 draw_pos = ImGui::GetCursorScreenPos();
|
||||
ImGuiContext &g = *GImGui;
|
||||
draw_pos.y -= g.Style.ItemSpacing.y * 0.5f;
|
||||
|
||||
char text_buf[256];
|
||||
ImFormatString(text_buf, IM_ARRAYSIZE(text_buf), " %s", label);
|
||||
|
||||
@@ -5857,7 +5857,7 @@ void Navigator::RenderMainPannelSettings()
|
||||
//
|
||||
// Steaming preferences
|
||||
//
|
||||
Settings::application.pannel_settings[1] = ImGui::CollapsingHeader("Stream",
|
||||
Settings::application.pannel_settings[1] = ImGui::CollapsingHeader("Streaming",
|
||||
Settings::application.pannel_settings[1] ? ImGuiTreeNodeFlags_DefaultOpen : 0);
|
||||
|
||||
if (Settings::application.pannel_settings[1]){
|
||||
@@ -5941,7 +5941,7 @@ void Navigator::RenderMainPannelSettings()
|
||||
//
|
||||
// OSC preferences
|
||||
//
|
||||
Settings::application.pannel_settings[2] = ImGui::CollapsingHeader("OSC",
|
||||
Settings::application.pannel_settings[2] = ImGui::CollapsingHeader("Open Sound Control",
|
||||
Settings::application.pannel_settings[2] ? ImGuiTreeNodeFlags_DefaultOpen : 0);
|
||||
|
||||
if (Settings::application.pannel_settings[2]){
|
||||
@@ -5949,7 +5949,6 @@ void Navigator::RenderMainPannelSettings()
|
||||
// ImGui::TextDisabled("OSC");
|
||||
|
||||
std::ostringstream msg;
|
||||
msg << "Open Sound Control" << std::endl << std::endl;
|
||||
msg << "vimix accepts OSC messages sent by UDP on Port " << Settings::application.control.osc_port_receive;
|
||||
msg << " and replies on Port " << Settings::application.control.osc_port_send << std::endl << std::endl;
|
||||
msg << "Valid network addresses:" << std::endl;
|
||||
@@ -5997,6 +5996,7 @@ void Navigator::RenderMainPannelSettings()
|
||||
Control::manager().init();
|
||||
ImGui::SameLine();
|
||||
ImGui::Text("Translator");
|
||||
ImGuiToolkit::Spacing();
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user