| 2264 | } |
| 2265 | |
| 2266 | int ImGuiStorage::GetInt(ImGuiID key, int default_val) const |
| 2267 | { |
| 2268 | ImGuiStoragePair* it = LowerBound(const_cast<ImVector<ImGuiStoragePair>&>(Data), key); |
| 2269 | if (it == Data.end() || it->key != key) |
| 2270 | return default_val; |
| 2271 | return it->val_i; |
| 2272 | } |
| 2273 | |
| 2274 | bool ImGuiStorage::GetBool(ImGuiID key, bool default_val) const |
| 2275 | { |
no test coverage detected