| 1962 | } |
| 1963 | |
| 1964 | int ImGuiStorage::GetInt(ImGuiID key, int default_val) const |
| 1965 | { |
| 1966 | ImGuiStoragePair* it = LowerBound(const_cast<ImVector<ImGuiStoragePair>&>(Data), key); |
| 1967 | if (it == Data.end() || it->key != key) |
| 1968 | return default_val; |
| 1969 | return it->val_i; |
| 1970 | } |
| 1971 | |
| 1972 | bool ImGuiStorage::GetBool(ImGuiID key, bool default_val) const |
| 1973 | { |
no test coverage detected