/* * Copyright (c) 2020, Ben Jilks * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include namespace PixelPaint { class CreateNewImageDialog final : public GUI::Dialog { C_OBJECT(CreateNewImageDialog) public: const Gfx::IntSize& image_size() const { return m_image_size; } const String& image_name() const { return m_image_name; } private: CreateNewImageDialog(GUI::Window* parent_window); String m_image_name; Gfx::IntSize m_image_size; RefPtr m_name_textbox; }; }