Files
Upsilon/apps/graph/list/function_cell.h
Romain Goyet 5de28e01db Migrate Kandinsky to C++
Change-Id: I2752a8db84ad0bb817119cf6c2993c1622621150
2016-07-21 13:42:32 +02:00

21 lines
422 B
C++

#ifndef GRAPH_FUNCTION_CELL_H
#define GRAPH_FUNCTION_CELL_H
#include <escher.h>
class FunctionCell : public ChildlessView, public Responder {
public:
FunctionCell();
void setMessage(const char * message);
void setEven(bool even);
void drawRect(KDContext * ctx, KDRect rect) const override;
void setFocused(bool focused) override;
private:
const char * m_message;
bool m_focused;
bool m_even;
};
#endif