aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/configure_touchscreen_advanced.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-26 00:39:23 -0400
committerLioncash <mathew1800@gmail.com>2019-06-05 15:40:33 -0400
commite1d755bdda96fe8b25fc8be4181f48ca158679f1 (patch)
treefa967793555c54493be142d693d3bbb33e028910 /src/yuzu/configuration/configure_touchscreen_advanced.cpp
parent1eb979221f6664938456cefdbd5c79b7e59e2b8c (diff)
yuzu/configuration: Make function naming consistent
Diffstat (limited to 'src/yuzu/configuration/configure_touchscreen_advanced.cpp')
-rw-r--r--src/yuzu/configuration/configure_touchscreen_advanced.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/yuzu/configuration/configure_touchscreen_advanced.cpp b/src/yuzu/configuration/configure_touchscreen_advanced.cpp
index 9c1561e9d1..bad224239f 100644
--- a/src/yuzu/configuration/configure_touchscreen_advanced.cpp
+++ b/src/yuzu/configuration/configure_touchscreen_advanced.cpp
@@ -12,29 +12,29 @@ ConfigureTouchscreenAdvanced::ConfigureTouchscreenAdvanced(QWidget* parent)
ui->setupUi(this);
connect(ui->restore_defaults_button, &QPushButton::pressed, this,
- &ConfigureTouchscreenAdvanced::restoreDefaults);
+ &ConfigureTouchscreenAdvanced::RestoreDefaults);
- loadConfiguration();
+ LoadConfiguration();
resize(0, 0);
}
ConfigureTouchscreenAdvanced::~ConfigureTouchscreenAdvanced() = default;
-void ConfigureTouchscreenAdvanced::applyConfiguration() {
+void ConfigureTouchscreenAdvanced::ApplyConfiguration() {
Settings::values.touchscreen.finger = ui->finger_box->value();
Settings::values.touchscreen.diameter_x = ui->diameter_x_box->value();
Settings::values.touchscreen.diameter_y = ui->diameter_y_box->value();
Settings::values.touchscreen.rotation_angle = ui->angle_box->value();
}
-void ConfigureTouchscreenAdvanced::loadConfiguration() {
+void ConfigureTouchscreenAdvanced::LoadConfiguration() {
ui->finger_box->setValue(Settings::values.touchscreen.finger);
ui->diameter_x_box->setValue(Settings::values.touchscreen.diameter_x);
ui->diameter_y_box->setValue(Settings::values.touchscreen.diameter_y);
ui->angle_box->setValue(Settings::values.touchscreen.rotation_angle);
}
-void ConfigureTouchscreenAdvanced::restoreDefaults() {
+void ConfigureTouchscreenAdvanced::RestoreDefaults() {
ui->finger_box->setValue(0);
ui->diameter_x_box->setValue(15);
ui->diameter_y_box->setValue(15);