Files
Upsilon/apps/graph/list/function_expression_view.h
Émilie Feral b56d88cefa [apps/graph] make the function title cells consistent
Change-Id: Ib59f3d5f8a679cddd8a88e16711138425a6e9ecb
2016-10-25 17:55:28 +02:00

27 lines
569 B
C++

#ifndef GRAPH_FUNCTION_EXPRESSION_H
#define GRAPH_FUNCTION_EXPRESSION_H
#include <escher.h>
#include "../even_odd_cell.h"
#include "../function.h"
namespace Graph {
class FunctionCell;
class FunctionExpressionView : public EvenOddCell {
public:
FunctionExpressionView();
void setFunction(Function * f);
Function * function();
void drawRect(KDContext * ctx, KDRect rect) const override;
private:
constexpr static KDColor k_separatorColor = KDColor(0xEFF2F4);
constexpr static KDCoordinate k_separatorThickness = 1;
Function * m_function;
};
}
#endif