summaryrefslogtreecommitdiffstats
path: root/src/datavisualization/utils/utils_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/datavisualization/utils/utils_p.h')
-rw-r--r--src/datavisualization/utils/utils_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/datavisualization/utils/utils_p.h b/src/datavisualization/utils/utils_p.h
index e74b590d..4d09a639 100644
--- a/src/datavisualization/utils/utils_p.h
+++ b/src/datavisualization/utils/utils_p.h
@@ -54,7 +54,7 @@ public:
static GLuint getNearestPowerOfTwo(GLuint value, GLuint &padding);
static QVector3D vectorFromColor(const QColor &color);
static void printText(QPainter *painter, const QString &text, const QSize &position,
- bool absoluteCoords = true, qreal rotation = 0, qreal scale = 1.0f);
+ bool absoluteCoords = true, float rotation = 0.0f, float scale = 1.0f);
static QImage printTextToImage(const QFont &font,
const QString &text,
const QColor &bgrColor,
@@ -65,10 +65,10 @@ public:
static QVector3D getSelection(QPoint mousepos, int height);
static ParamType findFormatParamType(const QString &format);
- static QString formatLabel(const QByteArray &format, ParamType paramType, qreal value);
+ static QString formatLabel(const QByteArray &format, ParamType paramType, float value);
static QString defaultLabelFormat();
- static qreal wrapValue(qreal value, qreal min, qreal max);
+ static float wrapValue(float value, float min, float max);
private:
static ParamType mapFormatCharToParamType(const QChar &formatChar);