
We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
34 lines
733 B
C++
34 lines
733 B
C++
/*
|
|
* 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(DeprecatedString const& text);
|
|
void set_body_text(DeprecatedString const& 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;
|
|
};
|
|
|
|
}
|