1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:17:44 +00:00

WindowServer: Add some app icons to the system menu

This commit is contained in:
Andreas Kling 2019-08-26 21:15:35 +02:00
parent c0d81bea06
commit 1077c15917
3 changed files with 8 additions and 6 deletions

View file

@ -2,7 +2,7 @@
#include "WSMenu.h"
#include <LibDraw/GraphicsBitmap.h>
WSMenuItem::WSMenuItem(WSMenu& menu, unsigned identifier, const String& text, const String& shortcut_text, bool enabled, bool checkable, bool checked)
WSMenuItem::WSMenuItem(WSMenu& menu, unsigned identifier, const String& text, const String& shortcut_text, bool enabled, bool checkable, bool checked, const GraphicsBitmap* icon)
: m_menu(menu)
, m_type(Text)
, m_enabled(enabled)
@ -11,6 +11,7 @@ WSMenuItem::WSMenuItem(WSMenu& menu, unsigned identifier, const String& text, co
, m_identifier(identifier)
, m_text(text)
, m_shortcut_text(shortcut_text)
, m_icon(icon)
{
}