/* * Copyright (c) 2022, MacDue * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include "HighlightPreviewWidget.h" #include #include #include #include class HighlightWidget final : public GUI::SettingsWindow::Tab { C_OBJECT(HighlightWidget) public: virtual ~HighlightWidget() override = default; virtual void apply_settings() override; virtual void reset_default_values() override; private: Gfx::Color highlight_color(); int highlight_radius(); HighlightWidget(); RefPtr m_highlight_preview; RefPtr m_highlight_color_input; RefPtr m_highlight_opacity_slider; RefPtr m_highlight_radius_slider; };