function_expression_cell.h 457 Bytes
#ifndef SHARED_FUNCTION_EXPRESSION_CELL_H
#define SHARED_FUNCTION_EXPRESSION_CELL_H

#include <escher.h>

namespace Shared {

class FunctionExpressionCell : public EvenOddExpressionCell {
public:
  FunctionExpressionCell();
  KDSize minimalSizeForOptimalDisplay() const override;
  void drawRect(KDContext * ctx, KDRect rect) const override;
  void layoutSubviews() override;
private:
  constexpr static KDCoordinate k_separatorThickness = 1;
};

}

#endif