 |
MPLABĀ® Harmony Graphics Suite
|
Go to the documentation of this file.
46 #ifndef LEGATO_EDITWIDGET_H
47 #define LEGATO_EDITWIDGET_H
56 #define LE_EDITWIDGET_VTABLE(THIS_TYPE) \
57 LE_WIDGET_VTABLE(THIS_TYPE) \
59 leResult (*editStart)(THIS_TYPE* _this); \
60 void (*editEnd)(THIS_TYPE* _this); \
61 void (*editClear)(THIS_TYPE* _this); \
62 void (*editAccept)(THIS_TYPE* _this); \
63 void (*editSet)(THIS_TYPE* _this, const leString* str); \
64 void (*editAppend)(THIS_TYPE* _this, const leString* str); \
65 void (*editBackspace)(THIS_TYPE* _this); \
254 void _leEditWidget_EndEdit();
256 void _leEditWidget_Clear();
257 void _leEditWidget_Accept();
258 void _leEditWidget_Set(
const leString* str);
259 void _leEditWidget_Append(
const leString* str);
260 void _leEditWidget_Backspace();
263 #endif // LEGATO_EDITWIDGET_H
leResult
This enum represents function call results.
Definition: legato_common.h:134
This struct represents a rectangle.
Definition: legato_common.h:405
This struct represents a string.
Definition: legato_string.h:108
@ LE_FALSE
Definition: legato_common.h:158
LIB_EXPORT leEditWidget * leGetEditWidget()
Get edit widget.
Definition: legato_state.c:521
General internal utilities for the library.
Fixed string functions and definitions.
void leUtils_RectToScreenSpace(const leWidget *widget, leRect *rect)
Convert rectangle from widget local space to screen space.
Definition: legato_utils.c:151
LIB_EXPORT void leRectClip(const leRect *l_rect, const leRect *r_rect, leRect *result)
Clips a rectangle to the space of another rectangle.
Definition: legato_rect.c:122
leColor leScheme_GetRenderColor(const leScheme *schm, leSchemeColor clr)
Gets a scheme render color for the current layer color mode.
Definition: legato_scheme.c:68
@ LE_TRUE
Definition: legato_common.h:159
Common macros and definitions used by Legato.
void leUtils_ArrangeRectangleRelative(leRect *sub, leRect obj, leRect bounds, leHAlignment hAlignment, leVAlignment vAlignment, leRelativePosition position, uint8_t leftMargin, uint8_t topMargin, uint8_t rightMargin, uint8_t bottomMargin, uint16_t rectMargin)
Calculates the position of a rectangle within the given bounds.
Definition: legato_utils.c:286