summaryrefslogtreecommitdiffstats
path: root/src/datavis3d/engine/surface3dcontroller_p.h
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2013-08-09 08:29:55 +0300
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2013-08-09 08:48:10 +0300
commitdde2aa073bc348b35b1148d3b25e914b4f9ce3d9 (patch)
treee3bd7f6d87d19dca4b938d136cd661caae69e325 /src/datavis3d/engine/surface3dcontroller_p.h
parent44871935507e215c9d7881911a1c9ade81cf5770 (diff)
Changed "tick" to "segment"
Talking about tick count was misleading, since we are counting the segments between ticks instead of ticks themselves. Changed the term accordingly to reduce confusion. Change-Id: Ic044b179a950083ba9116173a424b865ebb5785a Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'src/datavis3d/engine/surface3dcontroller_p.h')
-rw-r--r--src/datavis3d/engine/surface3dcontroller_p.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/datavis3d/engine/surface3dcontroller_p.h b/src/datavis3d/engine/surface3dcontroller_p.h
index 67edce9b..dd1e8724 100644
--- a/src/datavis3d/engine/surface3dcontroller_p.h
+++ b/src/datavis3d/engine/surface3dcontroller_p.h
@@ -74,9 +74,9 @@ private:
bool m_smoothSurface;
bool m_surfaceGrid;
- GLint m_tickCount;
- GLfloat m_tickStep;
- GLfloat m_tickMinimum;
+ GLint m_segmentCount;
+ GLfloat m_segmentStep;
+ GLfloat m_segmentMinimum;
// Interaction
MouseState m_mouseState;
@@ -107,10 +107,10 @@ public:
void setGradientColorAt(qreal pos, const QColor &color);
- // Set tick count and step. Note; tickCount * step should be the maximum possible value of data
+ // Set segment count and step. Note; segmentCount * step should be the maximum possible value of data
// set. Minimum is the absolute minimum possible value a bar can have. This is especially
// important to set if values can be negative.
- void setTickCount(GLint tickCount, GLfloat step, GLfloat minimum = 0.0f);
+ void setSegmentCount(GLint segmentCount, GLfloat step, GLfloat minimum = 0.0f);
//TODO: Temp solution
void setData(QList<qreal> series, int width, int depth);
@@ -130,7 +130,7 @@ public:
signals:
void smoothStatusChanged(bool enable);
void surfaceGridChanged(bool enable);
- void tickCountChanged(GLint tickCount, GLfloat step, GLfloat minimum);
+ void segmentCountChanged(GLint segmentCount, GLfloat step, GLfloat minimum);
void leftMousePressed();
private: