Lines Matching defs:text_display_end
2274 const char* text_display_end = text;
2278 while (text_display_end < text_end && *text_display_end != '\0' && (text_display_end[0] != '#' || text_display_end[1] != '#'))
2279 text_display_end++;
2280 return text_display_end;
2291 const char* text_display_end;
2294 text_display_end = FindRenderedTextEnd(text, text_end);
2300 text_display_end = text_end;
2303 if (text != text_display_end)
2305 window->DrawList->AddText(g.Font, g.FontSize, pos, GetColorU32(ImGuiCol_Text), text, text_display_end);
2307 LogRenderedText(&pos, text, text_display_end);
2329 void ImGui::RenderTextClippedEx(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_display_end, const ImVec2* text_size_if_known, const ImVec2& align, const ImRect* clip_rect)
2333 const ImVec2 text_size = text_size_if_known ? *text_size_if_known : CalcTextSize(text, text_display_end, false, 0.0f);
2349 draw_list->AddText(NULL, 0.0f, pos, GetColorU32(ImGuiCol_Text), text, text_display_end, 0.0f, &fine_clip_rect);
2353 draw_list->AddText(NULL, 0.0f, pos, GetColorU32(ImGuiCol_Text), text, text_display_end, 0.0f, NULL);
2360 const char* text_display_end = FindRenderedTextEnd(text, text_end);
2361 const int text_len = (int)(text_display_end - text);
2367 RenderTextClippedEx(window->DrawList, pos_min, pos_max, text, text_display_end, text_size_if_known, align, clip_rect);
2369 LogRenderedText(&pos_min, text, text_display_end);
3902 const char* text_display_end;
3904 text_display_end = FindRenderedTextEnd(text, text_end); // Hide anything after a '##' string
3906 text_display_end = text_end;
3910 if (text == text_display_end)
3912 ImVec2 text_size = font->CalcTextSizeA(font_size, FLT_MAX, wrap_width, text, text_display_end, NULL);