/lvgl-3.7.0/env_support/cmsis-pack/ |
D | LVGL.lvgl.8.4.0.pack | ... /lv_port_indev_template.c
examples/porting/lv_port_indev_template.h
LICENCE.txt
lvgl.h
LVGL.lvgl. ... |
/lvgl-3.7.0/src/draw/sw/ |
D | lv_draw_sw_rect.c | 9 #include "lv_draw_sw.h" 10 #include "../../misc/lv_math.h" 11 #include "../../misc/lv_txt_ap.h" 12 #include "../../core/lv_refr.h" 13 #include "../../misc/lv_assert.h" 14 #include "lv_draw_sw_dither.h" 155 int32_t h; in draw_bg() local 218 for(h = clipped_coords.y1; h <= clipped_coords.y2; h++) { in draw_bg() 219 blend_area.y1 = h; in draw_bg() 220 blend_area.y2 = h; in draw_bg() [all …]
|
D | lv_draw_sw_blend.c | 9 #include "lv_draw_sw.h" 10 #include "../../misc/lv_math.h" 11 #include "../../hal/lv_hal_disp.h" 12 #include "../../core/lv_refr.h" 227 int32_t h = lv_area_get_height(blend_area); in fill_set_px() local 229 for(y = 0; y < h; y++) { in fill_set_px() 247 int32_t h = lv_area_get_height(dest_area); in fill_normal() local 255 for(y = 0; y < h; y++) { in fill_normal() 277 for(y = 0; y < h; y++) { in fill_normal() 297 for(y = 0; y < h; y++) { in fill_normal() [all …]
|
/lvgl-3.7.0/ |
D | lvgl.h | 2 * @file lvgl.h 25 #include "src/misc/lv_log.h" 26 #include "src/misc/lv_timer.h" 27 #include "src/misc/lv_math.h" 28 #include "src/misc/lv_mem.h" 29 #include "src/misc/lv_async.h" 30 #include "src/misc/lv_anim_timeline.h" 31 #include "src/misc/lv_printf.h" 33 #include "src/hal/lv_hal.h" 35 #include "src/core/lv_obj.h" [all …]
|
/lvgl-3.7.0/demos/widgets/ |
D | lv_demo_widgets.py | 14 SDL.init(w=480,h=320) 143 h = lv.cont(parent, None) 144 h.set_layout(lv.LAYOUT.PRETTY_MID) 145 h.add_style(lv.cont.PART.MAIN, style_box) 146 h.set_drag_parent(True) 148 h.set_style_local_value_str(lv.cont.PART.MAIN, lv.STATE.DEFAULT, "Basics") 158 h.set_fit2(lv.FIT.NONE, lv.FIT.TIGHT) 159 h.set_width(grid_w) 160 btn = lv.btn(h,None) 163 button_width=h.get_width_grid(1,1) [all …]
|
/lvgl-3.7.0/src/draw/sdl/ |
D | lv_draw_sdl_img.c | 10 #include "../../lv_conf_internal.h" 14 #include "../lv_draw_img.h" 15 #include "../lv_img_cache.h" 16 #include "../lv_draw_mask.h" 17 #include "../../misc/lv_lru.h" 18 #include "../../misc/lv_gc.h" 20 #include "lv_draw_sdl_img.h" 21 #include "lv_draw_sdl_utils.h" 22 #include "lv_draw_sdl_texture_cache.h" 23 #include "lv_draw_sdl_composite.h" [all …]
|
D | lv_draw_sdl_rect.c | 10 #include "../../lv_conf_internal.h" 14 #include "../lv_draw_rect.h" 15 #include "../lv_draw_img.h" 16 #include "../lv_draw_label.h" 17 #include "../lv_draw_mask.h" 18 #include "../../core/lv_refr.h" 19 #include "lv_draw_sdl_utils.h" 20 #include "lv_draw_sdl_texture_cache.h" 21 #include "lv_draw_sdl_composite.h" 22 #include "lv_draw_sdl_mask.h" [all …]
|
/lvgl-3.7.0/src/draw/ |
D | lv_img_buf.h | 2 * @file lv_img_buf.h 16 #include <stdbool.h> 17 #include "../misc/lv_color.h" 18 #include "../misc/lv_area.h" 32 #define LV_IMG_BUF_SIZE_TRUE_COLOR(w, h) ((LV_COLOR_SIZE / 8) * w * h) argument 33 #define LV_IMG_BUF_SIZE_TRUE_COLOR_CHROMA_KEYED(w, h) ((LV_COLOR_SIZE / 8) * w * h) argument 34 #define LV_IMG_BUF_SIZE_TRUE_COLOR_ALPHA(w, h) (LV_IMG_PX_SIZE_ALPHA_BYTE * w * h) argument 37 #define LV_IMG_BUF_SIZE_ALPHA_1BIT(w, h) ((((w / 8) + 1) * h)) argument 38 #define LV_IMG_BUF_SIZE_ALPHA_2BIT(w, h) ((((w / 4) + 1) * h)) argument 39 #define LV_IMG_BUF_SIZE_ALPHA_4BIT(w, h) ((((w / 2) + 1) * h)) argument [all …]
|
D | lv_img_buf.c | 9 #include <stddef.h> 10 #include <string.h> 11 #include "lv_img_buf.h" 12 #include "lv_draw_img.h" 13 #include "../misc/lv_math.h" 14 #include "../misc/lv_log.h" 15 #include "../misc/lv_mem.h" 279 lv_img_dsc_t * lv_img_buf_alloc(lv_coord_t w, lv_coord_t h, lv_img_cf_t cf) in lv_img_buf_alloc() argument 289 dsc->data_size = lv_img_buf_get_img_size(w, h, cf); in lv_img_buf_alloc() 306 dsc->header.h = h; in lv_img_buf_alloc() [all …]
|
/lvgl-3.7.0/src/widgets/ |
D | lv_canvas.h | 2 * @file lv_canvas.h 16 #include "../lv_conf_internal.h" 20 #include "../core/lv_obj.h" 21 #include "../widgets/lv_img.h" 22 #include "../draw/lv_draw_img.h" 57 * The required size is (lv_img_color_format_get_px_size(cf) * w) / 8 * h) 63 * @param h height of the canvas 66 void lv_canvas_set_buffer(lv_obj_t * canvas, void * buf, lv_coord_t w, lv_coord_t h, lv_img_cf_t cf… 138 * @param h height of the buffer to copy 141 lv_coord_t h); [all …]
|
D | lv_img.c | 9 #include "lv_img.h" 12 #include "../core/lv_disp.h" 13 #include "../misc/lv_assert.h" 14 #include "../draw/lv_img_decoder.h" 15 #include "../misc/lv_fs.h" 16 #include "../misc/lv_txt.h" 17 #include "../misc/lv_math.h" 18 #include "../misc/lv_log.h" 145 header.h = size.y; in lv_img_set_src() 150 img->h = header.h; in lv_img_set_src() [all …]
|
D | lv_canvas.c | 9 #include "lv_canvas.h" 10 #include "../misc/lv_assert.h" 11 #include "../misc/lv_math.h" 12 #include "../draw/lv_draw.h" 13 #include "../core/lv_refr.h" 17 #include "../draw/sw/lv_draw_sw.h" 66 void lv_canvas_set_buffer(lv_obj_t * obj, void * buf, lv_coord_t w, lv_coord_t h, lv_img_cf_t cf) in lv_canvas_set_buffer() argument 75 canvas->dsc.header.h = h; in lv_canvas_set_buffer() 138 …y_buf(lv_obj_t * obj, const void * to_copy, lv_coord_t x, lv_coord_t y, lv_coord_t w, lv_coord_t h) in lv_canvas_copy_buf() argument 145 …if(x + w - 1 >= (lv_coord_t)canvas->dsc.header.w || y + h - 1 >= (lv_coord_t)canvas->dsc.header.h)… in lv_canvas_copy_buf() [all …]
|
/lvgl-3.7.0/src/core/ |
D | lv_obj.c | 9 #include "lv_obj.h" 10 #include "lv_indev.h" 11 #include "lv_refr.h" 12 #include "lv_group.h" 13 #include "lv_disp.h" 14 #include "lv_theme.h" 15 #include "../misc/lv_assert.h" 16 #include "../draw/lv_draw.h" 17 #include "../misc/lv_anim.h" 18 #include "../misc/lv_timer.h" [all …]
|
D | lv_obj_pos.c | 9 #include "lv_obj.h" 10 #include "lv_disp.h" 11 #include "lv_refr.h" 12 #include "../misc/lv_gc.h" 126 lv_coord_t h; in lv_obj_refr_size() local 130 h = lv_obj_get_height(obj); in lv_obj_refr_size() 133 h = lv_obj_get_style_height(obj, LV_PART_MAIN); in lv_obj_refr_size() 134 h_is_content = h == LV_SIZE_CONTENT ? true : false; in lv_obj_refr_size() 135 h_is_pct = LV_COORD_IS_PCT(h) ? true : false; in lv_obj_refr_size() 139 h = calc_content_height(obj); in lv_obj_refr_size() [all …]
|
/lvgl-3.7.0/src/extra/libs/png/ |
D | lodepng.c | 27 The manual and changelog are in the header file "lodepng.h" 31 #include "lodepng.h" 35 #include <limits.h> /* LONG_MAX */ 39 #include <stdlib.h> /* allocations */ 2795 static size_t lodepng_get_raw_size_lct(unsigned w, unsigned h, LodePNGColorType colortype, unsigned… in lodepng_get_raw_size_lct() argument 2797 size_t n = (size_t)w * (size_t)h; in lodepng_get_raw_size_lct() 2801 size_t lodepng_get_raw_size(unsigned w, unsigned h, const LodePNGColorMode* color) { in lodepng_get_raw_size() argument 2802 return lodepng_get_raw_size_lct(w, h, color->colortype, color->bitdepth); in lodepng_get_raw_size() 2810 result than lodepng_get_raw_size. Set h to 1 to get the size of 1 row including filter byte. */ 2811 static size_t lodepng_get_raw_size_idat(unsigned w, unsigned h, unsigned bpp) { in lodepng_get_raw_size_idat() argument [all …]
|
D | lodepng.h | 29 #include <string.h> /*for size_t*/ 31 #include "../../../lvgl.h" 119 After decoding, its size is w * h * (bytes per pixel) bytes larger than 124 h: Output parameter. Pointer to height of pixel data. 131 unsigned lodepng_decode_memory(unsigned char** out, unsigned* w, unsigned* h, 136 unsigned lodepng_decode32(unsigned char** out, unsigned* w, unsigned* h, 140 unsigned lodepng_decode24(unsigned char** out, unsigned* w, unsigned* h, 148 unsigned lodepng_decode_file(unsigned char** out, unsigned* w, unsigned* h, 153 unsigned lodepng_decode32_file(unsigned char** out, unsigned* w, unsigned* h, 157 unsigned lodepng_decode24_file(unsigned char** out, unsigned* w, unsigned* h, [all …]
|
/lvgl-3.7.0/scripts/ |
D | lv_conf_internal_gen.py | 4 Generates lv_conf_internal.h from lv_conf_template.h to provide default values 12 LV_CONF_TEMPLATE = os.path.join(SCRIPT_DIR, "..", "lv_conf_template.h") 13 LV_CONF_INTERNAL = os.path.join(SCRIPT_DIR, "..", "src", "lv_conf_internal.h") 25 * @file lv_conf_internal.h 26 * Make sure all the defines of lv_conf.h have a default value 33 #include <stdint.h> 37 #include "lv_conf_kconfig.h" 43 /*If "lv_conf.h" is available from here try to use it later.*/ 45 #if __has_include("lv_conf.h") 52 /*If lv_conf.h is not skipped include it*/ [all …]
|
/lvgl-3.7.0/src/extra/widgets/ |
D | lv_widgets.h | 2 * @file lv_widgets.h 16 #include "animimg/lv_animimg.h" 17 #include "calendar/lv_calendar.h" 18 #include "calendar/lv_calendar_header_arrow.h" 19 #include "calendar/lv_calendar_header_dropdown.h" 20 #include "chart/lv_chart.h" 21 #include "keyboard/lv_keyboard.h" 22 #include "list/lv_list.h" 23 #include "menu/lv_menu.h" 24 #include "msgbox/lv_msgbox.h" [all …]
|
/lvgl-3.7.0/src/extra/widgets/colorwheel/ |
D | lv_colorwheel.c | 10 #include "lv_colorwheel.h" 13 #include "../../../misc/lv_assert.h" 99 if(hsv.h > 360) hsv.h %= 360; in lv_colorwheel_set_hsv() 106 …if(colorwheel->hsv.h == hsv.h && colorwheel->hsv.s == hsv.s && colorwheel->hsv.v == hsv.v) return … in lv_colorwheel_set_hsv() 186 return lv_color_hsv_to_rgb(colorwheel->hsv.h, colorwheel->hsv.s, colorwheel->hsv.v); in lv_colorwheel_get_rgb() 227 colorwheel->hsv.h = 0; in lv_colorwheel_constructor() 246 lv_coord_t h = lv_obj_get_height(obj); in draw_disc_grad() local 248 lv_coord_t cy = obj->coords.y1 + h / 2; in draw_disc_grad() 399 hsv_cur.h = (colorwheel->hsv.h + 1) % 360; in lv_colorwheel_event() 420 hsv_cur.h = colorwheel->hsv.h > 0 ? (colorwheel->hsv.h - 1) : 360; in lv_colorwheel_event() [all …]
|
/lvgl-3.7.0/docs/porting/ |
D | project.md | 12 … It contains a couple of folders but to use `lvgl` you only need `.c` and `.h` files from the `src… 36 There is a configuration header file for LVGL called **lv_conf.h**. You modify this header to set t… 38 To get `lv_conf.h` **copy lvgl/lv_conf_template.h** next to the `lvgl` directory and rename it to *… 41 |-lv_conf.h 45 …play's color depth. Note that, the examples and demos explicitly need to be enabled in `lv_conf.h`. 47 Alternatively, `lv_conf.h` can be copied to another place but then you should add the `LV_CONF_INCL… 48 In this case LVGL will attempt to include `lv_conf.h` simply with `#include "lv_conf.h"`. 50 You can even use a different name for `lv_conf.h`. The custom path can be set via the `LV_CONF_PATH… 51 For example `-DLV_CONF_PATH="/home/joe/my_project/my_custom_conf.h"` 53 …h`. Instead you can pass the config defines using build options. For example `"-DLV_COLOR_DEPTH=32… [all …]
|
/lvgl-3.7.0/src/hal/ |
D | lv_hal_disp.c | 11 #include <stdint.h> 12 #include <stddef.h> 13 #include "lv_hal.h" 14 #include "../misc/lv_mem.h" 15 #include "../misc/lv_gc.h" 16 #include "../misc/lv_assert.h" 17 #include "../core/lv_obj.h" 18 #include "../core/lv_refr.h" 19 #include "../core/lv_theme.h" 20 #include "../draw/sdl/lv_draw_sdl.h" [all …]
|
/lvgl-3.7.0/src/misc/ |
D | lv_color.c | 9 #include "lv_color.h" 10 #include "lv_log.h" 146 * @param h hue [0..359] 151 lv_color_t lv_color_hsv_to_rgb(uint16_t h, uint8_t s, uint8_t v) in lv_color_hsv_to_rgb() argument 153 h = (uint32_t)((uint32_t)h * 255) / 360; in lv_color_hsv_to_rgb() 165 region = h / 43; in lv_color_hsv_to_rgb() 166 remainder = (h - (region * 43)) * 6; in lv_color_hsv_to_rgb() 232 hsv.h = 0; in lv_color_rgb_to_hsv() 240 hsv.h = 0; in lv_color_rgb_to_hsv() 245 int32_t h; in lv_color_rgb_to_hsv() local [all …]
|
D | lv_lru.c | 11 #include "lv_lru.h" 12 #include "lv_math.h" 13 #include "lv_mem.h" 14 #include "lv_assert.h" 15 #include "lv_log.h" 270 uint32_t h = cache->seed ^ key_length; in lv_lru_hash() local 278 h *= m; in lv_lru_hash() 279 h ^= k; in lv_lru_hash() 285 h ^= data[2] << 16; in lv_lru_hash() 288 h ^= data[1] << 8; in lv_lru_hash() [all …]
|
/lvgl-3.7.0/src/ |
D | lv_conf_internal.h | 3 * @file lv_conf_internal.h 4 * Make sure all the defines of lv_conf.h have a default value 11 #include <stdint.h> 15 #include "lv_conf_kconfig.h" 21 /*If "lv_conf.h" is available from here try to use it later.*/ 23 #if __has_include("lv_conf.h") 30 /*If lv_conf.h is not skipped include it*/ 32 … #ifdef LV_CONF_PATH /*If there is a path defined for lv_conf.h use it*/ 38 #elif defined(LV_CONF_INCLUDE_SIMPLE) /*Or simply include lv_conf.h is enabled*/ 39 #include "lv_conf.h" [all …]
|
/lvgl-3.7.0/docs/get-started/platforms/ |
D | nxp.md | 56 - Select NXP PXP engine in lv_conf.h: Set `LV_USE_GPU_NXP_PXP` to 1 69 #include "src/draw/nxp/pxp/lv_gpu_nxp_pxp.h" 79 - src/draw/nxp/pxp/lv_draw_pxp.c[.h]: draw context callbacks 80 - src/draw/nxp/pxp/lv_draw_pxp_blend.c[.h]: fill and blit (with optional transformation) 81 - src/draw/nxp/pxp/lv_gpu_nxp_pxp.c[.h]: init, uninit, run/wait PXP device 82 - src/draw/nxp/pxp/lv_gpu_nxp_pxp_osa.c[.h]: OS abstraction (FreeRTOS or bare metal) 85 - fsl_pxp.c[.h]: PXP driver 86 - fsl_cache.c[.h]: CPU cache handling functions 146 - Select NXP VGLite engine in lv_conf.h: Set `LV_USE_GPU_NXP_VG_LITE` to 1 155 #include "vg_lite.h" [all …]
|