mirror of
https://github.com/RGBCube/serenity
synced 2025-05-24 08:55:07 +00:00

Also run it across the whole tree to get everything using the One True Style. We don't yet run this in an automated fashion as it's a little slow, but there is a snippet to do so in makeall.sh.
18 lines
394 B
C++
18 lines
394 B
C++
#pragma once
|
|
|
|
#include "WindowIdentifier.h"
|
|
#include <LibGUI/GButton.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;
|
|
};
|