/* * Copyright (c) 2020, Ben Jilks * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include namespace PixelPaint { class Tool; class ToolPropertiesWidget final : public GUI::Widget { C_OBJECT(ToolPropertiesWidget); public: virtual ~ToolPropertiesWidget() override; void set_active_tool(Tool*); private: ToolPropertiesWidget(); RefPtr m_group_box; Tool* m_active_tool { nullptr }; GUI::Widget* m_active_tool_widget { nullptr }; }; }