Numworks Epsilon  1.4.1
Graphing Calculator Operating System
function_title_cell.h
Go to the documentation of this file.
1 #ifndef SEQUENCE_FUNCTION_TITLE_CELL_H
2 #define SEQUENCE_FUNCTION_TITLE_CELL_H
3 
4 #include <escher.h>
5 
6 namespace Shared {
7 
8 class FunctionTitleCell : public EvenOddCell {
9 public:
10  enum class Orientation {
13  };
14  FunctionTitleCell(Orientation orientation);
15  virtual void setColor(KDColor color);
16  void drawRect(KDContext * ctx, KDRect rect) const override;
17 protected:
18  constexpr static KDCoordinate k_separatorThickness = 1;
21 private:
22  KDColor m_functionColor;
23 };
24 
25 }
26 
27 #endif
int16_t KDCoordinate
Definition: coordinate.h:6
virtual void setColor(KDColor color)
static constexpr KDCoordinate k_colorIndicatorThickness
FunctionTitleCell(Orientation orientation)
void drawRect(KDContext *ctx, KDRect rect) const override
static constexpr KDCoordinate k_separatorThickness
Definition: rect.h:26
Definition: color.h:6