| 2326 | } |
| 2327 | |
| 2328 | int ImGuiStorage::GetInt(ImGuiID key, int default_val) const |
| 2329 | { |
| 2330 | ImGuiStoragePair* it = LowerBound(const_cast<ImVector<ImGuiStoragePair>&>(Data), key); |
| 2331 | if (it == Data.end() || it->key != key) |
| 2332 | return default_val; |
| 2333 | return it->val_i; |
| 2334 | } |
| 2335 | |
| 2336 | bool ImGuiStorage::GetBool(ImGuiID key, bool default_val) const |
| 2337 | { |
no test coverage detected