ladybird/Servers/WindowServer/WSMenuBar.cpp
Andreas Kling 1e604b7984 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 :^)
2019-08-26 18:54:44 +02:00

14 lines
256 B
C++

#include "WSMenuBar.h"
#include "WSMenu.h"
#include "WSMenuItem.h"
#include <LibDraw/GraphicsBitmap.h>
WSMenuBar::WSMenuBar(WSClientConnection& client, int menubar_id)
: m_client(client)
, m_menubar_id(menubar_id)
{
}
WSMenuBar::~WSMenuBar()
{
}