Function highlightedSelectableText
Defined in File utils.hpp
Function Documentation
-
bool highlightedSelectableText(const std::string &text, std::size_t start, std::size_t end, const ImVec4 &highlightColor)
Utility imgui function for partly highlighted text which can be selected.
- Parameters:
text – String which should be displayed.
start – Starting index of the highlighted part.
end – End index of the highlighted part.
highlightColor – Color used for the highlighted part, the remaining text is displayed using the default text color.