Files
Upsilon/apps/variable_box_leaf_cell.h
Émilie Feral 1dcd102e99 [apps] create a class variable box lead cell
Change-Id: Iab0d283d4472a40a5c628d770d829dc84979791b
2016-11-14 17:06:55 +01:00

24 lines
647 B
C++

#ifndef APPS_VARIABLE_BOX_LEAF_CELL_H
#define APPS_VARIABLE_BOX_LEAF_CELL_H
#include <escher.h>
class VariableBoxLeafCell : public TableViewCell {
public:
VariableBoxLeafCell();
void reloadCell() override;
void setLabel(const char * text);
void setSubtitle(const char * text);
void setExpression(ExpressionLayout * expressionLayout);
void drawRect(KDContext * ctx, KDRect rect) const override;
private:
int numberOfSubviews() const override;
View * subviewAtIndex(int index) override;
void layoutSubviews() override;
PointerTextView m_labelView;
BufferTextView m_subtitleView;
ExpressionView m_expressionView;
};
#endif