2020-06-12 05:27:34 +00:00
|
|
|
// Copyright 2020 Dolphin Emulator Project
|
2021-07-05 01:22:19 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2020-06-12 05:27:34 +00:00
|
|
|
|
|
|
|
#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;
|
|
|
|
};
|