mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:38:11 +00:00
21 lines
489 B
C++
21 lines
489 B
C++
#include <LibGUI/GWindow.h>
|
|
#include <LibGUI/GWidget.h>
|
|
#include "WindowList.h"
|
|
|
|
class TaskbarWindow final : public GWindow {
|
|
public:
|
|
TaskbarWindow();
|
|
virtual ~TaskbarWindow() override;
|
|
|
|
int taskbar_height() const { return 28; }
|
|
|
|
virtual const char* class_name() const override { return "TaskbarWindow"; }
|
|
|
|
private:
|
|
void on_screen_rect_change(const Rect&);
|
|
GButton* create_button();
|
|
|
|
virtual void wm_event(GWMEvent&) override;
|
|
|
|
WindowList m_window_list;
|
|
};
|