summaryrefslogtreecommitdiff
path: root/lspaneeditor.h
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-08-18 04:40:06 +0200
committerTreeki <treeki@gmail.com>2012-08-18 04:40:06 +0200
commit060f6a4abf60444fd45ec08a71f4ce95b7555883 (patch)
tree83f556b68c3fbe71ed310bd74e4511d4ba0fcc02 /lspaneeditor.h
parenta55b7493b1bd54e9d1231fa18300e0f882700fe3 (diff)
downloadLayoutStudio-060f6a4abf60444fd45ec08a71f4ce95b7555883.tar.gz
LayoutStudio-060f6a4abf60444fd45ec08a71f4ce95b7555883.zip
sorted out ranges and steps and crap for the SRT spinboxes
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();