Files
Upsilon/apps/graph/values/value_cell.h
Émilie Feral 9f762f81ff [apps/values] add a class of value cell inheriting from even odd cell
Change-Id: I2c03bb0323bb7e3df7c1d5098ba677812256178b
2016-10-12 17:38: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[10];
};
#endif