Lines Matching defs:text
51 - I integrated Dear ImGui in my engine and the text or lines are blurry..
114 - CTRL+Click on a slider or drag box to input value as text.
117 - Hold SHIFT or use mouse to select text.
123 - ESCAPE to revert text to its original value.
125 - Controls are automatically adjusted for OSX to match standard OSX text editing operations.
479 - 2016/03/02 (1.48) - InputText() completion/history/always callbacks: if you modify the text buffer manually (without using DeleteChars()/InsertChars() helper) you need to maintain the BufTextLen field. added an assert.
490 you need to render your textured triangles with bilinear filtering to benefit from sub-pixel positioning of text.
523 - 2015/02/11 (1.32) - changed text input callback ImGuiTextEditCallback return type from void-->int. reserved for future use, return 0 for now.
841 Otherwise you can convert yourself to UTF-8 or load text data from file already saved as UTF-8.
895 Q: I integrated Dear ImGui in my engine and the text or lines are blurry..
1011 static void SetClipboardTextFn_DefaultImpl(void* user_data, const char* text);
1086 WindowTitleAlign = ImVec2(0.0f,0.5f);// Alignment for title bar text
1105 ButtonTextAlign = ImVec2(0.5f,0.5f);// Alignment of button text when button is larger than text.
1106 SelectableTextAlign = ImVec2(0.0f,0.0f);// Alignment of selectable text when button is larger than text.
1204 // Pass in translated ASCII characters for text input.
2012 // Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]"
2078 bool ImGuiTextFilter::PassFilter(const char* text, const char* text_end) const
2083 if (text == NULL)
2084 text = "";
2094 if (ImStristr(text, text_end, f.begin()+1, f.end()) != NULL)
2100 if (ImStristr(text, text_end, f.begin(), f.end()) != NULL)
2154 // Helper: Text buffer for logging/accumulating text
2272 const char* ImGui::FindRenderedTextEnd(const char* text, const char* text_end)
2274 const char* text_display_end = text;
2283 // Internal ImGui functions to render text
2285 void ImGui::RenderText(ImVec2 pos, const char* text, const char* text_end, bool hide_text_after_hash)
2294 text_display_end = FindRenderedTextEnd(text, text_end);
2299 text_end = text + strlen(text); // FIXME-OPT
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);
2311 void ImGui::RenderTextWrapped(ImVec2 pos, const char* text, const char* text_end, float wrap_width)
2317 text_end = text + strlen(text); // FIXME-OPT
2319 if (text != text_end)
2321 window->DrawList->AddText(g.Font, g.FontSize, pos, GetColorU32(ImGuiCol_Text), text, text_end, wrap_width);
2323 LogRenderedText(&pos, text, text_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);
2357 void ImGui::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)
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);
2398 // Render an arrow aimed to be aligned with text (p_min is a position in the same space text would be positioned). To e.g. denote expanded/collapsed state
2973 void ImGui::SetClipboardText(const char* text)
2976 GImGui->IO.SetClipboardTextFn(GImGui->IO.ClipboardUserData, text);
3896 // Calculate text size. Text can be multi-line. Optionally ignore text after a ## marker.
3898 ImVec2 ImGui::CalcTextSize(const char* text, const char* text_end, bool hide_text_after_double_hash, float wrap_width)
3904 text_display_end = FindRenderedTextEnd(text, text_end); // Hide anything after a '##' string
3910 if (text == text_display_end)
3912 ImVec2 text_size = font->CalcTextSizeA(font_size, FLT_MAX, wrap_width, text, text_display_end, NULL);
5392 // Title bar text (with: horizontal alignment, avoiding collapse/close button, optional "unsaved document" marker)
5393 // FIXME: Refactor text alignment facilities along with RenderText helpers, this is too much code..
8772 // All text output from the interface can be captured into tty/file/clipboard.
8776 // Pass text data straight to log (without being displayed)
8793 // We split text into individual lines to add current tree level padding
8794 void ImGui::LogRenderedText(const ImVec2* ref_pos, const char* text, const char* text_end)
8800 text_end = FindRenderedTextEnd(text, text_end);
8806 const char* text_remaining = text;
8815 const bool is_first_line = (line_start == text);
9083 // Call registered handlers (e.g. SettingsHandlerWindow_WriteAll() + custom handlers) to write their stuff into a text buffer
9141 // Write to text buffer
9204 static void SetClipboardTextFn_DefaultImpl(void*, const char* text)
9208 const int wbuf_length = ImTextCountCharsFromUtf8(text, NULL) + 1;
9216 ImTextStrFromUtf8(wbuf_global, wbuf_length, text, NULL);
9234 static void SetClipboardTextFn_DefaultImpl(void*, const char* text)
9238 const char* text_end = text + strlen(text);
9239 g.PrivateClipboard.resize((int)(text_end - text) + 1);
9240 memcpy(&g.PrivateClipboard[0], text, (size_t)(text_end - text));
9241 g.PrivateClipboard[(int)(text_end - text)] = 0;
9256 // Notify OS Input Method Editor of text input position