mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
561a4cfcce
This new setting is like Override Language on NTSC Games, except instead of only applying to the GameCube language setting, it also applies to the Wii language setting. Fixes https://bugs.dolphin-emu.org/issues/11299
35 lines
588 B
C++
35 lines
588 B
C++
// Copyright 2018 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <QWidget>
|
|
|
|
class QCheckBox;
|
|
class QComboBox;
|
|
class QPushButton;
|
|
|
|
class GameCubePane : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit GameCubePane();
|
|
|
|
private:
|
|
void CreateWidgets();
|
|
void ConnectWidgets();
|
|
|
|
void LoadSettings();
|
|
void SaveSettings();
|
|
|
|
void UpdateButton(int slot);
|
|
void OnConfigPressed(int slot);
|
|
|
|
QCheckBox* m_skip_main_menu;
|
|
QComboBox* m_language_combo;
|
|
|
|
QPushButton* m_slot_buttons[3];
|
|
QComboBox* m_slot_combos[3];
|
|
};
|