mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:37:45 +00:00
WindowServer: Remove "system menu" concept from WindowServer
This commit is contained in:
parent
619a223800
commit
327866520a
9 changed files with 19 additions and 148 deletions
|
@ -74,11 +74,6 @@ public:
|
|||
callback(item);
|
||||
}
|
||||
|
||||
Gfx::IntRect text_rect_in_global_menubar() const { return m_text_rect_in_global_menubar; }
|
||||
void set_text_rect_in_global_menubar(const Gfx::IntRect& rect) { m_text_rect_in_global_menubar = rect; }
|
||||
Gfx::IntRect rect_in_global_menubar() const { return m_rect_in_global_menubar; }
|
||||
void set_rect_in_global_menubar(const Gfx::IntRect& rect) { m_rect_in_global_menubar = rect; }
|
||||
|
||||
Gfx::IntRect text_rect_in_window_menubar() const { return m_text_rect_in_window_menubar; }
|
||||
void set_text_rect_in_window_menubar(const Gfx::IntRect& rect) { m_text_rect_in_window_menubar = rect; }
|
||||
Gfx::IntRect rect_in_window_menubar() const { return m_rect_in_window_menubar; }
|
||||
|
@ -153,8 +148,6 @@ private:
|
|||
ClientConnection* m_client { nullptr };
|
||||
int m_menu_id { 0 };
|
||||
String m_name;
|
||||
Gfx::IntRect m_rect_in_global_menubar;
|
||||
Gfx::IntRect m_text_rect_in_global_menubar;
|
||||
Gfx::IntRect m_rect_in_window_menubar;
|
||||
Gfx::IntRect m_text_rect_in_window_menubar;
|
||||
MenuBar* m_menubar { nullptr };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue