/* * Copyright (c) 2020, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include namespace PixelPaint { class Layer; class LayerPropertiesWidget final : public GUI::Widget { C_OBJECT(LayerPropertiesWidget); public: virtual ~LayerPropertiesWidget() override; void set_layer(Layer*); private: LayerPropertiesWidget(); RefPtr m_visibility_checkbox; RefPtr m_opacity_slider; RefPtr m_name_textbox; WeakPtr m_layer; }; }