Files
Upsilon/apps/graph/list/function_cell.h
Romain Goyet 00afebbe2d GraphApp: Use a FunctionStore
Change-Id: Ib75947c40167489726fafc493ccb0ebf2862142b
2016-08-22 14:40:07 +02:00

22 lines
453 B
C++

#ifndef GRAPH_FUNCTION_CELL_H
#define GRAPH_FUNCTION_CELL_H
#include <escher.h>
#include "../function.h"
class FunctionCell : public ChildlessView, public Responder {
public:
FunctionCell();
void setFunction(Graph::Function * f);
void setEven(bool even);
void drawRect(KDContext * ctx, KDRect rect) const override;
void setFocused(bool focused) override;
private:
Graph::Function * m_function;
bool m_focused;
bool m_even;
};
#endif