mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:47:44 +00:00
WindowServer: Move video mode setup to WSScreen.
This commit is contained in:
parent
809266a9fb
commit
82768e7ac5
6 changed files with 47 additions and 58 deletions
|
@ -66,9 +66,6 @@ public:
|
|||
Color menu_selection_color() const { return m_menu_selection_color; }
|
||||
int menubar_menu_margin() const;
|
||||
|
||||
int framebuffer_fd() const { return m_framebuffer_fd; }
|
||||
void set_framebuffer_fd(int fd) { m_framebuffer_fd = fd; }
|
||||
|
||||
private:
|
||||
void process_mouse_event(WSMouseEvent&);
|
||||
void handle_menu_mouse_event(WSMenu&, WSMouseEvent&);
|
||||
|
@ -149,6 +146,4 @@ private:
|
|||
Color m_menu_selection_color;
|
||||
WeakPtr<WSMenuBar> m_current_menubar;
|
||||
WeakPtr<WSMenu> m_current_menu;
|
||||
|
||||
int m_framebuffer_fd { -1 };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue