| 2402 | } |
| 2403 | |
| 2404 | void ImGuiStorage::SetFloat(ImGuiID key, float val) |
| 2405 | { |
| 2406 | ImGuiStoragePair* it = LowerBound(Data, key); |
| 2407 | if (it == Data.end() || it->key != key) |
| 2408 | { |
| 2409 | Data.insert(it, ImGuiStoragePair(key, val)); |
| 2410 | return; |
| 2411 | } |
| 2412 | it->val_f = val; |
| 2413 | } |
| 2414 | |
| 2415 | void ImGuiStorage::SetVoidPtr(ImGuiID key, void* val) |
| 2416 | { |
nothing calls this directly
no test coverage detected