Files
Upsilon/apps/graph/values/value_cell.h
Émilie Feral 2b8df283e2 [apps/graph/values] Add a parameter in float_to_string to cap the number of significative number
Change-Id: I8406a910c176da13147fe0235b183ea22dc4faa0
2016-10-12 17:39:53 +02:00

19 lines
317 B
C++

#ifndef GRAPH_VALUE_CELL_H
#define GRAPH_VALUE_CELL_H
#include <escher.h>
#include "../even_odd_cell.h"
class ValueCell : public EvenOddCell {
public:
ValueCell();
void setFloat(float f);
void drawRect(KDContext * ctx, KDRect rect) const override;
protected:
float m_float;
char m_buffer[14];
};
#endif