Home
last modified time | relevance | path

Searched refs:ImWchar (Results 1 – 23 of 23) sorted by relevance

/third_party/skia/third_party/externals/imgui/
Dimgui_draw.cpp1913 EllipsisChar = (ImWchar)-1; in ImFontConfig()
2090 if (new_font_cfg.DstFont->EllipsisChar == (ImWchar)-1) in AddFont()
2128 font_cfg.EllipsisChar = (ImWchar)0x0085; in AddFontDefault()
2132 …const ImWchar* glyph_ranges = font_cfg.GlyphRanges != NULL ? font_cfg.GlyphRanges : GetGlyphRanges… in AddFontDefault()
2137 …r* filename, float size_pixels, const ImFontConfig* font_cfg_template, const ImWchar* glyph_ranges) in AddFontFromFileTTF()
2159 …nt ttf_size, float size_pixels, const ImFontConfig* font_cfg_template, const ImWchar* glyph_ranges) in AddFontFromMemoryTTF()
2172 …ed_ttf_size, float size_pixels, const ImFontConfig* font_cfg_template, const ImWchar* glyph_ranges) in AddFontFromMemoryCompressedTTF()
2184 …ssed_ttf_data_base85, float size_pixels, const ImFontConfig* font_cfg, const ImWchar* glyph_ranges) in AddFontFromMemoryCompressedBase85TTF()
2205 int ImFontAtlas::AddCustomRectFontGlyph(ImFont* font, ImWchar id, int width, int height, float adva… in AddCustomRectFontGlyph()
2308 …const ImWchar* SrcRanges; // Ranges as requested by user (user is allowed to request…
[all …]
Dimgui.h245 typedef ImWchar32 ImWchar; typedef
247 typedef ImWchar16 ImWchar; typedef
1950 …ImVector<ImWchar> InputQueueCharacters; // Queue of _characters_ input (obtained by platform b…
1977ImWchar EventChar; // Character input // Read-write // [Ch…
2552 …const ImWchar* GlyphRanges; // NULL // Pointer to a user-provided list of Unicode …
2558ImWchar EllipsisChar; // -1 // Explicitly specify unicode codepoint of ell…
2589 inline void AddChar(ImWchar c) { SetBit(c); } // Add character in AddChar()
2591 …IMGUI_API void AddRanges(const ImWchar* ranges); // Add ranges, e.g. bu…
2592 IMGUI_API void BuildRanges(ImVector<ImWchar>* out_ranges); // Output new ranges
2640 … filename, float size_pixels, const ImFontConfig* font_cfg = NULL, const ImWchar* glyph_ranges = N…
[all …]
Dimgui_widgets.cpp129 … ImVec2 InputTextCalcTextSizeW(const ImWchar* text_begin, const ImWchar* text_end, const…
3614 static ImVec2 InputTextCalcTextSizeW(const ImWchar* text_begin, const ImWchar* text_end, const ImWc… in InputTextCalcTextSizeW()
3624 const ImWchar* s = text_begin; in InputTextCalcTextSizeW()
3640 const float char_width = font->GetCharAdvance((ImWchar)c) * scale; in InputTextCalcTextSizeW()
3664 static ImWchar STB_TEXTEDIT_GETCHAR(const ImGuiInputTextState* obj, int idx) {… in STB_TEXTEDIT_GETCHAR()
3665 …_GETWIDTH(ImGuiInputTextState* obj, int line_start_idx, int char_idx) { ImWchar c = obj->TextW[li… in STB_TEXTEDIT_GETWIDTH()
3667 static ImWchar STB_TEXTEDIT_NEWLINE = '\n';
3670 const ImWchar* text = obj->TextW.Data; in STB_TEXTEDIT_LAYOUTROW()
3671 const ImWchar* text_remaining = NULL; in STB_TEXTEDIT_LAYOUTROW()
3696 ImWchar* dst = obj->TextW.Data + pos; in STB_TEXTEDIT_DELETECHARS()
[all …]
Dimgui_internal.h181 #define STB_TEXTEDIT_CHARTYPE ImWchar
314 IMGUI_API int ImStrlenW(const ImWchar* str);
316 IMGUI_API const ImWchar*ImStrbolW(const ImWchar* buf_mid_line, const ImWchar* buf_begin); // Find…
331 … ImTextStrToUtf8(char* out_buf, int out_buf_size, const ImWchar* in_text, const ImWchar* in_t…
333 IMGUI_API int ImTextStrFromUtf8(ImWchar* out_buf, int out_buf_size, const char* in_text, …
336 IMGUI_API int ImTextCountUtf8BytesFromStr(const ImWchar* in_text, const ImWchar* in_text_…
1010 …ImVector<ImWchar> TextW; // edit buffer, we need to persist but can't guara…
Dimgui.cpp1135 …InputQueueCharacters.push_back(c <= IM_UNICODE_CODEPOINT_MAX ? (ImWchar)c : IM_UNICODE_CODEPOINT_I… in AddInputCharacter()
1153 ImWchar cp = c; in AddInputCharacterUTF16()
1165 cp = (ImWchar)(((InputQueueSurrogate - 0xD800) << 10) + (c - 0xDC00) + 0x10000); in AddInputCharacterUTF16()
1181 InputQueueCharacters.push_back((ImWchar)c); in AddInputCharactersUTF8()
1383 int ImStrlenW(const ImWchar* str) in ImStrlenW()
1398 const ImWchar* ImStrbolW(const ImWchar* buf_mid_line, const ImWchar* buf_begin) // find beginning-o… in ImStrbolW()
1586 ImVector<ImWchar> buf; in ImFileOpen()
1704 int ImTextStrFromUtf8(ImWchar* buf, int buf_size, const char* in_text, const char* in_text_end, con… in ImTextStrFromUtf8()
1706 ImWchar* buf_out = buf; in ImTextStrFromUtf8()
1707 ImWchar* buf_end = buf + buf_size; in ImTextStrFromUtf8()
[all …]
Dimgui_demo.cpp5537 …ueue:"); for (int i = 0; i < io.InputQueueCharacters.Size; i++) { ImWchar c = io.InputQueue…
/third_party/mesa3d/src/imgui/
Dimgui_draw.cpp1603 …const ImWchar* glyph_ranges = font_cfg.GlyphRanges != NULL ? font_cfg.GlyphRanges : GetGlyphRanges… in AddFontDefault()
1609 …r* filename, float size_pixels, const ImFontConfig* font_cfg_template, const ImWchar* glyph_ranges) in AddFontFromFileTTF()
1631 …nt ttf_size, float size_pixels, const ImFontConfig* font_cfg_template, const ImWchar* glyph_ranges) in AddFontFromMemoryTTF()
1644 …ed_ttf_size, float size_pixels, const ImFontConfig* font_cfg_template, const ImWchar* glyph_ranges) in AddFontFromMemoryCompressedTTF()
1656 …ssed_ttf_data_base85, float size_pixels, const ImFontConfig* font_cfg, const ImWchar* glyph_ranges) in AddFontFromMemoryCompressedBase85TTF()
1679 int ImFontAtlas::AddCustomRectFontGlyph(ImFont* font, ImWchar id, int width, int height, float adva… in AddCustomRectFontGlyph()
1756 …const ImWchar* SrcRanges; // Ranges as requested by user (user is allowed to request…
1831 … for (const ImWchar* src_range = src_tmp.SrcRanges; src_range[0] && src_range[1]; src_range += 2) in ImFontAtlasBuildWithStbTruetype()
1848 … for (const ImWchar* src_range = src_tmp.SrcRanges; src_range[0] && src_range[1]; src_range += 2) in ImFontAtlasBuildWithStbTruetype()
2031 …dst_font->AddGlyph((ImWchar)codepoint, q.x0 + char_off_x, q.y0 + font_off_y, q.x1 + char_off_x, q.… in ImFontAtlasBuildWithStbTruetype()
[all …]
Dimgui.h123 typedef unsigned short ImWchar; // A single U16 character for keyboard input/display. We encode… typedef
1362 IMGUI_API void AddInputCharacter(ImWchar c); // Queue new character input
1404 …ImVector<ImWchar> InputQueueCharacters; // Queue of _characters_ input (obtained by platform b…
1430ImWchar EventChar; // Character input // Read-write // [Ch…
1924 …const ImWchar* GlyphRanges; // NULL // Pointer to a user-provided list of Unicode …
1940 ImWchar Codepoint; // 0x0000..0xFFFF
1955 void AddChar(ImWchar c) { SetBit(c); } // Add character in AddChar()
1957 …IMGUI_API void AddRanges(const ImWchar* ranges); // Add ranges, e.g. bu…
1958 IMGUI_API void BuildRanges(ImVector<ImWchar>* out_ranges); // Output new ranges
1991 … filename, float size_pixels, const ImFontConfig* font_cfg = NULL, const ImWchar* glyph_ranges = N…
[all …]
Dimgui_internal.h105 #define STB_TEXTEDIT_CHARTYPE ImWchar
143 …int ImTextStrToUtf8(char* buf, int buf_size, const ImWchar* in_text, const ImWchar* in_t…
145 IMGUI_API int ImTextStrFromUtf8(ImWchar* buf, int buf_size, const char* in_text, const ch…
148 IMGUI_API int ImTextCountUtf8BytesFromStr(const ImWchar* in_text, const ImWchar* in_text_…
178 IMGUI_API int ImStrlenW(const ImWchar* str);
180 IMGUI_API const ImWchar*ImStrbolW(const ImWchar* buf_mid_line, const ImWchar* buf_begin); // Find…
564 …ImVector<ImWchar> TextW; // edit buffer, we need to persist but can't guara…
Dimgui_widgets.cpp107 … ImVec2 InputTextCalcTextSizeW(const ImWchar* text_begin, const ImWchar* text_end, const…
2852 static ImVec2 InputTextCalcTextSizeW(const ImWchar* text_begin, const ImWchar* text_end, const ImWc… in InputTextCalcTextSizeW()
2862 const ImWchar* s = text_begin; in InputTextCalcTextSizeW()
2878 const float char_width = font->GetCharAdvance((ImWchar)c) * scale; in InputTextCalcTextSizeW()
2902 static ImWchar STB_TEXTEDIT_GETCHAR(const STB_TEXTEDIT_STRING* obj, int idx) {… in STB_TEXTEDIT_GETCHAR()
2903 …_GETWIDTH(STB_TEXTEDIT_STRING* obj, int line_start_idx, int char_idx) { ImWchar c = obj->TextW[li… in STB_TEXTEDIT_GETWIDTH()
2905 static ImWchar STB_TEXTEDIT_NEWLINE = '\n';
2908 const ImWchar* text = obj->TextW.Data; in STB_TEXTEDIT_LAYOUTROW()
2909 const ImWchar* text_remaining = NULL; in STB_TEXTEDIT_LAYOUTROW()
2933 ImWchar* dst = obj->TextW.Data + pos; in STB_TEXTEDIT_DELETECHARS()
[all …]
Dimgui.cpp1207 void ImGuiIO::AddInputCharacter(ImWchar c) in AddInputCharacter()
1219 InputQueueCharacters.push_back((ImWchar)c); in AddInputCharactersUTF8()
1331 int ImStrlenW(const ImWchar* str) in ImStrlenW()
1346 const ImWchar* ImStrbolW(const ImWchar* buf_mid_line, const ImWchar* buf_begin) // find beginning-o… in ImStrbolW()
1516 ImVector<ImWchar> buf; in ImFileOpen()
1633 int ImTextStrFromUtf8(ImWchar* buf, int buf_size, const char* in_text, const char* in_text_end, con… in ImTextStrFromUtf8()
1635 ImWchar* buf_out = buf; in ImTextStrFromUtf8()
1636 ImWchar* buf_end = buf + buf_size; in ImTextStrFromUtf8()
1644 *buf_out++ = (ImWchar)c; in ImTextStrFromUtf8()
1721 int ImTextStrToUtf8(char* buf, int buf_size, const ImWchar* in_text, const ImWchar* in_text_end) in ImTextStrToUtf8()
[all …]
/third_party/flutter/skia/third_party/externals/imgui/
Dimgui_draw.cpp1592 …const ImWchar* glyph_ranges = font_cfg.GlyphRanges != NULL ? font_cfg.GlyphRanges : GetGlyphRanges… in AddFontDefault()
1598 …r* filename, float size_pixels, const ImFontConfig* font_cfg_template, const ImWchar* glyph_ranges) in AddFontFromFileTTF()
1620 …nt ttf_size, float size_pixels, const ImFontConfig* font_cfg_template, const ImWchar* glyph_ranges) in AddFontFromMemoryTTF()
1633 …ed_ttf_size, float size_pixels, const ImFontConfig* font_cfg_template, const ImWchar* glyph_ranges) in AddFontFromMemoryCompressedTTF()
1645 …ssed_ttf_data_base85, float size_pixels, const ImFontConfig* font_cfg, const ImWchar* glyph_ranges) in AddFontFromMemoryCompressedBase85TTF()
1668 int ImFontAtlas::AddCustomRectFontGlyph(ImFont* font, ImWchar id, int width, int height, float adva… in AddCustomRectFontGlyph()
1745 …const ImWchar* SrcRanges; // Ranges as requested by user (user is allowed to request…
1820 … for (const ImWchar* src_range = src_tmp.SrcRanges; src_range[0] && src_range[1]; src_range += 2) in ImFontAtlasBuildWithStbTruetype()
1837 … for (const ImWchar* src_range = src_tmp.SrcRanges; src_range[0] && src_range[1]; src_range += 2) in ImFontAtlasBuildWithStbTruetype()
2020 …dst_font->AddGlyph((ImWchar)codepoint, q.x0 + char_off_x, q.y0 + font_off_y, q.x1 + char_off_x, q.… in ImFontAtlasBuildWithStbTruetype()
[all …]
Dimgui.h120 typedef unsigned short ImWchar; // A single U16 character for keyboard input/display. We encode… typedef
1355 IMGUI_API void AddInputCharacter(ImWchar c); // Queue new character input
1397 …ImVector<ImWchar> InputQueueCharacters; // Queue of _characters_ input (obtained by platform b…
1423ImWchar EventChar; // Character input // Read-write // [Ch…
1915 …const ImWchar* GlyphRanges; // NULL // Pointer to a user-provided list of Unicode …
1931 ImWchar Codepoint; // 0x0000..0xFFFF
1946 void AddChar(ImWchar c) { SetBit(c); } // Add character in AddChar()
1948 …IMGUI_API void AddRanges(const ImWchar* ranges); // Add ranges, e.g. bu…
1949 IMGUI_API void BuildRanges(ImVector<ImWchar>* out_ranges); // Output new ranges
1982 … filename, float size_pixels, const ImFontConfig* font_cfg = NULL, const ImWchar* glyph_ranges = N…
[all …]
Dimgui_internal.h103 #define STB_TEXTEDIT_CHARTYPE ImWchar
140 …int ImTextStrToUtf8(char* buf, int buf_size, const ImWchar* in_text, const ImWchar* in_t…
142 IMGUI_API int ImTextStrFromUtf8(ImWchar* buf, int buf_size, const char* in_text, const ch…
145 IMGUI_API int ImTextCountUtf8BytesFromStr(const ImWchar* in_text, const ImWchar* in_text_…
171 IMGUI_API int ImStrlenW(const ImWchar* str);
173 IMGUI_API const ImWchar*ImStrbolW(const ImWchar* buf_mid_line, const ImWchar* buf_begin); // Find…
543 …ImVector<ImWchar> TextW; // edit buffer, we need to persist but can't guara…
Dimgui_widgets.cpp105 … ImVec2 InputTextCalcTextSizeW(const ImWchar* text_begin, const ImWchar* text_end, const…
2853 static ImVec2 InputTextCalcTextSizeW(const ImWchar* text_begin, const ImWchar* text_end, const ImWc… in InputTextCalcTextSizeW()
2862 const ImWchar* s = text_begin; in InputTextCalcTextSizeW()
2878 const float char_width = font->GetCharAdvance((ImWchar)c) * scale; in InputTextCalcTextSizeW()
2902 static ImWchar STB_TEXTEDIT_GETCHAR(const STB_TEXTEDIT_STRING* obj, int idx) {… in STB_TEXTEDIT_GETCHAR()
2903 …_GETWIDTH(STB_TEXTEDIT_STRING* obj, int line_start_idx, int char_idx) { ImWchar c = obj->TextW[li… in STB_TEXTEDIT_GETWIDTH()
2905 static ImWchar STB_TEXTEDIT_NEWLINE = '\n';
2908 const ImWchar* text = obj->TextW.Data; in STB_TEXTEDIT_LAYOUTROW()
2909 const ImWchar* text_remaining = NULL; in STB_TEXTEDIT_LAYOUTROW()
2933 ImWchar* dst = obj->TextW.Data + pos; in STB_TEXTEDIT_DELETECHARS()
[all …]
Dimgui.cpp1196 void ImGuiIO::AddInputCharacter(ImWchar c) in AddInputCharacter()
1208 InputQueueCharacters.push_back((ImWchar)c); in AddInputCharactersUTF8()
1317 int ImStrlenW(const ImWchar* str) in ImStrlenW()
1332 const ImWchar* ImStrbolW(const ImWchar* buf_mid_line, const ImWchar* buf_begin) // find beginning-o… in ImStrbolW()
1478 ImVector<ImWchar> buf; in ImFileOpen()
1595 int ImTextStrFromUtf8(ImWchar* buf, int buf_size, const char* in_text, const char* in_text_end, con… in ImTextStrFromUtf8()
1597 ImWchar* buf_out = buf; in ImTextStrFromUtf8()
1598 ImWchar* buf_end = buf + buf_size; in ImTextStrFromUtf8()
1606 *buf_out++ = (ImWchar)c; in ImTextStrFromUtf8()
1683 int ImTextStrToUtf8(char* buf, int buf_size, const ImWchar* in_text, const ImWchar* in_text_end) in ImTextStrToUtf8()
[all …]
Dimgui_demo.cpp2894 count += font->FindGlyphNoFallback((ImWchar)(base + n)) ? 1 : 0; in ShowStyleEditor()
2905 … const ImFontGlyph* glyph = font->FindGlyphNoFallback((ImWchar)(base + n)); in ShowStyleEditor()
2908 …rChar(draw_list, cell_size, cell_p1, ImGui::GetColorU32(ImGuiCol_Text), (ImWchar)(base + n)); // W… in ShowStyleEditor()
/third_party/flutter/skia/third_party/externals/imgui/misc/freetype/
Dimgui_freetype.cpp263 …const ImWchar* SrcRanges; // Ranges as requested by user (user is allowed to request…
325 … for (const ImWchar* src_range = src_tmp.SrcRanges; src_range[0] && src_range[1]; src_range += 2) in ImFontAtlasBuildWithFreeType()
342 … for (const ImWchar* src_range = src_tmp.SrcRanges; src_range[0] && src_range[1]; src_range += 2) in ImFontAtlasBuildWithFreeType()
377 src_glyph.Codepoint = (ImWchar)(((it - it_begin) << 5) + bit_n); in ImFontAtlasBuildWithFreeType()
552 …dst_font->AddGlyph((ImWchar)src_glyph.Codepoint, x0, y0, x1, y1, u0, v0, u1, v1, char_advance_x_mo… in ImFontAtlasBuildWithFreeType()
/third_party/skia/third_party/externals/imgui/misc/freetype/
Dimgui_freetype.cpp372 …const ImWchar* SrcRanges; // Ranges as requested by user (user is allowed to request…
436 … for (const ImWchar* src_range = src_tmp.SrcRanges; src_range[0] && src_range[1]; src_range += 2) in ImFontAtlasBuildWithFreeTypeEx()
452 … for (const ImWchar* src_range = src_tmp.SrcRanges; src_range[0] && src_range[1]; src_range += 2) in ImFontAtlasBuildWithFreeTypeEx()
485 src_glyph.Codepoint = (ImWchar)(((it - it_begin) << 5) + bit_n); in ImFontAtlasBuildWithFreeTypeEx()
662 …dst_font->AddGlyph(&cfg, (ImWchar)src_glyph.Codepoint, x0, y0, x1, y1, u0, v0, u1, v1, info.Advanc… in ImFontAtlasBuildWithFreeTypeEx()
/third_party/flutter/skia/third_party/externals/imgui/misc/fonts/
DREADME.txt71 static const ImWchar icon_ranges[] = { ICON_MIN_FA, ICON_MAX_FA, 0 };
136 …static const ImWchar icons_ranges[] = { 0xf000, 0xf3ff, 0 }; // Will not be copied by AddFont* so …
183 ImVector<ImWchar> ranges;
/third_party/skia/third_party/externals/imgui/docs/
DFONTS.md104 static const ImWchar icons_ranges[] = { 0xf000, 0xf3ff, 0 }; // Will not be copied by AddFont* so k…
183 static const ImWchar icon_ranges[] = { ICON_MIN_FA, ICON_MAX_FA, 0 };
223 static ImWchar ranges[] = { 0x1, 0x1FFFF, 0 };
237 ImVector<ImWchar> ranges;
DFAQ.md571 static ImWchar ranges[] = { 0xf000, 0xf3ff, 0 };
591 ImVector<ImWchar> ranges;
DCHANGELOG.txt955 - sizeof(ImWchar) goes from 2 to 4. IM_UNICODE_CODEPOINT_MAX goes from 0xFFFF to 0x10FFFF.
977 obsolete functions, enabling 32-bit ImDrawIdx, enabling 32-bit ImWchar, disabling demo. [@rokups]