summaryrefslogtreecommitdiff
path: root/lspaneeditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'lspaneeditor.h')
-rw-r--r--lspaneeditor.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/lspaneeditor.h b/lspaneeditor.h
index 22a7a7d..9aaf942 100644
--- a/lspaneeditor.h
+++ b/lspaneeditor.h
@@ -38,9 +38,19 @@ private:
QComboBox *m_horzOrigin, *m_vertOrigin;
QCheckBox *m_widescreen; //, *m_visible;
- QDoubleSpinBox *m_transX, *m_transY, *m_transZ;
- QDoubleSpinBox *m_rotX, *m_rotY, *m_rotZ;
- QDoubleSpinBox *m_scaleX, *m_scaleY;
+ union {
+ QDoubleSpinBox *m_srtSpinBoxes[8];
+ struct {
+ QDoubleSpinBox *m_transSpinBoxes[3];
+ QDoubleSpinBox *m_rotSpinBoxes[3];
+ QDoubleSpinBox *m_scaleSpinBoxes[2];
+ };
+ struct {
+ QDoubleSpinBox *m_transX, *m_transY, *m_transZ;
+ QDoubleSpinBox *m_rotX, *m_rotY, *m_rotZ;
+ QDoubleSpinBox *m_scaleX, *m_scaleY;
+ };
+ };
void createPaneTab();