| 1986 | } |
| 1987 | |
| 1988 | void ImGuiStorage::SetFloat(ImGuiID key, float val) |
| 1989 | { |
| 1990 | ImGuiStoragePair* it = LowerBound(Data, key); |
| 1991 | if (it == Data.end() || it->key != key) |
| 1992 | { |
| 1993 | Data.insert(it, ImGuiStoragePair(key, val)); |
| 1994 | return; |
| 1995 | } |
| 1996 | it->val_f = val; |
| 1997 | } |
| 1998 | |
| 1999 | void ImGuiStorage::SetVoidPtr(ImGuiID key, void* val) |
| 2000 | { |
nothing calls this directly
no test coverage detected