Numworks Epsilon
1.4.1
Graphing Calculator Operating System
|
#include <table_cell.h>
Public Types | |
enum | Layout { Layout::Vertical, Layout::Horizontal } |
Public Member Functions | |
TableCell (Layout layout=Layout::Horizontal) | |
virtual View * | labelView () const |
virtual View * | accessoryView () const |
virtual View * | subAccessoryView () const |
void | drawRect (KDContext *ctx, KDRect rect) const override |
Public Member Functions inherited from HighlightCell | |
HighlightCell () | |
virtual void | setHighlighted (bool highlight) |
bool | isHighlighted () const |
virtual void | reloadCell () |
virtual Responder * | responder () |
Public Member Functions inherited from View | |
View () | |
virtual | ~View () |
View (const View &other)=delete | |
View (View &&other)=delete | |
View & | operator= (const View &other)=delete |
View & | operator= (View &&other)=delete |
void | resetSuperview () |
void | setSize (KDSize size) |
void | setFrame (KDRect frame) |
KDPoint | pointFromPointInView (View *view, KDPoint point) |
KDRect | bounds () const |
View * | subview (int index) |
virtual KDSize | minimalSizeForOptimalDisplay () const |
Protected Member Functions | |
int | numberOfSubviews () const override |
View * | subviewAtIndex (int index) override |
void | layoutSubviews () override |
Protected Member Functions inherited from View | |
void | markRectAsDirty (KDRect rect) |
Static Protected Attributes | |
static constexpr KDCoordinate | k_separatorThickness = 1 |
static constexpr KDCoordinate | k_labelMargin = 10 |
static constexpr KDCoordinate | k_accessoryMargin = 10 |
Additional Inherited Members | |
Protected Attributes inherited from HighlightCell | |
bool | m_highlighted |
Protected Attributes inherited from View | |
KDRect | m_frame |
Definition at line 6 of file table_cell.h.
|
strong |
Enumerator | |
---|---|
Vertical | |
Horizontal |
Definition at line 8 of file table_cell.h.
TableCell::TableCell | ( | Layout | layout = Layout::Horizontal | ) |
Definition at line 5 of file table_cell.cpp.
|
virtual |
Reimplemented in ExpressionTableCellWithPointer, MessageTableCellWithEditableText, MessageTableCellWithBuffer, MessageTableCellWithChevron, MessageTableCellWithGauge, MessageTableCellWithSwitch, and MessageTableCellWithMessage.
Definition at line 15 of file table_cell.cpp.
Reimplemented from View.
Definition at line 75 of file table_cell.cpp.
|
virtual |
Reimplemented in Code::ScriptNodeCell, MessageTableCell, and ExpressionTableCell.
Definition at line 11 of file table_cell.cpp.
|
overrideprotectedvirtual |
Reimplemented from View.
Definition at line 37 of file table_cell.cpp.
|
overrideprotectedvirtual |
Reimplemented from View.
Definition at line 23 of file table_cell.cpp.
|
virtual |
Reimplemented in MessageTableCellWithChevronAndExpression, and MessageTableCellWithChevronAndMessage.
Definition at line 19 of file table_cell.cpp.
|
overrideprotectedvirtual |
Reimplemented from View.
Definition at line 27 of file table_cell.cpp.
|
staticprotected |
Definition at line 23 of file table_cell.h.
|
staticprotected |
Definition at line 22 of file table_cell.h.
|
staticprotected |
Definition at line 21 of file table_cell.h.