46 #ifndef LEGATO_LABEL_H 47 #define LEGATO_LABEL_H 51 #if LE_LABEL_WIDGET_ENABLED == 1 71 typedef struct leLabelWidget leLabelWidget;
73 #define LE_LABELWIDGET_VTABLE(THIS_TYPE) \ 74 LE_WIDGET_VTABLE(THIS_TYPE) \ 76 leString* (*getString)(const THIS_TYPE* _this); \ 77 leResult (*setString)(THIS_TYPE* _this, leString* str); \ 79 typedef struct leLabelWidgetVTable
81 LE_LABELWIDGET_VTABLE(leLabelWidget)
82 } leLabelWidgetVTable;
94 typedef struct leLabelWidget
98 const leLabelWidgetVTable* fn;
121 leLabelWidget* leLabelWidget_New(
void);
133 void leLabelWidget_Constructor(leLabelWidget* wgt);
136 #define THIS_TYPE struct leWidget 148 virtual leString* getString(
const leLabelWidget* _this);
164 virtual leResult setString(leLabelWidget* _this,
174 #endif // LE_LABEL_WIDGET_ENABLED Common macros and definitions used by Legato.
This struct represents a string.
Definition: legato_string.h:107
leResult
This enum represents function call results.
Definition: legato_common.h:123
Fixed string functions and definitions.