diff --git a/src/app/gfx/bitmap.h b/src/app/gfx/bitmap.h index e771fcbe..1e573bd7 100644 --- a/src/app/gfx/bitmap.h +++ b/src/app/gfx/bitmap.h @@ -292,6 +292,8 @@ class BitmapManager { } auto mutable_bitmap(int id) { return &bitmap_cache_[id]; } void clear_cache() { bitmap_cache_.clear(); } + auto size() const { return bitmap_cache_.size(); } + auto at(int id) const { return bitmap_cache_.at(id); } using value_type = std::pair; using iterator = std::unordered_map::iterator;