Numworks Epsilon
1.4.1
Graphing Calculator Operating System
|
#include <editable_text_cell.h>
Public Member Functions | |
EditableTextCell (Responder *parentResponder=nullptr, TextFieldDelegate *delegate=nullptr, char *draftTextBuffer=nullptr, KDText::FontSize size=KDText::FontSize::Large, float horizontalAlignment=0.0f, float verticalAlignment=0.5f, KDColor textColor=KDColorBlack, KDColor=KDColorWhite, KDCoordinate topMargin=0, KDCoordinate rightMargin=0, KDCoordinate bottomMargin=0, KDCoordinate leftMargin=0) | |
TextField * | textField () |
void | setMargins (KDCoordinate topMargin=0, KDCoordinate rightMargin=0, KDCoordinate bottomMargin=0, KDCoordinate leftMargin=0) |
void | setHighlighted (bool highlight) override |
Responder * | responder () override |
int | numberOfSubviews () const override |
View * | subviewAtIndex (int index) override |
void | layoutSubviews () override |
void | didBecomeFirstResponder () override |
KDSize | minimalSizeForOptimalDisplay () const override |
Public Member Functions inherited from HighlightCell | |
HighlightCell () | |
bool | isHighlighted () const |
virtual void | reloadCell () |
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 () |
virtual void | drawRect (KDContext *ctx, KDRect rect) const |
void | setSize (KDSize size) |
void | setFrame (KDRect frame) |
KDPoint | pointFromPointInView (View *view, KDPoint point) |
KDRect | bounds () const |
View * | subview (int index) |
Public Member Functions inherited from Responder | |
Responder (Responder *parentResponder) | |
virtual bool | handleEvent (Ion::Events::Event event) |
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 () |
Additional Inherited Members | |
Protected Member Functions inherited from View | |
void | markRectAsDirty (KDRect rect) |
Protected Attributes inherited from HighlightCell | |
bool | m_highlighted |
Protected Attributes inherited from View | |
KDRect | m_frame |
Definition at line 9 of file editable_text_cell.h.
EditableTextCell::EditableTextCell | ( | Responder * | parentResponder = nullptr , |
TextFieldDelegate * | delegate = nullptr , |
||
char * | draftTextBuffer = nullptr , |
||
KDText::FontSize | size = KDText::FontSize::Large , |
||
float | horizontalAlignment = 0.0f , |
||
float | verticalAlignment = 0.5f , |
||
KDColor | textColor = KDColorBlack , |
||
KDColor | backgroundColor = KDColorWhite , |
||
KDCoordinate | topMargin = 0 , |
||
KDCoordinate | rightMargin = 0 , |
||
KDCoordinate | bottomMargin = 0 , |
||
KDCoordinate | leftMargin = 0 |
||
) |
Definition at line 6 of file editable_text_cell.cpp.
|
overridevirtual |
Reimplemented from Responder.
Definition at line 53 of file editable_text_cell.cpp.
|
overridevirtual |
Reimplemented from View.
Definition at line 45 of file editable_text_cell.cpp.
|
overridevirtual |
Reimplemented from View.
Definition at line 57 of file editable_text_cell.cpp.
|
overridevirtual |
Reimplemented from View.
Definition at line 36 of file editable_text_cell.cpp.
|
inlineoverridevirtual |
Reimplemented from HighlightCell.
Definition at line 16 of file editable_text_cell.h.
|
overridevirtual |
Reimplemented from HighlightCell.
Definition at line 30 of file editable_text_cell.cpp.
void EditableTextCell::setMargins | ( | KDCoordinate | topMargin = 0 , |
KDCoordinate | rightMargin = 0 , |
||
KDCoordinate | bottomMargin = 0 , |
||
KDCoordinate | leftMargin = 0 |
||
) |
Definition at line 19 of file editable_text_cell.cpp.
|
overridevirtual |
Reimplemented from View.
Definition at line 40 of file editable_text_cell.cpp.
TextField * EditableTextCell::textField | ( | ) |
Definition at line 26 of file editable_text_cell.cpp.