mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
WindowServer+LibGUI: Add ability to set per-window icons.
The icons are passed around as filesystem paths for now, since the shared memory bitmaps only support 2 sides.
This commit is contained in:
@@ -17,7 +17,7 @@ public:
|
||||
String caption() const { return m_caption; }
|
||||
void set_caption(const String&);
|
||||
|
||||
void set_icon(RetainPtr<GraphicsBitmap>&& icon) { m_icon = move(icon); }
|
||||
void set_icon(RetainPtr<GraphicsBitmap>&&);
|
||||
const GraphicsBitmap* icon() const { return m_icon.ptr(); }
|
||||
GraphicsBitmap* icon() { return m_icon.ptr(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user