| 1925 | } |
| 1926 | |
| 1927 | void ImGuiStorage::SetFloat(ImGuiID key, float val) |
| 1928 | { |
| 1929 | ImGuiStoragePair* it = LowerBound(Data, key); |
| 1930 | if (it == Data.end() || it->key != key) |
| 1931 | { |
| 1932 | Data.insert(it, ImGuiStoragePair(key, val)); |
| 1933 | return; |
| 1934 | } |
| 1935 | it->val_f = val; |
| 1936 | } |
| 1937 | |
| 1938 | void ImGuiStorage::SetVoidPtr(ImGuiID key, void* val) |
| 1939 | { |
nothing calls this directly
no test coverage detected