Home
last modified time | relevance | path

Searched refs:ImFormatString (Results 1 – 4 of 4) sorted by relevance

/aosp_15_r20/external/mesa3d/src/imgui/
H A Dimgui_widgets.cpp1051 ImFormatString(overlay_buf, IM_ARRAYSIZE(overlay_buf), "%.0f%%", fraction*100+0.01f); in ProgressBar()
1354ImFormatString(name, IM_ARRAYSIZE(name), "##Combo_%02d", g.BeginPopupStack.Size); // Recycle windo… in BeginCombo()
1528ImFormatString(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), "%.*s%%d%s", (int)(fmt_start - fmt), fmt,… in PatchFormatStringFloatToInt()
1540 return ImFormatString(buf, buf_size, format, *(const ImU32*)data_ptr); in DataTypeFormatString()
1542 return ImFormatString(buf, buf_size, format, *(const ImU64*)data_ptr); in DataTypeFormatString()
1544 return ImFormatString(buf, buf_size, format, *(const float*)data_ptr); in DataTypeFormatString()
1546 return ImFormatString(buf, buf_size, format, *(const double*)data_ptr); in DataTypeFormatString()
1698 ImFormatString(v_str, IM_ARRAYSIZE(v_str), fmt_start, v); in RoundScalarWithFormatT()
2762 ImFormatString(format, IM_ARRAYSIZE(format), "%%.%df", decimal_precision); in InputFloat()
2770 ImFormatString(format, IM_ARRAYSIZE(format), "%%.%df", decimal_precision); in InputFloat2()
[all …]
H A Dimgui.cpp1406 int ImFormatString(char* buf, size_t buf_size, const char* fmt, ...) in ImFormatString() function
4342 ImFormatString(title, IM_ARRAYSIZE(title), "%s/%s_%08X", parent_window->Name, name, id); in BeginChildEx()
4344 ImFormatString(title, IM_ARRAYSIZE(title), "%s/%08X", parent_window->Name, id); in BeginChildEx()
6681ImFormatString(window_name, IM_ARRAYSIZE(window_name), "##Tooltip_%02d", g.TooltipOverrideCount); in BeginTooltipEx()
6689ImFormatString(window_name, IM_ARRAYSIZE(window_name), "##Tooltip_%02d", ++g.TooltipOverrideCount); in BeginTooltipEx()
6913ImFormatString(name, IM_ARRAYSIZE(name), "##Menu_%02d", g.BeginPopupStack.Size); // Recycle window… in BeginPopupEx()
6915ImFormatString(name, IM_ARRAYSIZE(name), "##Popup_%08x", id); // Not recycling, so we can close/op… in BeginPopupEx()
7224ImFormatString(buf, IM_ARRAYSIZE(buf), "dbox (%.2f,%.2f->%.4f)\ndcen (%.2f,%.2f->%.4f)\nd (%.2f,%.… in NavScoreItem()
7236 ImFormatString(buf, IM_ARRAYSIZE(buf), "%.0f/%.0f", dist_box, dist_center); in NavScoreItem()
7834 …L32(255,0,0,255); ImVec2 p = NavCalcPreferredRefPos(); char buf[32]; ImFormatString(buf, 32, "%d",… in NavUpdate()
[all …]
H A Dimgui_draw.cpp1600ImFormatString(font_cfg.Name, IM_ARRAYSIZE(font_cfg.Name), "ProggyClean.ttf, %dpx", (int)font_cfg.… in AddFontDefault()
1625 ImFormatString(font_cfg.Name, IM_ARRAYSIZE(font_cfg.Name), "%s, %.0fpx", p, size_pixels); in AddFontFromFileTTF()
H A Dimgui_internal.h183 IMGUI_API int ImFormatString(char* buf, size_t buf_size, const char* fmt, ...) IM_FMTARGS…