Numworks Epsilon  1.4.1
Graphing Calculator Operating System
even_odd_cell_with_ellipsis.h
Go to the documentation of this file.
1 #ifndef ESCHER_EVEN_ODD_CELL_WITH_ELLIPSIS_H
2 #define ESCHER_EVEN_ODD_CELL_WITH_ELLIPSIS_H
3 
4 #include <escher/even_odd_cell.h>
5 #include <escher/ellipsis_view.h>
6 #include <assert.h>
7 
9 public:
11 private:
12  int numberOfSubviews() const override { return 1; }
13  View * subviewAtIndex(int index) override {
14  assert(index==0);
15  return &m_ellipsisView;
16  }
17  void layoutSubviews() override;
18  EllipsisView m_ellipsisView;
19 };
20 
21 #endif
#define assert(e)
Definition: assert.h:9
Definition: view.h:23