mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:48:12 +00:00

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 :^)
29 lines
593 B
C++
29 lines
593 B
C++
/*
|
|
* Copyright (c) 2020, Ben Jilks <benjyjilks@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibGUI/Dialog.h>
|
|
|
|
namespace PixelPaint {
|
|
|
|
class CreateNewImageDialog final : public GUI::Dialog {
|
|
C_OBJECT(CreateNewImageDialog)
|
|
|
|
public:
|
|
Gfx::IntSize const& image_size() const { return m_image_size; }
|
|
DeprecatedString const& image_name() const { return m_image_name; }
|
|
|
|
private:
|
|
CreateNewImageDialog(GUI::Window* parent_window);
|
|
|
|
DeprecatedString m_image_name;
|
|
Gfx::IntSize m_image_size;
|
|
|
|
RefPtr<GUI::TextBox> m_name_textbox;
|
|
};
|
|
|
|
}
|