mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
DolphinQt: Move Free Look out of Graphics/Hotkey and into its own configuration window. Launched from a new menu option - "Free Look Settings". The HotKeyScheduler still calls the Free Look functionality to reduce the total number of threads
This commit is contained in:
parent
9ac6090c9a
commit
9a744ab25b
18 changed files with 323 additions and 93 deletions
30
Source/Core/DolphinQt/Config/FreeLookWidget.h
Normal file
30
Source/Core/DolphinQt/Config/FreeLookWidget.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
// Copyright 2020 Dolphin Emulator Project
|
||||
// Licensed under GPLv2+
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
class GraphicsChoice;
|
||||
class QPushButton;
|
||||
class ToolTipCheckBox;
|
||||
|
||||
class FreeLookWidget final : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit FreeLookWidget(QWidget* parent);
|
||||
|
||||
private:
|
||||
void CreateLayout();
|
||||
void ConnectWidgets();
|
||||
|
||||
void OnFreeLookControllerConfigured();
|
||||
void LoadSettings();
|
||||
void SaveSettings();
|
||||
|
||||
ToolTipCheckBox* m_enable_freelook;
|
||||
GraphicsChoice* m_freelook_control_type;
|
||||
QPushButton* m_freelook_controller_configure_button;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue