summaryrefslogtreecommitdiff
path: root/lspaneeditor.h
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-08-25 04:33:38 +0200
committerTreeki <treeki@gmail.com>2012-08-25 04:33:38 +0200
commit8cb142e69d955e06aa160a8e02903cc57c4515c4 (patch)
treecf35b2d3c0521e2bd0c7c0a3084d8e451821f308 /lspaneeditor.h
parente95cad36b68ebbce8fedb119ff2b41a0f345ffbb (diff)
downloadLayoutStudio-8cb142e69d955e06aa160a8e02903cc57c4515c4.tar.gz
LayoutStudio-8cb142e69d955e06aa160a8e02903cc57c4515c4.zip
editing for picture vertex colours
Diffstat (limited to '')
-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();