forked from dolphin-emu/dolphin
		
	This saves us from having to hardcode strings, and it also gives us strings in whatever format is appropriate on the current OS (for instance, IIRC Windows uses Alt+F where other OSes use Alt-F).
		
			
				
	
	
		
			27 lines
		
	
	
		
			1001 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			1001 B
		
	
	
	
		
			C++
		
	
	
	
	
	
// Copyright 2018 Dolphin Emulator Project
 | 
						|
// Licensed under GPLv2+
 | 
						|
// Refer to the license.txt file included.
 | 
						|
 | 
						|
#pragma once
 | 
						|
 | 
						|
#include <QWidget>
 | 
						|
 | 
						|
#include "Common/CommonTypes.h"
 | 
						|
 | 
						|
class QDialog;
 | 
						|
class QString;
 | 
						|
class QSpinBox;
 | 
						|
class QCheckBox;
 | 
						|
class QBoxLayout;
 | 
						|
class QGroupBox;
 | 
						|
struct GCPadStatus;
 | 
						|
 | 
						|
QGroupBox* CreateStickInputs(QDialog* window, QString name, QSpinBox*& x_value, QSpinBox*& y_value,
 | 
						|
                             u16 max_x, u16 max_y, Qt::Key x_shortcut_key, Qt::Key y_shortcut_key);
 | 
						|
QBoxLayout* CreateSliderValuePairLayout(QDialog* window, QString name, QSpinBox*& value, u16 max,
 | 
						|
                                        Qt::Key shortcut_key, QWidget* shortcut_widget,
 | 
						|
                                        bool invert = false);
 | 
						|
QSpinBox* CreateSliderValuePair(QDialog* window, QBoxLayout* layout, u16 max,
 | 
						|
                                QKeySequence shortcut_key_sequence, Qt::Orientation orientation,
 | 
						|
                                QWidget* shortcut_widget, bool invert = false);
 |