Class · aurore
aurore::RecyclerCell
#include <aurore/views/recycler.hpp>
class aurore::RecyclerCell : public aurore::BoxDescription
A cell of a RecyclerFrame, reused as the list scrolls: subclass it, fill it in RecyclerDataSource::cellForRow().
Constructors 2
An empty cell.
recycler.hpp:69Functions 6
IndexPath getIndexPath() const Cell's position inside recycler frame
recycler.hpp:75void setIndexPath(IndexPath value) DO NOT USE! FOR INTERNAL USAGE ONLY!
recycler.hpp:80Prepares a reusable cell for reuse by the recycler frame's data source.
recycler.hpp:90Called on every view of the screens when the text scale changes (Application::setTextScale): a view that measures text marks itself dirty here.
Overrides aurore::View::onTextScaleChanged
Also the functions of aurore::Box (53), aurore::View (221).
Static functions 1
static RecyclerCell * create() Makes an empty cell (registerCell's default).
recycler.hpp:93Attributes 1
A string used to identify a cell that is reusable.
recycler.hpp:85Protected functions 1
The height set grows with the text (Application::setTextScale), as a minimum height: a larger text keeps the cell's padding. DetailCell and RadioCell (and the cells made from them) do it.
recycler.hpp:103Read from Aurore's headers by Doxygen at each build · library/include