mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:07:36 +00:00
WindowServer: Rename (files) WSMenuBarKeeper => WSMenuManager.
This commit is contained in:
parent
66e9de8aaa
commit
2167f60235
4 changed files with 2 additions and 2 deletions
30
Servers/WindowServer/WSMenuManager.h
Normal file
30
Servers/WindowServer/WSMenuManager.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
#pragma once
|
||||
|
||||
#include <LibCore/CObject.h>
|
||||
#include <WindowServer/WSCPUMonitor.h>
|
||||
#include <WindowServer/WSWindow.h>
|
||||
|
||||
class WSMenuManager final : public CObject {
|
||||
public:
|
||||
WSMenuManager();
|
||||
virtual ~WSMenuManager() override;
|
||||
|
||||
void setup();
|
||||
void refresh();
|
||||
|
||||
virtual void event(CEvent&) override;
|
||||
virtual const char* class_name() const override { return "WSMenuManager"; }
|
||||
|
||||
private:
|
||||
WSWindow& window() { return *m_window; }
|
||||
const WSWindow& window() const { return *m_window; }
|
||||
|
||||
void handle_menu_mouse_event(WSMenu&, const WSMouseEvent&);
|
||||
|
||||
void draw();
|
||||
void tick_clock();
|
||||
|
||||
OwnPtr<WSWindow> m_window;
|
||||
WSCPUMonitor m_cpu_monitor;
|
||||
String m_username;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue