summaryrefslogtreecommitdiff
path: root/Applications/Taskbar/TaskbarWindow.h
blob: b38269a2301377d9be044b23a890a5370265b6e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "WindowList.h"
#include <LibGUI/GWidget.h>
#include <LibGUI/GWindow.h>

class TaskbarWindow final : public GWindow {
    C_OBJECT(TaskbarWindow)
public:
    TaskbarWindow();
    virtual ~TaskbarWindow() override;

    int taskbar_height() const { return 28; }

private:
    void create_quick_launch_bar();
    void on_screen_rect_change(const Rect&);
    NonnullRefPtr<GButton> create_button(const WindowIdentifier&);

    virtual void wm_event(GWMEvent&) override;
};