summaryrefslogtreecommitdiff
path: root/lsmaterialeditor.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-09-06 06:05:52 +0200
committerTreeki <treeki@gmail.com>2012-09-06 06:05:52 +0200
commitbe8b56a7f0a8f6ba5456a099b61d032fd8aa2f61 (patch)
treef9ff07b4f67b6e1839bb551ecd93dae60a9d7861 /lsmaterialeditor.cpp
parent5db787d8b88e214c89b8e02eaf619d18914e8571 (diff)
downloadLayoutStudio-be8b56a7f0a8f6ba5456a099b61d032fd8aa2f61.tar.gz
LayoutStudio-be8b56a7f0a8f6ba5456a099b61d032fd8aa2f61.zip
unfinished TEV stage editor. this is awful mind-numbing work :(HEADmaster
Diffstat (limited to 'lsmaterialeditor.cpp')
-rw-r--r--lsmaterialeditor.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lsmaterialeditor.cpp b/lsmaterialeditor.cpp
index 5ff2825..9494837 100644
--- a/lsmaterialeditor.cpp
+++ b/lsmaterialeditor.cpp
@@ -1,4 +1,5 @@
#include "lsmaterialeditor.h"
+#include "lsmaterialeditors.h"
#include <QGroupBox>
LSMaterialEditor::LSMaterialEditor(QWidget *parent) :
@@ -17,7 +18,7 @@ LSMaterialEditor::LSMaterialEditor(QWidget *parent) :
QGroupBox *tevCBox = new QGroupBox("TEV Colours", this);
QGridLayout *tevCLayout = new QGridLayout(tevCBox);
- tevCLayout->addWidget(new QLabel("Registers:", tevCBox), 0, 0, 1, 4);
+ tevCLayout->addWidget(new QLabel("Initial Registers:", tevCBox), 0, 0, 1, 4);
tevCLayout->addWidget(new QLabel("Constant:", tevCBox), 2, 0, 1, 4);
for (int i = 0; i < 7; i++) {
@@ -33,7 +34,7 @@ LSMaterialEditor::LSMaterialEditor(QWidget *parent) :
QGroupBox *stageBox = new QGroupBox("TEV Stages", this);
QVBoxLayout *stageLayout = new QVBoxLayout(stageBox);
- m_tevStageSetEditor = new LSSetEditor<LYTTevStage, LSTevStageEditor>(8, stageBox);
+ m_tevStageSetEditor = new LSSetEditor<LYTTevStage, LSTevStageEditor>(16, stageBox);
stageLayout->addWidget(m_tevStageSetEditor);
grid->addWidget(stageBox, gridRow, 0, 1, 2);