 |
MPLABĀ® Harmony Graphics Suite
|
Go to the documentation of this file.
45 #ifndef LEGATO_GRADIENT_H
46 #define LEGATO_GRADIENT_H
50 #if LE_GRADIENT_WIDGET_ENABLED
67 typedef struct leGradientWidget leGradientWidget;
69 #define LE_GRADIENTWIDGET_VTABLE(THIS_TYPE) \
70 LE_WIDGET_VTABLE(THIS_TYPE) \
72 leDirection (*getDirection)(const THIS_TYPE* _this); \
73 leResult (*setDirection)(THIS_TYPE* _this, leDirection dir); \
75 typedef struct leGradientWidgetVTable
77 LE_GRADIENTWIDGET_VTABLE(leGradientWidget)
78 } leGradientWidgetVTable;
89 typedef struct leGradientWidget
93 const leGradientWidgetVTable* fn;
115 LIB_EXPORT leGradientWidget* leGradientWidget_New();
127 LIB_EXPORT
void leGradientWidget_Constructor(leGradientWidget* grad);
131 #define THIS_TYPE struct leWidget
146 virtual leDirection getDirection(leGradientWidget* _this);
163 virtual leResult setDirection(leGradientWidget* _this,
170 #endif // LE_GRADIENT_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
leDirection
This enum represents the four directions modes for objects.
Definition: legato_common.h:263
Memory functions and definitions.
@ LE_FALSE
Definition: legato_common.h:158
General internal utilities for the library.
Fixed string functions and definitions.
@ LE_TRUE
Definition: legato_common.h:159
Common macros and definitions used by Legato.
@ LE_DIRECTION_RIGHT
Definition: legato_common.h:264