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
8
class
EvenOddCellWithEllipsis
:
public
EvenOddCell
{
9
public
:
10
EvenOddCellWithEllipsis
();
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
assert
#define assert(e)
Definition:
assert.h:9
ellipsis_view.h
EvenOddCellWithEllipsis::EvenOddCellWithEllipsis
EvenOddCellWithEllipsis()
Definition:
even_odd_cell_with_ellipsis.cpp:3
assert.h
EvenOddCellWithEllipsis
Definition:
even_odd_cell_with_ellipsis.h:8
View
Definition:
view.h:23
EvenOddCell
Definition:
even_odd_cell.h:6
even_odd_cell.h
EllipsisView
Definition:
ellipsis_view.h:6
epsilon
escher
include
escher
even_odd_cell_with_ellipsis.h
Generated by
1.8.14