summaryrefslogtreecommitdiffstats
path: root/openglscene.h
diff options
context:
space:
mode:
Diffstat (limited to 'openglscene.h')
-rw-r--r--openglscene.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/openglscene.h b/openglscene.h
index e7b0619..c9283ab 100644
--- a/openglscene.h
+++ b/openglscene.h
@@ -17,6 +17,9 @@ public:
void drawBackground(QPainter *painter, const QRectF &rect);
+ QColor backgroundColor() const;
+ QColor modelColor() const;
+
public slots:
void setModel(Model *model);
void enableWireframe(bool enabled);
@@ -38,8 +41,8 @@ private:
float m_lightPos;
float m_distance;
- QColor m_backgroundColor;
QColor m_modelColor;
+ QColor m_backgroundColor;
Model *m_model;