#ifndef GRAPH_FUNCTION_TITLE_CELL_H #define GRAPH_FUNCTION_TITLE_CELL_H #include #include "title_cell.h" namespace Graph { class FunctionTitleCell : public TitleCell { public: void setColor(KDColor color); void drawRect(KDContext * ctx, KDRect rect) const override; void setDerivative(bool derivative); private: constexpr static KDCoordinate k_colorIndicatorThickness = 2; KDColor m_functionColor; bool m_derivative; }; } #endif