| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
#pragma once |
| 5 |
|
| 6 |
#include "DolphinQt/TAS/TASInputWindow.h" |
| 7 |
|
| 8 |
class QGroupBox; |
| 9 |
class QHideEvent; |
| 10 |
class QShowEvent; |
| 11 |
class QSpinBox; |
| 12 |
class TASCheckBox; |
| 13 |
|
| 14 |
class GBATASInputWindow final : public TASInputWindow |
| 15 |
{ |
| 16 |
Q_OBJECT |
| 17 |
public: |
| 18 |
explicit GBATASInputWindow(QWidget* parent, int controller_id); |
| 19 |
|
| 20 |
void hideEvent(QHideEvent* event) override; |
| 21 |
void showEvent(QShowEvent* event) override; |
| 22 |
|
| 23 |
private: |
| 24 |
int m_controller_id; |
| 25 |
|
| 26 |
InputOverrider m_overrider; |
| 27 |
|
| 28 |
TASCheckBox* m_b_button; |
| 29 |
TASCheckBox* m_a_button; |
| 30 |
TASCheckBox* m_l_button; |
| 31 |
TASCheckBox* m_r_button; |
| 32 |
TASCheckBox* m_select_button; |
| 33 |
TASCheckBox* m_start_button; |
| 34 |
|
| 35 |
TASCheckBox* m_left_button; |
| 36 |
TASCheckBox* m_up_button; |
| 37 |
TASCheckBox* m_down_button; |
| 38 |
TASCheckBox* m_right_button; |
| 39 |
}; |