mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-30 22:28:22 +00:00
Kernel: Add ioctls to BochsVGADevice for mode setting and page flipping.
Use these in WindowServer instead of poking at the BochsVGADevice directly.
This commit is contained in:
parent
799177feda
commit
468113422f
Notes:
sideshowbarker
2024-07-19 15:42:09 +09:00
Author: https://github.com/awesomekling
Commit: 468113422f
6 changed files with 50 additions and 16 deletions
|
@ -63,8 +63,8 @@ public:
|
|||
Color menu_selection_color() const { return m_menu_selection_color; }
|
||||
int menubar_menu_margin() const;
|
||||
|
||||
int api$menu_add_separator(int menu_id);
|
||||
int api$menu_add_item(int menu_id, unsigned identifier, String&& text);
|
||||
int framebuffer_fd() const { return m_framebuffer_fd; }
|
||||
void set_framebuffer_fd(int fd) { m_framebuffer_fd = fd; }
|
||||
|
||||
private:
|
||||
WSWindowManager();
|
||||
|
@ -151,4 +151,6 @@ 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