mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +00:00
LibGUI: Add a const accessor to ImageWidget's bitmap
This commit is contained in:
parent
4cf4a7cc87
commit
35cacb850a
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ public:
|
|||
|
||||
void set_bitmap(const Gfx::Bitmap*);
|
||||
Gfx::Bitmap* bitmap() { return m_bitmap.ptr(); }
|
||||
Gfx::Bitmap const* bitmap() const { return m_bitmap.ptr(); }
|
||||
|
||||
void set_should_stretch(bool value) { m_should_stretch = value; }
|
||||
bool should_stretch() const { return m_should_stretch; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue