| 2340 | } |
| 2341 | |
| 2342 | void ImGuiStorage::SetFloat(ImGuiID key, float val) |
| 2343 | { |
| 2344 | ImGuiStoragePair* it = LowerBound(Data, key); |
| 2345 | if (it == Data.end() || it->key != key) |
| 2346 | { |
| 2347 | Data.insert(it, ImGuiStoragePair(key, val)); |
| 2348 | return; |
| 2349 | } |
| 2350 | it->val_f = val; |
| 2351 | } |
| 2352 | |
| 2353 | void ImGuiStorage::SetVoidPtr(ImGuiID key, void* val) |
| 2354 | { |
nothing calls this directly
no test coverage detected