mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
WindowServer+LibGUI: Show action icons in the menus when possible
Any GAction that has an icon assigned will now show up with that icon when added to a menu as well. I made the menu items 2px taller to accomodate the icons. I think this turned out quite nice as well :^)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "WSMenuItem.h"
|
||||
#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)
|
||||
: m_menu(menu)
|
||||
|
||||
Reference in New Issue
Block a user