mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:48:11 +00:00
WindowServer: More work on the menu system.
Menus are now tied to a Process (by WeakPtr.) This will allow us to pass notifications to the correct event stream.
This commit is contained in:
parent
133706d697
commit
15b4c9f9f1
7 changed files with 43 additions and 39 deletions
|
@ -1,8 +1,10 @@
|
|||
#include "WSMenuBar.h"
|
||||
#include "WSMenu.h"
|
||||
#include "WSMenuItem.h"
|
||||
#include <Kernel/Process.h>
|
||||
|
||||
WSMenuBar::WSMenuBar()
|
||||
WSMenuBar::WSMenuBar(Process& process)
|
||||
: m_process(process.make_weak_ptr())
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue