mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 16:47:45 +00:00
PaintBrush: Add support for opening files.
Obviously this only supports whatever PNG files that load_png() can decode at the moment.
This commit is contained in:
parent
8adae51b35
commit
b529b4a3e6
3 changed files with 24 additions and 0 deletions
|
@ -23,6 +23,8 @@ public:
|
|||
|
||||
Color color_for(const GMouseEvent&);
|
||||
|
||||
void set_bitmap(const GraphicsBitmap&);
|
||||
|
||||
GraphicsBitmap& bitmap() { return *m_bitmap; }
|
||||
const GraphicsBitmap& bitmap() const { return *m_bitmap; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue