mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-15 07:09:43 +03:00
30 lines
573 B
C++
30 lines
573 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; }
|
|
String const& image_name() const { return m_image_name; }
|
|
|
|
private:
|
|
CreateNewImageDialog(GUI::Window* parent_window);
|
|
|
|
String m_image_name;
|
|
Gfx::IntSize m_image_size;
|
|
|
|
RefPtr<GUI::TextBox> m_name_textbox;
|
|
};
|
|
|
|
}
|