MCPcopy Create free account
hub / github.com/Aegel5/SimpleSwitcher / AddRanges

Method AddRanges

imgui_tiny_app/imgui/imgui_draw.cpp:5118–5123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5116}
5117
5118void ImFontGlyphRangesBuilder::AddRanges(const ImWchar* ranges)
5119{
5120 for (; ranges[0]; ranges += 2)
5121 for (unsigned int c = ranges[0]; c <= ranges[1] && c <= IM_UNICODE_CODEPOINT_MAX; c++) //-V560
5122 AddChar((ImWchar)c);
5123}
5124
5125void ImFontGlyphRangesBuilder::BuildRanges(ImVector<ImWchar>* out_ranges)
5126{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected