MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / SetFloat

Method SetFloat

plugins/Cardinal/src/DearImGui/imgui.cpp:2040–2049  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2038}
2039
2040void ImGuiStorage::SetFloat(ImGuiID key, float val)
2041{
2042 ImGuiStoragePair* it = LowerBound(Data, key);
2043 if (it == Data.end() || it->key != key)
2044 {
2045 Data.insert(it, ImGuiStoragePair(key, val));
2046 return;
2047 }
2048 it->val_f = val;
2049}
2050
2051void ImGuiStorage::SetVoidPtr(ImGuiID key, void* val)
2052{

Callers

nothing calls this directly

Calls 4

LowerBoundFunction · 0.85
ImGuiStoragePairClass · 0.85
insertMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected