WindowServer: Start implementing a menu system.

I'm going with a global top-of-the-screen menu instead of per-window menus.
The basic idea is that menus will live in the WindowServer and clients can
create menus via WindowServer requests.
This commit is contained in:
Andreas Kling 2019-02-11 09:47:10 +01:00
commit 443b043b49
Notes: sideshowbarker 2024-07-19 15:47:44 +09:00
14 changed files with 487 additions and 6 deletions

View file

@ -58,6 +58,7 @@ public:
byte glyph_width() const { return m_glyph_width; }
byte glyph_height() const { return m_glyph_height; }
int width(const String& string) const { return string.length() * glyph_width(); }
String name() const { return m_name; }
void set_name(const String& name) { m_name = name; }