Files
Upsilon/apps/sequence/sequence_title_cell.h
2018-09-18 16:29:44 +02:00

28 lines
675 B
C++

#ifndef SEQUENCE_SEQUENCE_TITLE_CELL_H
#define SEQUENCE_SEQUENCE_TITLE_CELL_H
#include "../shared/function_title_cell.h"
namespace Sequence {
class SequenceTitleCell : public Shared::FunctionTitleCell {
public:
SequenceTitleCell();
void setLayout(Poincare::Layout layout);
void setEven(bool even) override;
void setHighlighted(bool highlight) override;
void setColor(KDColor color) override;
Poincare::Layout layout() const override {
return m_titleTextView.layout();
}
private:
int numberOfSubviews() const override;
View * subviewAtIndex(int index) override;
void layoutSubviews() override;
EvenOddExpressionCell m_titleTextView;
};
}
#endif