12#include <imgui_internal.h>
16 ImGui::TextDisabled(
"%s", symbol);
18 if (ImGui::IsItemHovered())
20 ImGui::BeginTooltip();
21 ImGui::PushTextWrapPos(ImGui::GetFontSize() * 35.0F);
22 ImGui::TextUnformatted(desc);
23 ImGui::PopTextWrapPos();
30 ImGui::TextDisabled(
"%s", symbol);
32 if (ImGui::IsItemHovered())
34 ImGui::BeginTooltip();
35 if (textWrapLength > 0.0F)
37 ImGui::PushTextWrapPos(ImGui::GetFontSize() * 35.0F);
46 if (wrapText) { ImGui::PopTextWrapPos(); }
Text Help Marker (?) with Tooltip.