| /xsrc/external/mit/MesaLib.old/dist/src/imgui/ |
| H A D | imgui_draw.cpp | 1176 void ImDrawList::AddText(const ImFont* font, float font_size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end, float wrap_width, const ImVec4* cpu_fine_clip_rect) argument 1181 if (text_end == NULL) 1182 text_end = text_begin + strlen(text_begin); 1183 if (text_begin == text_end) 1202 font->RenderText(this, font_size, pos, col, clip_rect, text_begin, text_end, wrap_width, cpu_fine_clip_rect != NULL); 1205 void ImDrawList::AddText(const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end) argument 1207 AddText(NULL, 0.0f, pos, col, text_begin, text_end); 2355 void ImFontGlyphRangesBuilder::AddText(const char* text, const char* text_end) argument 2357 while (text_end ? (text < text_end) 2542 CalcWordWrapPositionA(float scale,const char * text,const char * text_end,float wrap_width) const argument 2641 CalcTextSizeA(float size,float max_width,float wrap_width,const char * text_begin,const char * text_end,const char ** remaining) const argument 2749 RenderText(ImDrawList * draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 & clip_rect,const char * text_begin,const char * text_end,float wrap_width,bool cpu_fine_clip) const argument [all...] |
| H A D | imgui.h | 370 IMGUI_API void TextUnformatted(const char* text, const char* text_end = NULL); // raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text. 631 IMGUI_API ImVec2 CalcTextSize(const char* text, const char* text_end = NULL, bool hide_text_after_double_hash = false, float wrap_width = -1.0f); 1444 IMGUI_API void InsertChars(int pos, const char* text, const char* text_end = NULL); 1555 IMGUI_API bool PassFilter(const char* text, const char* text_end = NULL) const; 1840 IMGUI_API void AddText(const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end = NULL); 1841 IMGUI_API void AddText(const ImFont* font, float font_size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end = NULL, float wrap_width = 0.0f, const ImVec4* cpu_fine_clip_rect = NULL); 1956 IMGUI_API void AddText(const char* text, const char* text_end = NULL); // Add string (each character of the UTF-8 string are added) 2116 IMGUI_API ImVec2 CalcTextSizeA(float size, float max_width, float wrap_width, const char* text_begin, const char* text_end = NULL, const char** remaining = NULL) const; // utf8 2117 IMGUI_API const char* CalcWordWrapPositionA(float scale, const char* text, const char* text_end, floa [all...] |
| H A D | imgui_widgets.cpp | 107 static ImVec2 InputTextCalcTextSizeW(const ImWchar* text_begin, const ImWchar* text_end, const ImWchar** remaining = NULL, ImVec2* out_offset = NULL, bool stop_on_new_line = false); 127 void ImGui::TextUnformatted(const char* text, const char* text_end) argument 136 if (text_end == NULL) 137 text_end = text + strlen(text); // FIXME-OPT 142 if (text_end - text > 2000 && !wrap_enabled) 165 while (line < text_end && lines_skipped < lines_skippable) 167 const char* line_end = (const char*)memchr(line, '\n', text_end - line); 169 line_end = text_end; 178 if (line < text_end) 181 while (line < text_end) 249 const char* text_end = g.TempBuffer + ImFormatStringV(g.TempBuffer, IM_ARRAYSIZE(g.TempBuff local in function:ImGui::TextV 354 const char* text_end = text_begin + ImFormatStringV(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer local in function:ImGui::BulletTextV 2852 InputTextCalcTextSizeW(const ImWchar * text_begin,const ImWchar * text_end,const ImWchar ** remaining,ImVec2 * out_offset,bool stop_on_new_line) argument 4508 const char* text_end = text ? FindRenderedTextEnd(text, NULL) : text; local in function:ImGui::ColorTooltip [all...] |
| H A D | imgui_internal.h | 1441 IMGUI_API void RenderText(ImVec2 pos, const char* text, const char* text_end = NULL, bool hide_text_after_hash = true); 1442 IMGUI_API void RenderTextWrapped(ImVec2 pos, const char* text, const char* text_end, float wrap_width); 1443 IMGUI_API void RenderTextClipped(const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align = ImVec2(0,0), const ImRect* clip_rect = NULL); 1444 IMGUI_API void RenderTextClippedEx(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align = ImVec2(0, 0), const ImRect* clip_rect = NULL); 1452 IMGUI_API const char* FindRenderedTextEnd(const char* text, const char* text_end = NULL); // Find the optional ## from which we stop displaying text. 1453 IMGUI_API void LogRenderedText(const ImVec2* ref_pos, const char* text, const char* text_end = NULL);
|
| H A D | imgui.cpp | 542 - 2014/09/25 (1.13) - removed 'text_end' parameter from IO.SetClipboardTextFn (the string is now always zero-terminated for simplicity) 2078 bool ImGuiTextFilter::PassFilter(const char* text, const char* text_end) const 2094 if (ImStristr(text, text_end, f.begin()+1, f.end()) != NULL) 2100 if (ImStristr(text, text_end, f.begin(), f.end()) != NULL) 2272 const char* ImGui::FindRenderedTextEnd(const char* text, const char* text_end) argument 2275 if (!text_end) 2276 text_end = (const char*)-1; 2278 while (text_display_end < text_end && *text_display_end != '\0' && (text_display_end[0] != '#' || text_display_end[1] != '#')) 2285 void ImGui::RenderText(ImVec2 pos, const char* text, const char* text_end, bool hide_text_after_hash) argument 2294 text_display_end = FindRenderedTextEnd(text, text_end); 2311 RenderTextWrapped(ImVec2 pos,const char * text,const char * text_end,float wrap_width) argument 2357 RenderTextClipped(const ImVec2 & pos_min,const ImVec2 & pos_max,const char * text,const char * text_end,const ImVec2 * text_size_if_known,const ImVec2 & align,const ImRect * clip_rect) argument 3898 CalcTextSize(const char * text,const char * text_end,bool hide_text_after_double_hash,float wrap_width) argument 8794 LogRenderedText(const ImVec2 * ref_pos,const char * text,const char * text_end) argument 9238 const char* text_end = text + strlen(text); local in function:SetClipboardTextFn_DefaultImpl [all...] |
| /xsrc/external/mit/MesaLib/dist/src/imgui/ |
| H A D | imgui_draw.cpp | 1176 void ImDrawList::AddText(const ImFont* font, float font_size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end, float wrap_width, const ImVec4* cpu_fine_clip_rect) argument 1181 if (text_end == NULL) 1182 text_end = text_begin + strlen(text_begin); 1183 if (text_begin == text_end) 1202 font->RenderText(this, font_size, pos, col, clip_rect, text_begin, text_end, wrap_width, cpu_fine_clip_rect != NULL); 1205 void ImDrawList::AddText(const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end) argument 1207 AddText(NULL, 0.0f, pos, col, text_begin, text_end); 2355 void ImFontGlyphRangesBuilder::AddText(const char* text, const char* text_end) argument 2357 while (text_end ? (text < text_end) 2542 CalcWordWrapPositionA(float scale,const char * text,const char * text_end,float wrap_width) const argument 2641 CalcTextSizeA(float size,float max_width,float wrap_width,const char * text_begin,const char * text_end,const char ** remaining) const argument 2749 RenderText(ImDrawList * draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 & clip_rect,const char * text_begin,const char * text_end,float wrap_width,bool cpu_fine_clip) const argument [all...] |
| H A D | imgui.h | 370 IMGUI_API void TextUnformatted(const char* text, const char* text_end = NULL); // raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text. 631 IMGUI_API ImVec2 CalcTextSize(const char* text, const char* text_end = NULL, bool hide_text_after_double_hash = false, float wrap_width = -1.0f); 1444 IMGUI_API void InsertChars(int pos, const char* text, const char* text_end = NULL); 1555 IMGUI_API bool PassFilter(const char* text, const char* text_end = NULL) const; 1840 IMGUI_API void AddText(const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end = NULL); 1841 IMGUI_API void AddText(const ImFont* font, float font_size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end = NULL, float wrap_width = 0.0f, const ImVec4* cpu_fine_clip_rect = NULL); 1956 IMGUI_API void AddText(const char* text, const char* text_end = NULL); // Add string (each character of the UTF-8 string are added) 2116 IMGUI_API ImVec2 CalcTextSizeA(float size, float max_width, float wrap_width, const char* text_begin, const char* text_end = NULL, const char** remaining = NULL) const; // utf8 2117 IMGUI_API const char* CalcWordWrapPositionA(float scale, const char* text, const char* text_end, floa [all...] |
| H A D | imgui_widgets.cpp | 107 static ImVec2 InputTextCalcTextSizeW(const ImWchar* text_begin, const ImWchar* text_end, const ImWchar** remaining = NULL, ImVec2* out_offset = NULL, bool stop_on_new_line = false); 127 void ImGui::TextUnformatted(const char* text, const char* text_end) argument 136 if (text_end == NULL) 137 text_end = text + strlen(text); // FIXME-OPT 142 if (text_end - text > 2000 && !wrap_enabled) 165 while (line < text_end && lines_skipped < lines_skippable) 167 const char* line_end = (const char*)memchr(line, '\n', text_end - line); 169 line_end = text_end; 178 if (line < text_end) 181 while (line < text_end) 249 const char* text_end = g.TempBuffer + ImFormatStringV(g.TempBuffer, IM_ARRAYSIZE(g.TempBuff local in function:ImGui::TextV 354 const char* text_end = text_begin + ImFormatStringV(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer local in function:ImGui::BulletTextV 2852 InputTextCalcTextSizeW(const ImWchar * text_begin,const ImWchar * text_end,const ImWchar ** remaining,ImVec2 * out_offset,bool stop_on_new_line) argument 4508 const char* text_end = text ? FindRenderedTextEnd(text, NULL) : text; local in function:ImGui::ColorTooltip [all...] |
| H A D | imgui_internal.h | 1441 IMGUI_API void RenderText(ImVec2 pos, const char* text, const char* text_end = NULL, bool hide_text_after_hash = true); 1442 IMGUI_API void RenderTextWrapped(ImVec2 pos, const char* text, const char* text_end, float wrap_width); 1443 IMGUI_API void RenderTextClipped(const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align = ImVec2(0,0), const ImRect* clip_rect = NULL); 1444 IMGUI_API void RenderTextClippedEx(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align = ImVec2(0, 0), const ImRect* clip_rect = NULL); 1452 IMGUI_API const char* FindRenderedTextEnd(const char* text, const char* text_end = NULL); // Find the optional ## from which we stop displaying text. 1453 IMGUI_API void LogRenderedText(const ImVec2* ref_pos, const char* text, const char* text_end = NULL);
|
| H A D | imgui.cpp | 542 - 2014/09/25 (1.13) - removed 'text_end' parameter from IO.SetClipboardTextFn (the string is now always zero-terminated for simplicity) 2078 bool ImGuiTextFilter::PassFilter(const char* text, const char* text_end) const 2094 if (ImStristr(text, text_end, f.begin()+1, f.end()) != NULL) 2100 if (ImStristr(text, text_end, f.begin(), f.end()) != NULL) 2272 const char* ImGui::FindRenderedTextEnd(const char* text, const char* text_end) argument 2275 if (!text_end) 2276 text_end = (const char*)-1; 2278 while (text_display_end < text_end && *text_display_end != '\0' && (text_display_end[0] != '#' || text_display_end[1] != '#')) 2285 void ImGui::RenderText(ImVec2 pos, const char* text, const char* text_end, bool hide_text_after_hash) argument 2294 text_display_end = FindRenderedTextEnd(text, text_end); 2311 RenderTextWrapped(ImVec2 pos,const char * text,const char * text_end,float wrap_width) argument 2357 RenderTextClipped(const ImVec2 & pos_min,const ImVec2 & pos_max,const char * text,const char * text_end,const ImVec2 * text_size_if_known,const ImVec2 & align,const ImRect * clip_rect) argument 3898 CalcTextSize(const char * text,const char * text_end,bool hide_text_after_double_hash,float wrap_width) argument 8794 LogRenderedText(const ImVec2 * ref_pos,const char * text,const char * text_end) argument 9238 const char* text_end = text + strlen(text); local in function:SetClipboardTextFn_DefaultImpl [all...] |