/* * Copyright (c) 2021-2022, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include "DoubleClickArrowWidget.h" #include #include #include class MouseWidget final : public GUI::SettingsWindow::Tab { C_OBJECT(MouseWidget) public: virtual ~MouseWidget() override = default; virtual void apply_settings() override; virtual void reset_default_values() override; private: MouseWidget(); void update_speed_label(); void update_double_click_speed_label(); RefPtr m_speed_slider; RefPtr m_speed_label; RefPtr m_scroll_length_spinbox; RefPtr m_double_click_speed_slider; RefPtr m_double_click_speed_label; RefPtr m_switch_buttons_checkbox; RefPtr m_double_click_arrow_widget; };