summaryrefslogtreecommitdiff
path: root/Applications/Taskbar/TaskbarButton.h
blob: 546a6f1192f4c75becdea38e9de9fdc304c15a43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include "WindowIdentifier.h"
#include <LibGUI/GButton.h>

class TaskbarButton final : public GButton {
    C_OBJECT(TaskbarButton)
public:
    TaskbarButton(const WindowIdentifier&, GWidget* parent);
    virtual ~TaskbarButton() override;

private:
    virtual void context_menu_event(GContextMenuEvent&) override;
    virtual void resize_event(GResizeEvent&) override;

    WindowIdentifier m_identifier;
};