45 #ifndef LEGATO_WIDGET_ARC_H 46 #define LEGATO_WIDGET_ARC_H 50 #if LE_ARC_WIDGET_ENABLED == 1 71 #define LE_ARCWIDGET_VTABLE(THIS_TYPE) \ 72 LE_WIDGET_VTABLE(THIS_TYPE) \ 74 uint32_t (*getRadius)(const THIS_TYPE* _this); \ 75 leResult (*setRadius)(THIS_TYPE* _this, uint32_t rad); \ 76 int32_t (*getStartAngle)(const THIS_TYPE* _this); \ 77 leResult (*setStartAngle)(THIS_TYPE* _this, int32_t ang); \ 78 uint32_t (*getThickness)(const THIS_TYPE* _this); \ 79 leResult (*setThickness)(THIS_TYPE* _this, uint32_t val); \ 80 int32_t (*getCenterAngle)(const THIS_TYPE* _this); \ 81 leResult (*setCenterAngle)(THIS_TYPE* _this, int32_t ang); \ 82 leBool (*getRoundEdge)(const THIS_TYPE* _this); \ 83 leResult (*setRoundEdge)(THIS_TYPE* _this, leBool rnd); \ 85 typedef struct leArcWidgetVTable
104 const leArcWidgetVTable*
fn;
145 #define THIS_TYPE struct leWidget 291 #endif // LE_ARC_WIDGET_ENABLED Common macros and definitions used by Legato.
leResult
This enum represents function call results.
Definition: legato_common.h:123
leBool
This enum represents booleans.
Definition: legato_common.h:146