mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
25 lines
382 B
C++
25 lines
382 B
C++
#pragma once
|
|
|
|
class Widget;
|
|
|
|
#include "Object.h"
|
|
#include <AK/HashTable.h>
|
|
|
|
class WindowManager : public Object {
|
|
public:
|
|
static WindowManager& the();
|
|
|
|
void addWindow(Widget&);
|
|
void paintWindowFrames();
|
|
|
|
void notifyTitleChanged(Widget&);
|
|
|
|
private:
|
|
WindowManager();
|
|
~WindowManager();
|
|
|
|
void paintWindowFrame(Widget&);
|
|
|
|
HashTable<Widget*> m_windows;
|
|
};
|