45 #ifndef LEGATO_RECTANGLE_H 46 #define LEGATO_RECTANGLE_H 50 #if LE_RECTANGLE_WIDGET_ENABLED == 1 64 typedef struct leRectangleWidget leRectangleWidget;
66 #define LE_RECTANGLEWIDGET_VTABLE(THIS_TYPE) \ 67 LE_WIDGET_VTABLE(THIS_TYPE) \ 69 int32_t (*getThickness)(const THIS_TYPE* _this); \ 70 leResult (*setThickness)(THIS_TYPE* _this, int32_t thk); \ 72 typedef struct leRectangleWidgetVTable
74 LE_RECTANGLEWIDGET_VTABLE(leRectangleWidget)
75 } leRectangleWidgetVTable;
83 typedef struct leRectangleWidget
87 const leRectangleWidgetVTable* fn;
109 leRectangleWidget* leRectangleWidget_New(
void);
121 void leRectangleWidget_Constructor(leRectangleWidget* wgt);
124 #define THIS_TYPE struct leWidget 155 virtual int32_t
getThickness(
const leRectangleWidget* _this);
201 #endif // LE_RECTANGLE_WIDGET_ENABLED Common macros and definitions used by Legato.
leResult
This enum represents function call results.
Definition: legato_common.h:123