Numworks Epsilon  1.4.1
Graphing Calculator Operating System
even_odd_buffer_text_cell.h
Go to the documentation of this file.
1 #ifndef ESCHER_EVEN_ODD_BUFFER_TEXT_CELL_H
2 #define ESCHER_EVEN_ODD_BUFFER_TEXT_CELL_H
3 
4 #include <escher/even_odd_cell.h>
6 
8 public:
9  EvenOddBufferTextCell(KDText::FontSize size = KDText::FontSize::Small, float horizontalAlignment = 1.0f, float verticalAlignment = 0.5f);
10  const char * text();
11  void setEven(bool even) override;
12  void setHighlighted(bool highlight) override;
13  void setText(const char * textContent);
14  void setTextColor(KDColor textColor);
15  int numberOfSubviews() const override;
16  View * subviewAtIndex(int index) override;
17  void layoutSubviews() override;
18 
19 protected:
21 };
22 
23 #endif
EvenOddBufferTextCell(KDText::FontSize size=KDText::FontSize::Small, float horizontalAlignment=1.0f, float verticalAlignment=0.5f)
View * subviewAtIndex(int index) override
void setTextColor(KDColor textColor)
void setText(const char *textContent)
int numberOfSubviews() const override
void setEven(bool even) override
Definition: color.h:6
void setHighlighted(bool highlight) override
Definition: view.h:23
FontSize
Definition: text.h:10