mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:37:34 +00:00
MouseSettings: Add option to reverse buttons
Add option to reverse primary and secondary buttons in Mouse Settings. - WindowServer.ini: add default entry - switch-mouse-buttons.png: new icon for settings entry - Mouse.gml/MouseWidget.*: new settings dialog - ClientConnection/WindowManager/Server: window message for settings - EventLoop.cpp: swap buttons 1 and 2 if settings are on
This commit is contained in:
parent
5599d22744
commit
0e68550c05
11 changed files with 90 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <LibGUI/CheckBox.h>
|
||||
#include <LibGUI/Window.h>
|
||||
|
||||
#include "DoubleClickArrowWidget.h"
|
||||
|
@ -26,5 +27,6 @@ private:
|
|||
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::CheckBox> m_switch_buttons_checkbox;
|
||||
RefPtr<MouseSettings::DoubleClickArrowWidget> m_double_click_arrow_widget;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue