mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 11:39:44 +03:00
649d2faeab
We had some inconsistencies before: - Sometimes "The", sometimes "the" - Sometimes trailing ".", sometimes no trailing "." I picked the most common one (lowecase "the", trailing ".") and applied it to all copyright headers. By using the exact same string everywhere we can ensure nothing gets missed during a global search (and replace), and that these inconsistencies are not spread any further (as copyright headers are commonly copied to new files).
35 lines
913 B
C++
35 lines
913 B
C++
/*
|
|
* Copyright (c) 2020, Idan Horowitz <idan.horowitz@serenityos.org>
|
|
* Copyright (c) 2021, the SerenityOS developers.
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibGUI/Button.h>
|
|
#include <LibGUI/Slider.h>
|
|
#include <LibGUI/SpinBox.h>
|
|
#include <LibGUI/Window.h>
|
|
|
|
class MouseSettingsWindow final : public GUI::Window {
|
|
C_OBJECT(MouseSettingsWindow)
|
|
public:
|
|
virtual ~MouseSettingsWindow() override;
|
|
|
|
private:
|
|
MouseSettingsWindow();
|
|
|
|
void update_window_server();
|
|
void reset_default_values();
|
|
|
|
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<GUI::Button> m_ok_button;
|
|
RefPtr<GUI::Button> m_apply_button;
|
|
RefPtr<GUI::Button> m_reset_button;
|
|
};
|