IR widget is now a rectangle

This commit is contained in:
Rukai
2018-02-06 22:10:28 +11:00
committed by Lucas Kent
parent d07e212cef
commit a8d482d8e1
11 changed files with 218 additions and 50 deletions

View File

@ -4,10 +4,10 @@
#pragma once
#include "Common/CommonTypes.h"
#include <QWidget>
#include "Common/CommonTypes.h"
class QDialog;
class QString;
class QSpinBox;
@ -19,6 +19,8 @@ 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);
Qt::Key shortcut_key, QWidget* shortcut_widget,
bool invert = false);
QSpinBox* CreateSliderValuePair(QDialog* window, QBoxLayout* layout, u16 max, Qt::Key shortcut_key,
Qt::Orientation orientation, QWidget* shortcut_widget);
Qt::Orientation orientation, QWidget* shortcut_widget,
bool invert = false);