mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 02:45:08 +00:00
18 lines
394 B
C++
18 lines
394 B
C++
#pragma once
|
|
|
|
#include <LibGUI/GButton.h>
|
|
#include "WindowIdentifier.h"
|
|
|
|
class TaskbarButton final : public GButton {
|
|
public:
|
|
TaskbarButton(const WindowIdentifier&, GWidget* parent);
|
|
virtual ~TaskbarButton() override;
|
|
|
|
private:
|
|
virtual void context_menu_event(GContextMenuEvent&) override;
|
|
|
|
GMenu& ensure_menu();
|
|
|
|
WindowIdentifier m_identifier;
|
|
OwnPtr<GMenu> m_menu;
|
|
};
|