summaryrefslogtreecommitdiff
path: root/lspaneeditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'lspaneeditor.h')
-rw-r--r--lspaneeditor.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/lspaneeditor.h b/lspaneeditor.h
index 16f6d1b..480dbb1 100644
--- a/lspaneeditor.h
+++ b/lspaneeditor.h
@@ -14,6 +14,8 @@
#include "lyt/pane.h"
class LSTexCoordSetEditor;
+class LYTPicture;
+
class LSPaneEditor : public QWidget {
Q_OBJECT
public:
@@ -57,6 +59,7 @@ private:
QWidget *m_pictureTab;
LSTexCoordSetEditor *m_picTexCoordEditor;
+ QToolButton *m_picColourButtons[4];
void createPaneTab();
@@ -64,7 +67,10 @@ private:
bool m_currentlyLoadingPane;
- LYTPane *m_pane;
+ union {
+ LYTPane *m_pane;
+ LYTPicture *m_picture;
+ };
private slots:
void handleNameChanged(QString value);
@@ -86,6 +92,8 @@ private slots:
void handleScaleXChanged(double value);
void handleScaleYChanged(double value);
+ void handlePicColourClicked();
+
signals:
void mustRedrawLayout();