| 1862 | } |
| 1863 | |
| 1864 | float ImGuiStorage::GetFloat(ImGuiID key, float default_val) const |
| 1865 | { |
| 1866 | ImGuiStoragePair* it = LowerBound(const_cast<ImVector<ImGuiStoragePair>&>(Data), key); |
| 1867 | if (it == Data.end() || it->key != key) |
| 1868 | return default_val; |
| 1869 | return it->val_f; |
| 1870 | } |
| 1871 | |
| 1872 | void* ImGuiStorage::GetVoidPtr(ImGuiID key) const |
| 1873 | { |
nothing calls this directly
no test coverage detected