| 2038 | } |
| 2039 | |
| 2040 | void 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 | |
| 2051 | void ImGuiStorage::SetVoidPtr(ImGuiID key, void* val) |
| 2052 | { |
nothing calls this directly
no test coverage detected