blob: 8c88a650abba4331befa0b371f5771fffe2e42a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include <LibGUI/GDialog.h>
class GAboutDialog final : public GDialog {
C_OBJECT(GAboutDialog)
public:
virtual ~GAboutDialog() override;
static void show(const StringView& name, const GraphicsBitmap* icon = nullptr, CObject* parent = nullptr)
{
auto dialog = GAboutDialog::construct(name, icon, parent);
dialog->exec();
}
private:
GAboutDialog(const StringView& name, const GraphicsBitmap* icon = nullptr, CObject* parent = nullptr);
String m_name;
RefPtr<GraphicsBitmap> m_icon;
};
|