summaryrefslogtreecommitdiff
path: root/Userland/Services/WindowServer/MultiScaleBitmaps.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Services/WindowServer/MultiScaleBitmaps.h')
-rw-r--r--Userland/Services/WindowServer/MultiScaleBitmaps.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Services/WindowServer/MultiScaleBitmaps.h b/Userland/Services/WindowServer/MultiScaleBitmaps.h
index 765efc58cc..47789bd284 100644
--- a/Userland/Services/WindowServer/MultiScaleBitmaps.h
+++ b/Userland/Services/WindowServer/MultiScaleBitmaps.h
@@ -24,6 +24,7 @@ public:
Gfx::BitmapFormat format() const { return m_format; }
bool load(StringView filename, StringView default_filename = {});
void add_bitmap(int scale_factor, NonnullRefPtr<Gfx::Bitmap>&&);
+ bool is_empty() const { return m_bitmaps.is_empty(); }
private:
MultiScaleBitmaps() = default;