| 2277 | } |
| 2278 | |
| 2279 | float ImGuiStorage::GetFloat(ImGuiID key, float default_val) const |
| 2280 | { |
| 2281 | ImGuiStoragePair* it = LowerBound(const_cast<ImVector<ImGuiStoragePair>&>(Data), key); |
| 2282 | if (it == Data.end() || it->key != key) |
| 2283 | return default_val; |
| 2284 | return it->val_f; |
| 2285 | } |
| 2286 | |
| 2287 | void* ImGuiStorage::GetVoidPtr(ImGuiID key) const |
| 2288 | { |
nothing calls this directly
no test coverage detected