1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 13:45:08 +00:00

LibWeb: Generate ImageData bindings from IDL :^)

This commit is contained in:
Andreas Kling 2020-06-21 15:57:10 +02:00
parent b959d06ace
commit dd29ff884f
7 changed files with 46 additions and 162 deletions

View file

@ -42,8 +42,8 @@ public:
~ImageData();
int width() const;
int height() const;
unsigned width() const;
unsigned height() const;
Gfx::Bitmap& bitmap() { return m_bitmap; }
const Gfx::Bitmap& bitmap() const { return m_bitmap; }