 |
MPLABĀ® Harmony Graphics Suite
|
Go to the documentation of this file.
46 #ifndef LEGATO_LABEL_H
47 #define LEGATO_LABEL_H
51 #if LE_LABEL_WIDGET_ENABLED
67 typedef struct leLabelWidget leLabelWidget;
69 #define LE_LABELWIDGET_VTABLE(THIS_TYPE) \
70 LE_WIDGET_VTABLE(THIS_TYPE) \
72 leString* (*getString)(const THIS_TYPE* _this); \
73 leResult (*setString)(THIS_TYPE* _this, leString* str); \
75 typedef struct leLabelWidgetVTable
77 LE_LABELWIDGET_VTABLE(leLabelWidget)
78 } leLabelWidgetVTable;
90 typedef struct leLabelWidget
94 const leLabelWidgetVTable* fn;
117 LIB_EXPORT leLabelWidget* leLabelWidget_New();
129 LIB_EXPORT
void leLabelWidget_Constructor(leLabelWidget* wgt);
132 #define THIS_TYPE struct leWidget
144 virtual leString* getString(
const leLabelWidget* _this);
160 virtual leResult setString(leLabelWidget* _this,
166 #endif // LE_LABEL_WIDGET_ENABLED
Error functions, macros and definitions.
leResult
This enum represents function call results.
Definition: legato_common.h:134
This struct represents a rectangle.
Definition: legato_common.h:405
Memory functions and definitions.
void ** values
Definition: legato_array.h:62
This struct represents a string.
Definition: legato_string.h:108
General internal utilities for the library.
Fixed string functions and definitions.
@ LE_HALIGN_LEFT
Definition: legato_common.h:207
@ LE_TRUE
Definition: legato_common.h:159
Common macros and definitions used by Legato.
const leStringVTable * fn
Definition: legato_string.h:109