Numworks Epsilon
1.4.1
Graphing Calculator Operating System
|
#include <history_view_cell.h>
Public Types | |
enum | SubviewType { SubviewType::Input, SubviewType::Output } |
Public Member Functions | |
HistoryViewCell (Responder *parentResponder) | |
void | reloadCell () override |
void | reloadScroll () |
void | setEven (bool even) override |
void | setHighlighted (bool highlight) override |
Responder * | responder () override |
KDColor | backgroundColor () const override |
void | setCalculation (Calculation *calculation) |
int | numberOfSubviews () const override |
View * | subviewAtIndex (int index) override |
void | layoutSubviews () override |
void | didBecomeFirstResponder () override |
bool | handleEvent (Ion::Events::Event event) override |
SubviewType | selectedSubviewType () |
void | setSelectedSubviewType (HistoryViewCell::SubviewType subviewType) |
OutputExpressionsView * | outputView () |
Public Member Functions inherited from EvenOddCell | |
EvenOddCell () | |
void | drawRect (KDContext *ctx, KDRect rect) const override |
Public Member Functions inherited from HighlightCell | |
HighlightCell () | |
bool | isHighlighted () const |
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 |
Public Member Functions inherited from Responder | |
Responder (Responder *parentResponder) | |
virtual void | willResignFirstResponder () |
virtual void | didEnterResponderChain (Responder *previousFirstResponder) |
virtual void | willExitResponderChain (Responder *nextFirstResponder) |
Responder * | parentResponder () const |
Responder * | commonAncestorWith (Responder *responder) |
void | setParentResponder (Responder *responder) |
App * | app () |
virtual Toolbox * | toolbox () |
Static Public Attributes | |
static constexpr KDCoordinate | k_digitVerticalMargin = 5 |
Additional Inherited Members | |
Protected Member Functions inherited from View | |
void | markRectAsDirty (KDRect rect) |
Protected Attributes inherited from EvenOddCell | |
bool | m_even |
Protected Attributes inherited from HighlightCell | |
bool | m_highlighted |
Protected Attributes inherited from View | |
KDRect | m_frame |
Definition at line 11 of file history_view_cell.h.
|
strong |
Enumerator | |
---|---|
Input | |
Output |
Definition at line 13 of file history_view_cell.h.
Calculation::HistoryViewCell::HistoryViewCell | ( | Responder * | parentResponder | ) |
Definition at line 10 of file history_view_cell.cpp.
|
overridevirtual |
Reimplemented from EvenOddCell.
Definition at line 53 of file history_view_cell.cpp.
|
overridevirtual |
Reimplemented from Responder.
Definition at line 97 of file history_view_cell.cpp.
|
overridevirtual |
Reimplemented from Responder.
Definition at line 114 of file history_view_cell.cpp.
|
overridevirtual |
Reimplemented from View.
Definition at line 68 of file history_view_cell.cpp.
|
overridevirtual |
Reimplemented from View.
Definition at line 59 of file history_view_cell.cpp.
OutputExpressionsView * Calculation::HistoryViewCell::outputView | ( | ) |
Definition at line 18 of file history_view_cell.cpp.
|
overridevirtual |
Reimplemented from HighlightCell.
Definition at line 42 of file history_view_cell.cpp.
void Calculation::HistoryViewCell::reloadScroll | ( | ) |
Definition at line 48 of file history_view_cell.cpp.
|
inlineoverridevirtual |
Reimplemented from HighlightCell.
Definition at line 22 of file history_view_cell.h.
HistoryViewCell::SubviewType Calculation::HistoryViewCell::selectedSubviewType | ( | ) |
Definition at line 105 of file history_view_cell.cpp.
void Calculation::HistoryViewCell::setCalculation | ( | Calculation * | calculation | ) |
Definition at line 85 of file history_view_cell.cpp.
|
overridevirtual |
Reimplemented from EvenOddCell.
Definition at line 22 of file history_view_cell.cpp.
|
overridevirtual |
Reimplemented from HighlightCell.
Definition at line 28 of file history_view_cell.cpp.
void Calculation::HistoryViewCell::setSelectedSubviewType | ( | HistoryViewCell::SubviewType | subviewType | ) |
Definition at line 109 of file history_view_cell.cpp.
|
overridevirtual |
Reimplemented from View.
Definition at line 63 of file history_view_cell.cpp.
|
static |
Definition at line 32 of file history_view_cell.h.