mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:27:45 +00:00
WindowServer: Make most of WSMenuBarKeeper private.
The outside world doesn't need to know about all this stuff.
This commit is contained in:
parent
2e9cc75d11
commit
ede598589a
1 changed files with 5 additions and 5 deletions
|
@ -9,17 +9,17 @@ public:
|
||||||
WSMenuBarKeeper();
|
WSMenuBarKeeper();
|
||||||
virtual ~WSMenuBarKeeper() override;
|
virtual ~WSMenuBarKeeper() override;
|
||||||
|
|
||||||
WSWindow& window() { return *m_window; }
|
|
||||||
const WSWindow& window() const { return *m_window; }
|
|
||||||
|
|
||||||
void draw();
|
|
||||||
void refresh();
|
|
||||||
void setup();
|
void setup();
|
||||||
|
void refresh();
|
||||||
|
|
||||||
virtual void event(CEvent&) override;
|
virtual void event(CEvent&) override;
|
||||||
virtual const char* class_name() const override { return "WSMenuBarKeeper"; }
|
virtual const char* class_name() const override { return "WSMenuBarKeeper"; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
WSWindow& window() { return *m_window; }
|
||||||
|
const WSWindow& window() const { return *m_window; }
|
||||||
|
|
||||||
|
void draw();
|
||||||
void tick_clock();
|
void tick_clock();
|
||||||
|
|
||||||
OwnPtr<WSWindow> m_window;
|
OwnPtr<WSWindow> m_window;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue