mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:27:44 +00:00
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:
parent
7abef6ba9e
commit
443b043b49
14 changed files with 487 additions and 6 deletions
|
@ -15,6 +15,7 @@ class GraphicsBitmap : public Retainable<GraphicsBitmap> {
|
|||
public:
|
||||
#ifdef KERNEL
|
||||
static RetainPtr<GraphicsBitmap> create(Process&, const Size&);
|
||||
static RetainPtr<GraphicsBitmap> create_kernel_only(const Size&);
|
||||
#endif
|
||||
static RetainPtr<GraphicsBitmap> create_wrapper(const Size&, RGBA32*);
|
||||
static RetainPtr<GraphicsBitmap> load_from_file(const String& path, const Size&);
|
||||
|
@ -37,6 +38,7 @@ public:
|
|||
private:
|
||||
#ifdef KERNEL
|
||||
GraphicsBitmap(Process&, const Size&);
|
||||
GraphicsBitmap(const Size&);
|
||||
#endif
|
||||
GraphicsBitmap(const Size&, RGBA32*);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue