 |
MPLABĀ® Harmony Graphics Suite
|
Go to the documentation of this file.
61 #include "gfx/legato/image/legato_palette.h"
63 #include "gfx/driver/gfx_driver.h"
67 #include "gfx/legato/string/legato_tablestring.h"
71 #if LE_ARC_WIDGET_ENABLED
75 #if LE_BARGRAPH_WIDGET_ENABLED
79 #if LE_BUTTON_WIDGET_ENABLED
83 #if LE_CHECKBOX_WIDGET_ENABLED
87 #if LE_CIRCLE_WIDGET_ENABLED
91 #if LE_CIRCULARGAUGE_WIDGET_ENABLED
95 #if LE_CIRCULARSLIDER_WIDGET_ENABLED
99 #if LE_DRAWSURFACE_WIDGET_ENABLED
103 #if LE_GRADIENT_WIDGET_ENABLED
107 #if LE_GROUPBOX_WIDGET_ENABLED
111 #if LE_IMAGE_WIDGET_ENABLED
115 #if LE_IMAGEROTATE_WIDGET_ENABLED
119 #if LE_IMAGESCALE_WIDGET_ENABLED
120 #include "gfx/legato/widget/imagescale/legato_widget_imagescale.h"
123 #if LE_IMAGESEQUENCE_WIDGET_ENABLED
127 #if LE_KEYPAD_WIDGET_ENABLED
131 #if LE_LABEL_WIDGET_ENABLED
135 #if LE_LINE_WIDGET_ENABLED
136 #include "gfx/legato/widget/line/legato_widget_line.h"
139 #if LE_LINEGRAPH_WIDGET_ENABLED
143 #if LE_LIST_WIDGET_ENABLED
147 #if LE_LISTWHEEL_WIDGET_ENABLED
151 #if LE_PIECHART_WIDGET_ENABLED
155 #if LE_PROGRESSBAR_WIDGET_ENABLED
159 #if LE_RADIOBUTTON_WIDGET_ENABLED
163 #if LE_RADIALMENU_WIDGET_ENABLED
167 #if LE_RECTANGLE_WIDGET_ENABLED
171 #if LE_SCROLLBAR_WIDGET_ENABLED
175 #if LE_SLIDER_WIDGET_ENABLED
179 #if LE_TEXTFIELD_WIDGET_ENABLED
183 #if LE_TOUCHTEST_WIDGET_ENABLED
187 #if LE_WINDOW_WIDGET_ENABLED
Defines common math functions for general use.
LIB_EXPORT leColor lePixelBufferGet_Unsafe(const lePixelBuffer *const buffer, uint32_t x, uint32_t y)
Get pixel at point.
Definition: legato_pixelbuffer.c:279
LIB_EXPORT leResult lePixelBufferSet_Unsafe(const lePixelBuffer *const buffer, uint32_t x, uint32_t y, leColor color)
Pixel set.
Definition: legato_pixelbuffer.c:347
Error functions, macros and definitions.
uint32_t size
Definition: legato_color.h:215
leResult
This enum represents function call results.
Definition: legato_common.h:134
leColorMode
This enum represents the supported RGB color formats.
Definition: legato_color.h:146
Color definitions and functions.
Image functions and defintions.
Pixel Buffer functions and definitions.
Memory functions and definitions.
LIB_EXPORT uint32_t lePercentOf(uint32_t num, uint32_t percent)
Calculate percent of a number.
Definition: legato_math.c:218
Definition: legato_imagedecoder_raw.h:137
LIB_EXPORT uint32_t lePercent(uint32_t l, uint32_t r)
Calculate percent of number.
Definition: legato_math.c:199
int32_t width
Definition: legato_common.h:382
LIB_EXPORT leColor leColorBlend_RGBA_8888(leColor fore, leColor back)
Get color from RGBA blend.
Definition: legato_color_blend.c:77
LIB_EXPORT leColor lePixelBufferGetIndex_Unsafe(const lePixelBuffer *const buffer, const uint32_t idx)
Get color at index.
Definition: legato_pixelbuffer.c:326
LIB_EXPORT leColor leColorBlend_ARGB_8888(leColor fore, leColor back)
Get color from ARGB blend.
Definition: legato_color_blend.c:125
leBool
This enum represents booleans.
Definition: legato_common.h:157
Defines a common header for all stream operations.
Definition: legato_imagedecoder_raw.h:122
leBitsPerPixel bppOrdinal
Definition: legato_color.h:217
Definition: legato_imagedecoder_raw.h:114
@ LE_FALSE
Definition: legato_common.h:158
Textfield Widget functions and definitions.
Schemes support various properties that make it possible to customize the color of widgets.
Dynamic string functions and definitions.
lePoint leRotatePoint(lePoint pos, lePoint org, int32_t ang)
Rotates point.
Definition: legato_math.c:454
LIB_EXPORT leColor leColorConvert(leColorMode mode_in, leColorMode mode_out, leColor color)
Convert to color value.
Definition: legato_color_convert.c:579
This structs represents global state of the renderer.
Definition: legato_renderer.h:84
This struct represents a stream descriptor.
Definition: legato_stream.h:57
Fixed string functions and definitions.
@ LE_TRUE
Definition: legato_common.h:159
Font functions and definitions.
LIB_EXPORT leResult lePixelBufferCreate(const int32_t width, const int32_t height, const leColorMode mode, const void *const address, lePixelBuffer *buffer)
Create a pixelbuffer.
Definition: legato_pixelbuffer.c:184
Common macros and definitions used by Legato.
int32_t height
Definition: legato_common.h:383
const leColorModeInfo leColorInfoTable[]
This array represents information reference table.
Definition: legato_color.c:29
This structure represents a integer Cartesian point.
Definition: legato_common.h:357
Definition: legato_pixelbuffer.h:91
LIB_EXPORT leColor leColorBilerp(leColor c00, leColor c01, leColor c10, leColor c11, uint32_t xper, uint32_t yper, leColorMode mode)
Get color from bi-linear interpolation of four colors.
Definition: legato_color_lerp.c:301