1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

6341 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
7b3dbd5e2a
Update README.md 2021-03-16 17:09:08 +01:00
Gabor Kiss-Vamosi
24588d08b6 remove leftover files after merging master 2021-03-16 16:58:50 +01:00
Gabor Kiss-Vamosi
3dbc170d4b remove leftover files after merging master 2021-03-16 16:41:52 +01:00
Gabor Kiss-Vamosi
73d51608e8 Merge master 2021-03-16 16:32:58 +01:00
Gabor Kiss-Vamosi
ec9de515b3 Release v7.11.0 v7.11.0 2021-03-16 16:31:32 +01:00
Gabor Kiss-Vamosi
a9e50ae822 remove debug expressions 2021-03-16 15:43:03 +01:00
Gabor Kiss-Vamosi
434c01d7cf minor fixes 2021-03-16 15:39:10 +01:00
Gabor Kiss-Vamosi
9e8e892dff perf(meter): invalidate only the needle area 2021-03-16 15:24:52 +01:00
Gabor Kiss-Vamosi
0f70859758 Merge branch 'dev' of https://github.com/littlevgl/lvgl into dev 2021-03-16 12:38:47 +01:00
Gabor Kiss-Vamosi
fc0b3afee2 fix warning 2021-03-16 12:38:36 +01:00
Gabor Kiss-Vamosi
a0671ab953 fix(theme): default theme fixes 2021-03-16 12:33:47 +01:00
Gabor Kiss-Vamosi
0aec010a52 feat(arc): add lv_draw_arc_get_area to have a common function to get the area to invalidated 2021-03-16 12:32:52 +01:00
Gabor Kiss-Vamosi
8106c2f348 feat(chart): add lv_chart_set_series_color 2021-03-16 12:29:21 +01:00
Gabor Kiss-Vamosi
3f23733961 feat(font): add LV_SYMBOL_TINT and LV_SYMBOL_ENVELOPE 2021-03-16 12:28:43 +01:00
Gabor Kiss-Vamosi
ef5b2c695b minor fixes 2021-03-16 12:28:25 +01:00
Gabor Kiss-Vamosi
d93056cd43 feat(obj): add lv_obj_get_height/width_visible 2021-03-15 16:38:54 +01:00
Gabor Kiss-Vamosi
acd07ff83c feat(example): add more chart examples 2021-03-15 15:23:10 +01:00
Gabor Kiss-Vamosi
dc7e6b00a0 rename some LV_PART_... and add cursor drawing back to lv_chart 2021-03-15 15:20:40 +01:00
Xiang Xiao
460b227b83
fix(doc): remove ':' from @param (#2137) 2021-03-14 14:02:16 +01:00
Gabor Kiss-Vamosi
4516018ce7 refactor(draw_buf): rename vdb to draw_buf
It affected only local variables and comments
2021-03-14 13:57:53 +01:00
Xiang Xiao
d90759aaab
Minor fix for disp driver (#2135)
* fix(disp): correct the typo error in comment

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* fix(disp): fix the field definition

1.change rotated from 3bits to 2bits since lv_disp_rot_t has only four value
2.change inv_p from 10bits to uint16_t to avoid the bit operation
3.reorder bg_opa to save the memory space

* fix(disp): remove the unnecessary field zero

since lv_memset_00 is already done for the main struct

* fix(disp): handle the out of memmory gracefully

* fix(disp): delete the refresh timer in lv_disp_remove

* fix(disp): handle NULL pointer correctly in lv_disp_[g|s]et_rotation

like other similar(allow NULL disp) functions

* fix(disp): call lv_area_set_[width|height] in lv_disp_drv_update

to remove one extra row and column
2021-03-14 13:46:35 +01:00
Xiang Xiao
54b8862609
fix(disp): rename lv_disp_get_buf to lv_disp_get_draw_buf (#2136)
follow up the commit:
commit e9cc1c2d4676b3863a85f35a79162ecedd280213
Author: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Date:   Wed Mar 10 13:07:15 2021 +0100

    feat(driver): raname lv_disp_buf_t to lv_disp_draw_buf_t + save only the drv's pointer in lv_disp_t
2021-03-14 13:44:01 +01:00
Gabor Kiss-Vamosi
a431569455 feat(fs driver): save only the pointer of the driver in lv_fs_drv_register 2021-03-14 13:42:32 +01:00
Gabor Kiss-Vamosi
7840f3577e feat(indev driver): save only the pointer of the input deveice driver in lv_indev_register() 2021-03-14 13:34:06 +01:00
Gabor Kiss-Vamosi
f0e17cad60 fix(chart): fix warning 2021-03-14 13:31:29 +01:00
Gabor Kiss-Vamosi
ea557d2b4c perf(chart): use raw line end on line chart if line_width == 1 2021-03-12 21:42:18 +01:00
Gabor Kiss-Vamosi
93ddf0b8fb feat(chart): chage to simpler line drawing if the number of points > chart width
If there are a lot of points always draw vertical lines.
Visually it's similar but much faster than drawing skewed antialaised lines.
2021-03-12 21:36:33 +01:00
Gabor Kiss-Vamosi
fa2c817681
Update lv_port_disp_template.c 2021-03-12 14:12:12 +01:00
Gabor Kiss-Vamosi
ca7d806eab fix(screen change): allow postion change on screens to make screen change animations work 2021-03-11 22:30:51 +01:00
Gabor Kiss-Vamosi
ae09ce5701 feat(style): remove style caching becasue it had no peformance benefit
and add custom user states
2021-03-11 21:05:11 +01:00
Gabor Kiss-Vamosi
ba69cb4dca fix compiler error with some logs 2021-03-11 19:38:51 +01:00
Gabor Kiss-Vamosi
2ffa8165c1 fix warning 2021-03-11 12:31:14 +01:00
Gabor Kiss-Vamosi
fbba11af37 fix(obj style) rename lv_obj_set_pad...() to lv_obj_set_style_pad...() 2021-03-11 12:28:49 +01:00
Gabor Kiss-Vamosi
48cd3809f6 Merge branch 'dev' of https://github.com/littlevgl/lvgl into dev 2021-03-11 12:21:10 +01:00
Gabor Kiss-Vamosi
751f1aa829 minor fixes 2021-03-11 12:21:03 +01:00
Gabor Kiss-Vamosi
f63f3408eb fix(chart): fix zooming on bar charts 2021-03-11 12:20:55 +01:00
Gabor Kiss-Vamosi
fb8faed097 fix(grid): support fr on LV_SIZE_CONTENT parents too 2021-03-11 12:20:09 +01:00
Gabor Kiss-Vamosi
e05af14af9 fix(flex): fix centering on small parents + renames 2021-03-11 12:18:59 +01:00
Themba Dube
28f2f9f922 fix(disp) mark new_drv as unused in lv_disp_drv_update 2021-03-10 20:58:30 -05:00
Themba Dube
39a1451fc6 fix(disp) remove pointless memcpy() 2021-03-10 20:54:41 -05:00
Themba Dube
d7f6d006b1 fix(obj,layouts) remove warning spam 2021-03-10 20:54:13 -05:00
Xiang Xiao
7bf547a928
feat(mem): switch the default allocator to tlsf (#2129)
* feat(mem): add initial version of tlsf

from  : https://github.com/mattconte/tlsf
commit: deff9ab509341f264addbd3c8ada533678591905

* feat(mem): switch the default allocator to tlsf

* fix(mem): remove the preserved small buffer

since the builtin allocator(tlsf) is fast enough now

* fix(mem): change LV_MEM_ADD_JUNK to 0

to speed up the normal operation
2021-03-10 15:13:35 +01:00
Gabor Kiss-Vamosi
91a44a465a fix tests 2021-03-10 13:12:45 +01:00
Gabor Kiss-Vamosi
73c4903d39 Merge branch 'dev' of https://github.com/littlevgl/lvgl into dev 2021-03-10 13:12:24 +01:00
Gabor Kiss-Vamosi
e9cc1c2d46 feat(driver): raname lv_disp_buf_t to lv_disp_draw_buf_t + save only the drv's pointer in lv_disp_t 2021-03-10 13:07:15 +01:00
Gabor Kiss-Vamosi
c230df0782 feat(flex): add LV_OBJ_FLAG_FLEX_IN_NEW_TRACK 2021-03-10 12:50:22 +01:00
Gabor Kiss-Vamosi
1b51f69116 fix(meter): fix off by one pixel issue on arcs and the order of tick indicators during drawing 2021-03-10 12:50:06 +01:00
Gabor Kiss-Vamosi
22c06a19bc minor fixes 2021-03-10 09:44:17 +01:00
Gabor Kiss-Vamosi
9a447883c1 fix(draw) consider style opa for outline too 2021-03-09 11:43:04 +01:00
Gabor Kiss-Vamosi
c908cc98b6 add lv_anim_del_all() 2021-03-09 10:31:17 +01:00