| 2464 | } |
| 2465 | |
| 2466 | void ImGuiStorage::SetFloat(ImGuiID key, float val) |
| 2467 | { |
| 2468 | ImGuiStoragePair* it = LowerBound(Data, key); |
| 2469 | if (it == Data.end() || it->key != key) |
| 2470 | { |
| 2471 | Data.insert(it, ImGuiStoragePair(key, val)); |
| 2472 | return; |
| 2473 | } |
| 2474 | it->val_f = val; |
| 2475 | } |
| 2476 | |
| 2477 | void ImGuiStorage::SetVoidPtr(ImGuiID key, void* val) |
| 2478 | { |
nothing calls this directly
no test coverage detected