@@ -594,8 +594,7 @@ void App::renderTranscodeTab() {
594594 const std::string p = pickFile (" Select ADM/BW64 Input" , {" *.wav" , " *.xml" }, " ADM/BW64 files" );
595595 if (!p.empty ()) mTcInput = p;
596596 }
597- ImGui::SameLine ();
598- ImGui::TextColored ({0 .5f , 0 .5f , 0 .5f , 1 .f }, " Expected: ADM WAV/BWF or ADM XML" );
597+ if (ImGui::IsItemHovered ()) ImGui::SetTooltip (" Expected: ADM WAV/BWF or ADM XML" );
599598
600599 ImGui::TextDisabled (" Format" );
601600 ImGui::SameLine (140 .f );
@@ -626,8 +625,7 @@ void App::renderTranscodeTab() {
626625 : pickDirectory (" Select Package Output Directory" );
627626 if (!p.empty ()) mTcOutput = p;
628627 }
629- ImGui::SameLine ();
630- ImGui::TextDisabled (mTcOutputType == 0 ? " Expected: scene.lusid.json" : " Expected: package directory" );
628+ if (ImGui::IsItemHovered ()) ImGui::SetTooltip (mTcOutputType == 0 ? " Expected: scene.lusid.json" : " Expected: package directory" );
631629
632630 ImGui::Spacing ();
633631 ImGui::TextDisabled (" Options" );
@@ -741,8 +739,7 @@ void App::renderTranscodeTab() {
741739 const std::string p = pickFile (" Select scene.lusid.json" , {" *.json" }, " JSON files" );
742740 if (!p.empty ()) mTcAdmLusid = p;
743741 }
744- ImGui::SameLine ();
745- ImGui::TextColored ({0 .5f , 0 .5f , 0 .5f , 1 .f }, " Expected: scene.lusid.json" );
742+ if (ImGui::IsItemHovered ()) ImGui::SetTooltip (" Expected: scene.lusid.json" );
746743
747744 ImGui::TextDisabled (" Audio directory" );
748745 ImGui::SameLine (140 .f );
@@ -753,8 +750,7 @@ void App::renderTranscodeTab() {
753750 const std::string p = pickDirectory (" Select Stem WAV Directory" );
754751 if (!p.empty ()) mTcAdmWavDir = p;
755752 }
756- ImGui::SameLine ();
757- ImGui::TextColored ({0 .5f , 0 .5f , 0 .5f , 1 .f }, " Expected: directory containing mono stem WAVs" );
753+ if (ImGui::IsItemHovered ()) ImGui::SetTooltip (" Expected: directory containing mono stem WAVs" );
758754 } else {
759755 ImGui::TextDisabled (" LUSID package" );
760756 ImGui::SameLine (140 .f );
@@ -765,8 +761,7 @@ void App::renderTranscodeTab() {
765761 const std::string p = pickDirectory (" Select LUSID Package Directory" );
766762 if (!p.empty ()) mTcAdmLusidPkg = p;
767763 }
768- ImGui::SameLine ();
769- ImGui::TextColored ({0 .5f , 0 .5f , 0 .5f , 1 .f }, " Expected: LUSID package directory" );
764+ if (ImGui::IsItemHovered ()) ImGui::SetTooltip (" Expected: LUSID package directory" );
770765 }
771766
772767 ImGui::Spacing ();
@@ -779,8 +774,7 @@ void App::renderTranscodeTab() {
779774 const std::string p = pickDirectory (" Select Output Directory for ADM XML" );
780775 if (!p.empty ()) mTcAdmOutXml = (fs::path (p) / " export.adm.xml" ).string ();
781776 }
782- ImGui::SameLine ();
783- ImGui::TextColored ({0 .5f , 0 .5f , 0 .5f , 1 .f }, " Expected: ADM XML output" );
777+ if (ImGui::IsItemHovered ()) ImGui::SetTooltip (" Expected: ADM XML output" );
784778
785779 ImGui::TextDisabled (" BW64/WAV output" );
786780 ImGui::SameLine (140 .f );
@@ -791,8 +785,7 @@ void App::renderTranscodeTab() {
791785 const std::string p = pickDirectory (" Select Output Directory for ADM WAV" );
792786 if (!p.empty ()) mTcAdmOutWav = (fs::path (p) / " export.wav" ).string ();
793787 }
794- ImGui::SameLine ();
795- ImGui::TextColored ({0 .5f , 0 .5f , 0 .5f , 1 .f }, " Expected: ADM BWF/WAV output" );
788+ if (ImGui::IsItemHovered ()) ImGui::SetTooltip (" Expected: ADM BWF/WAV output" );
796789
797790 ImGui::Spacing ();
798791 ImGui::TextDisabled (" Options" );
@@ -811,14 +804,12 @@ void App::renderTranscodeTab() {
811804 const std::string p = pickFile (" Select DBMD Source" , {" *.wav" , " *.bin" }, " WAV/BIN files" );
812805 if (!p.empty ()) mTcAdmDbmdSrc = p;
813806 }
814- ImGui::SameLine ();
815- ImGui::TextDisabled (" Extracts/injects Dolby dbmd chunk (experimental)" );
807+ if (ImGui::IsItemHovered ()) ImGui::SetTooltip (" Extracts/injects Dolby dbmd chunk (experimental)" );
816808
817809 ImGui::TextDisabled (" Metadata post-data" );
818810 ImGui::SameLine (140 .f );
819811 ImGui::Checkbox (" Reorder WAV chunks for Dolby tool compatibility##tc1mpd" , &mTcAdmMetadataPostData );
820- ImGui::SameLine ();
821- ImGui::TextDisabled (" writes JUNK/fmt/data/axml/chna order (experimental)" );
812+ if (ImGui::IsItemHovered ()) ImGui::SetTooltip (" writes JUNK/fmt/data/axml/chna order (experimental)" );
822813
823814 ImGui::TreePop ();
824815 }
0 commit comments