Serenity Operating System
at master 29 lines 620 B view raw
1/* 2 * Copyright (c) 2020, Andreas Kling <kling@serenityos.org> 3 * 4 * SPDX-License-Identifier: BSD-2-Clause 5 */ 6 7#pragma once 8 9#include <LibGUI/Dialog.h> 10 11namespace PixelPaint { 12 13class CreateNewLayerDialog final : public GUI::Dialog { 14 C_OBJECT(CreateNewLayerDialog); 15 16public: 17 Gfx::IntSize layer_size() const { return m_layer_size; } 18 DeprecatedString const& layer_name() const { return m_layer_name; } 19 20private: 21 CreateNewLayerDialog(Gfx::IntSize suggested_size, GUI::Window* parent_window); 22 23 Gfx::IntSize m_layer_size; 24 DeprecatedString m_layer_name; 25 26 RefPtr<GUI::TextBox> m_name_textbox; 27}; 28 29}