mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
21 lines
532 B
C++
21 lines
532 B
C++
#ifndef SHARED_FUNCTION_EXPRESSION_CELL_H
|
|
#define SHARED_FUNCTION_EXPRESSION_CELL_H
|
|
|
|
#include <escher.h>
|
|
|
|
namespace Shared {
|
|
|
|
class FunctionExpressionCell : public EvenOddExpressionCell {
|
|
public:
|
|
FunctionExpressionCell() : EvenOddExpressionCell() {}
|
|
KDSize minimalSizeForOptimalDisplay() const override;
|
|
void drawRect(KDContext * ctx, KDRect rect) const override;
|
|
void layoutSubviews(bool force = false) override;
|
|
private:
|
|
constexpr static KDCoordinate k_separatorThickness = Metric::CellSeparatorThickness;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|