From 64a7fef7c1744b6741c84cc86ef4bcf0000fa5ca Mon Sep 17 00:00:00 2001 From: Bruno Herbelin Date: Sun, 13 Aug 2023 09:33:18 +0200 Subject: [PATCH] Improve Insert panel terminilogy --- src/UserInterfaceManager.cpp | 16 +++++++++------- src/defines.h | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/UserInterfaceManager.cpp b/src/UserInterfaceManager.cpp index 4f77b0c..b1b340b 100644 --- a/src/UserInterfaceManager.cpp +++ b/src/UserInterfaceManager.cpp @@ -3230,7 +3230,7 @@ void Navigator::RenderNewPannel() static DialogToolkit::OpenMediaDialog fileimportdialog("Open Media"); static DialogToolkit::OpenFolderDialog folderimportdialog("Select Folder"); - ImGui::Text("Load media file:"); + ImGui::Text("Load media or session file:"); // clic button to load file if ( ImGui::Button( ICON_FA_FOLDER_OPEN " Open", ImVec2(ImGui::GetContentRegionAvail().x IMGUI_RIGHT_ALIGN, 0)) ) @@ -3241,7 +3241,7 @@ void Navigator::RenderNewPannel() ICON_FA_CARET_RIGHT " Video (*.mpg, *mov, *.avi, etc.)\n" ICON_FA_CARET_RIGHT " Image (*.jpg, *.png, etc.)\n" ICON_FA_CARET_RIGHT " Vector graphics (*.svg)\n" - ICON_FA_CARET_RIGHT " vimix session (*.mix)\n" + ICON_FA_CARET_RIGHT " Vimix session (*.mix)\n" "\nNB: Equivalent to dropping the file in the workspace"); // get media file if dialog finished @@ -3430,7 +3430,7 @@ void Navigator::RenderNewPannel() static MultiFileRecorder _video_recorder; static int _fps = 25; - ImGui::Text("Load image sequence:"); + ImGui::Text("Create image sequence:"); // clic button to load file if ( ImGui::Button( ICON_FA_FOLDER_OPEN " Open multiple", ImVec2(ImGui::GetContentRegionAvail().x IMGUI_RIGHT_ALIGN, 0)) ) { @@ -3441,9 +3441,10 @@ void Navigator::RenderNewPannel() // Indication ImGui::SameLine(); - ImGuiToolkit::HelpToolTip("Create a source displaying a sequence of images (PNG, JPG, TIF);\n" + ImGuiToolkit::HelpToolTip("Create a source displaying a sequence of images;\n" ICON_FA_CARET_RIGHT " files numbered consecutively\n" - ICON_FA_CARET_RIGHT " create a video from many images\n"); + ICON_FA_CARET_RIGHT " create a video from many images\n" + "Supports PNG, JPG or TIF."); // return from thread for folder openning if (_selectImagesDialog.closed()) { @@ -3591,7 +3592,8 @@ void Navigator::RenderNewPannel() // Indication ImGui::SameLine(); - ImGuiToolkit::HelpToolTip("Create a source with graphics generated algorithmically."); + ImGuiToolkit::HelpToolTip("Create a source with graphics generated algorithmically.\n" + "Custom gstreamer pipelines are also possible."); if (custom_pipeline) { static std::vector< std::pair< std::string, std::string> > _examples = { {"Videotest", "videotestsrc horizontal-speed=1 ! video/x-raw, width=640, height=480 " }, @@ -3656,7 +3658,7 @@ void Navigator::RenderNewPannel() // External source creator else if (Settings::application.source.new_type == SOURCE_CONNECTED){ - ImGui::Text("Connect device or stream:"); + ImGui::Text("Input device or stream:"); ImGui::SetNextItemWidth(IMGUI_RIGHT_ALIGN); if (ImGui::BeginCombo("##External", "Select ")) diff --git a/src/defines.h b/src/defines.h index c654ac2..1988561 100644 --- a/src/defines.h +++ b/src/defines.h @@ -204,7 +204,7 @@ #define SHORTCUT_FULLSCREEN CTRL_MOD "F" #define TOOLTIP_MAIN "Main menu " #define SHORTCUT_MAIN "HOME" -#define TOOLTIP_NEW_SOURCE "New source " +#define TOOLTIP_NEW_SOURCE "Insert " #define SHORTCUT_NEW_SOURCE "INS" #define TOOLTIP_HIDE "Hide windows " #define TOOLTIP_SHOW "Show windows "