Files
Upsilon/escher/include/escher/expression_table_cell.h
2018-11-23 12:04:04 +01:00

19 lines
535 B
C++

#ifndef ESCHER_EXPRESSION_TABLE_CELL_H
#define ESCHER_EXPRESSION_TABLE_CELL_H
#include <escher/expression_view.h>
#include <escher/table_cell.h>
class ExpressionTableCell : public TableCell {
public:
ExpressionTableCell(Layout layout = Layout::Horizontal);
View * labelView() const override;
void setHighlighted(bool highlight) override;
void setLayout(Poincare::Layout layout);
Poincare::Layout layout() const override { return m_labelExpressionView.layout(); }
private:
ExpressionView m_labelExpressionView;
};
#endif