| 1923 | } |
| 1924 | |
| 1925 | float ImGuiStorage::GetFloat(ImGuiID key, float default_val) const |
| 1926 | { |
| 1927 | ImGuiStoragePair* it = LowerBound(const_cast<ImVector<ImGuiStoragePair>&>(Data), key); |
| 1928 | if (it == Data.end() || it->key != key) |
| 1929 | return default_val; |
| 1930 | return it->val_f; |
| 1931 | } |
| 1932 | |
| 1933 | void* ImGuiStorage::GetVoidPtr(ImGuiID key) const |
| 1934 | { |
nothing calls this directly
no test coverage detected