1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 20:37:34 +00:00

MouseSettings: Add a tab to change cursor theme

This commit is contained in:
Maciej Zygmanowski 2021-08-02 12:14:52 +02:00 committed by Andreas Kling
parent 3597b6eb9d
commit 42df4fb2df
9 changed files with 388 additions and 76 deletions

View file

@ -0,0 +1,30 @@
/*
* Copyright (c) 2021, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibGUI/Window.h>
#include "DoubleClickArrowWidget.h"
class MouseWidget final : public GUI::Widget {
C_OBJECT(MouseWidget)
public:
virtual ~MouseWidget() override;
void update_window_server();
void reset_default_values();
private:
MouseWidget();
RefPtr<GUI::HorizontalSlider> m_speed_slider;
RefPtr<GUI::Label> m_speed_label;
RefPtr<GUI::SpinBox> m_scroll_length_spinbox;
RefPtr<GUI::HorizontalSlider> m_double_click_speed_slider;
RefPtr<GUI::Label> m_double_click_speed_label;
RefPtr<MouseSettings::DoubleClickArrowWidget> m_double_click_arrow_widget;
};