|
| TextField (Responder *parentResponder, char *textBuffer, size_t textBufferSize, TextFieldDelegate *delegate) |
|
bool | handleEvent (Ion::Events::Event event) override |
|
| TextField (Responder *parentResponder, char *textBuffer, char *draftTextBuffer, size_t textBufferSize, TextFieldDelegate *delegate=nullptr, bool hasTwoBuffers=true, KDText::FontSize size=KDText::FontSize::Large, float horizontalAlignment=0.0f, float verticalAlignment=0.5f, KDColor textColor=KDColorBlack, KDColor=KDColorWhite) |
|
void | setDelegate (TextFieldDelegate *delegate) |
|
void | setDraftTextBuffer (char *draftTextBuffer) |
|
bool | isEditing () const |
|
size_t | draftTextLength () const |
|
void | setText (const char *text) |
|
void | setAlignment (float horizontalAlignment, float verticalAlignment) |
|
virtual void | setEditing (bool isEditing, bool reinitDraftBuffer=true) |
|
KDSize | minimalSizeForOptimalDisplay () const override |
|
bool | handleEventWithText (const char *text, bool indenting=false) override |
|
bool | handleEvent (Ion::Events::Event event) override |
|
void | scrollToCursor () override |
|
bool | textFieldShouldFinishEditing (Ion::Events::Event event) |
|
| TextInput (Responder *parentResponder, View *contentView) |
|
Toolbox * | toolbox () override |
|
const char * | text () const |
|
void | setBackgroundColor (KDColor backgroundColor) |
|
KDColor | backgroundColor () const |
|
void | setTextColor (KDColor textColor) |
|
bool | removeChar () |
|
size_t | cursorLocation () const |
|
bool | setCursorLocation (int location) |
|
| ScrollableView (Responder *parentResponder, View *view, ScrollViewDataSource *dataSource) |
|
void | reloadScroll (bool forceRelayout=false) |
|
| Responder (Responder *parentResponder) |
|
virtual void | didBecomeFirstResponder () |
|
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 () |
|
| ScrollView (View *contentView, ScrollViewDataSource *dataSource) |
|
void | drawRect (KDContext *ctx, KDRect rect) const override |
|
void | setTopMargin (KDCoordinate m) |
|
KDCoordinate | topMargin () const |
|
void | setRightMargin (KDCoordinate m) |
|
KDCoordinate | rightMargin () const |
|
void | setBottomMargin (KDCoordinate m) |
|
KDCoordinate | bottomMargin () const |
|
void | setLeftMargin (KDCoordinate m) |
|
KDCoordinate | leftMargin () const |
|
void | setMargins (KDCoordinate top, KDCoordinate right, KDCoordinate bottom, KDCoordinate left) |
|
void | setMargins (KDCoordinate m) |
|
void | setCommonMargins () |
|
void | setShowsIndicators (bool s) |
|
bool | showsIndicators () const |
|
void | setColorsBackground (bool c) |
|
bool | colorsBackground () const |
|
void | setBackgroundColor (KDColor c) |
|
KDColor | backgroundColor () const |
|
ScrollViewIndicator * | verticalScrollIndicator () |
|
ScrollViewIndicator * | horizontalScrollIndicator () |
|
void | setIndicatorThickness (KDCoordinate t) |
|
KDCoordinate | indicatorThickness () const |
|
void | setContentOffset (KDPoint offset, bool forceRelayout=false) |
|
KDPoint | contentOffset () const |
|
void | scrollToContentPoint (KDPoint p, bool allowOverscroll=false) |
|
void | scrollToContentRect (KDRect rect, bool allowOverscroll=false) |
|
| 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) |
|
| ScrollViewDataSource () |
|
KDPoint | offset () const |
|
bool | setOffset (KDPoint offset) |
|
Definition at line 8 of file text_field.h.