[apps/graph/values] Delete temporary methods to convert float to string

Change-Id: I363d933b0adce80b4cde8800f5c94864b31fcefa
This commit is contained in:
Émilie Feral
2016-10-14 09:36:20 +02:00
parent bac174ebfc
commit d647178ccd
5 changed files with 6 additions and 124 deletions

View File

@@ -1,16 +1,16 @@
#include "value_cell.h"
#include "float_to_string.h"
namespace Graph {
ValueCell::ValueCell() :
EvenOddCell()
EvenOddCell(),
m_float(Float(0.0f))
{
}
void ValueCell::setFloat(float f) {
m_float = f;
FloatToString::convertFloatToText(f, m_buffer, 14, 7);
m_float = Float(f);
m_float.convertFloatToText(m_buffer, 14, 7);
}
void ValueCell::drawRect(KDContext * ctx, KDRect rect) const {