Set bit n in the array
| 2822 | inline bool GetBit(size_t n) const { int off = (int)(n >> 5); ImU32 mask = 1u << (n & 31); return (UsedChars[off] & mask) != 0; } // Get bit n in the array |
| 2823 | inline void SetBit(size_t n) { int off = (int)(n >> 5); ImU32 mask = 1u << (n & 31); UsedChars[off] |= mask; } // Set bit n in the array |
| 2824 | inline void AddChar(ImWchar c) { SetBit(c); } // Add character |
| 2825 | IMGUI_API void AddText(const char* text, const char* text_end = NULL); // Add string (each character of the UTF-8 string are added) |
| 2826 | IMGUI_API void AddRanges(const ImWchar* ranges); // Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCII/Latin+Ext |
| 2827 | IMGUI_API void BuildRanges(ImVector<ImWchar>* out_ranges); // Output new ranges |