Numworks Epsilon  1.4.1
Graphing Calculator Operating System
even_odd_editable_text_cell.h
Go to the documentation of this file.
1 #ifndef ESCHER_EVEN_ODD_EDITABLE_TEXT_CELL_H
2 #define ESCHER_EVEN_ODD_EDITABLE_TEXT_CELL_H
3 
4 #include <escher/responder.h>
5 #include <escher/even_odd_cell.h>
7 
9 public:
10  EvenOddEditableTextCell(Responder * parentResponder = nullptr, TextFieldDelegate * delegate = nullptr, char * draftTextBuffer = nullptr, KDText::FontSize size = KDText::FontSize::Large, float horizontalAlignment = 1.0f, float verticalAlignment = 0.5f, KDCoordinate topMargin = 0, KDCoordinate rightMargin = 0, KDCoordinate bottomMargin = 0, KDCoordinate leftMargin = 0);
12  void setEven(bool even) override;
13  void setHighlighted(bool highlight) override;
14  virtual Responder * responder() override {
15  return this;
16  }
17  int numberOfSubviews() const override;
18  View * subviewAtIndex(int index) override;
19  void layoutSubviews() override;
20  void didBecomeFirstResponder() override;
21 private:
22  EditableTextCell m_editableCell;
23 };
24 
25 #endif
View * subviewAtIndex(int index) override
void setHighlighted(bool highlight) override
int16_t KDCoordinate
Definition: coordinate.h:6
Responder * parentResponder() const
Definition: responder.cpp:12
void setEven(bool even) override
virtual Responder * responder() override
Definition: view.h:23
EvenOddEditableTextCell(Responder *parentResponder=nullptr, TextFieldDelegate *delegate=nullptr, char *draftTextBuffer=nullptr, KDText::FontSize size=KDText::FontSize::Large, float horizontalAlignment=1.0f, float verticalAlignment=0.5f, KDCoordinate topMargin=0, KDCoordinate rightMargin=0, KDCoordinate bottomMargin=0, KDCoordinate leftMargin=0)
FontSize
Definition: text.h:10