mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 00:05:06 +00:00
22 lines
434 B
C++
22 lines
434 B
C++
/*
|
|
* Copyright (c) 2021, Gunnar Beutner <gunnar@beutner.name>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibGUI/Widget.h>
|
|
|
|
class SpeechBubble final : public GUI::Widget {
|
|
C_OBJECT(SpeechBubble);
|
|
|
|
public:
|
|
virtual void paint_event(GUI::PaintEvent&) override;
|
|
virtual void mousedown_event(GUI::MouseEvent&) override;
|
|
|
|
Function<void()> on_dismiss;
|
|
|
|
private:
|
|
SpeechBubble() = default;
|
|
};
|