blob: 4c7e7c534e0f8832781633acee66fb0d1a27ff1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/*
* Copyright (c) 2021, Nick Vella <nick@nxk.io>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibGUI/ImageWidget.h>
#include <LibGUI/Label.h>
#include <LibGUI/Widget.h>
#include <LibGUI/Wizards/AbstractWizardPage.h>
namespace GUI {
class CoverWizardPage : public AbstractWizardPage {
C_OBJECT(CoverWizardPage);
ImageWidget& banner_image_widget() { return *m_banner_image_widget; }
void set_header_text(const String& text);
void set_body_text(const String& text);
private:
explicit CoverWizardPage();
RefPtr<ImageWidget> m_banner_image_widget;
RefPtr<Widget> m_content_widget;
RefPtr<Label> m_header_label;
RefPtr<Label> m_body_label;
};
}
|