Gabor Kiss-Vamosi
88c485949f
feat(event, widgets) improve the paramter of LV_EVENT_DRAW_PART_BEGIN/END
...
Add lv_<widget>_draw_part_type_t to widgets to precisly describe the hooked drawings.
Also add class_p element to lv_obj_draw_part_dsc_t to show what widgets lv_<widget>_draw_part_type_t needs to be used.
Related to: https://forum.lvgl.io/t/how-to-add-minor-division-lines-to-a-chart/5366/
2021-07-07 16:19:06 +02:00
Gabor Kiss-Vamosi
f172eb3fd7
fix(arc) disable LV_OBJ_FLAG_SCROLL_CHAIN by default
2021-07-07 16:19:06 +02:00
Gabor Kiss-Vamosi
3fb8baf503
fix(widgets) use lv_obj_class for all the widgets
...
Related to #2346
2021-07-06 13:52:12 +02:00
Gabor Kiss-Vamosi
6bc40f8c44
fix(roller) fix partial redraw of the selected area
2021-07-05 15:44:40 +02:00
Gabor Kiss-Vamosi
01d1c873e1
fix(roller) adjust the size of the selected area correctly
...
fixes #2340
2021-07-05 14:12:58 +02:00
Gabor Kiss-Vamosi
77cedfa08f
fix(btnmatrix) fix button invalidation on focus change
2021-07-01 16:58:24 +02:00
Gabor Kiss-Vamosi
60d9a5e493
fix(textarea) style update in oneline mode + improve sroll to cursor
...
fixes : #2335
2021-07-01 15:33:50 +02:00
Gabor Kiss-Vamosi
845c4080f5
Merge branch 'master' into feat/test-unity
2021-06-23 22:20:00 +02:00
Gabor Kiss-Vamosi
e66b935061
fix(dropdown) forget the selected option on encoder longpress
2021-06-23 21:53:16 +02:00
Gabor Kiss-Vamosi
3672f87332
test move more source files to src folder
2021-06-23 13:23:47 +02:00
Gabor Kiss-Vamosi
ad04307d3f
Merge branch 'master' into feat/test-unity
2021-06-23 12:51:26 +02:00
Gabor Kiss-Vamosi
713b39ecdb
fix(obj, switch) do not send LV_EVENT_VALUE_CHANGED twice
...
fixes #2330
2021-06-22 10:06:28 +02:00
Gabor Kiss-Vamosi
e35b1d04bd
test add build test again, add dropdown test, integrate gcov and gvocr
2021-06-18 14:13:41 +02:00
Gabor Kiss-Vamosi
cb3692e302
fix(table) invalidate the table on cell value change
2021-06-16 13:09:57 +02:00
Gabor Kiss-Vamosi
a070ecfe8c
fix(label) remove dupliacted lv_obj_refresh_self_size
2021-06-16 13:09:33 +02:00
Gabor Kiss-Vamosi
38bb8afc16
fix(template) udpate lv_objx_template to v8
2021-06-07 18:32:38 +02:00
Gabor Kiss-Vamosi
3b58ef14e5
fix(btnmamatrix) fix focus event handling
2021-06-02 14:21:15 +02:00
Gabor Kiss-Vamosi
57e211cc17
fix(label) calculating the clip area
2021-06-02 13:22:55 +02:00
Gabor Kiss-Vamosi
1cb57494df
revert attempts to make struct private
...
feat/priate-struct was create as snapshot before this commit
2021-05-30 15:15:43 +02:00
Gabor Kiss-Vamosi
e3fb5d2840
fix minor example issues
2021-05-27 16:06:17 +02:00
Gabor Kiss-Vamosi
0cafde653d
feat(example) add style examples
2021-05-27 11:50:04 +02:00
Gabor Kiss-Vamosi
a0eb46b042
feat(theme) add mono theme
2021-05-26 12:23:23 +02:00
Gabor Kiss-Vamosi
75e1950320
feat make a lot of structures private
2021-05-24 13:33:59 +02:00
Gabor Kiss-Vamosi
5331fc9fb5
feat make some other structs private
2021-05-23 13:09:58 +02:00
Gabor Kiss-Vamosi
3fa42f4245
fix(table) fix clicking with RTL direction
2021-05-21 12:57:26 +02:00
Gabor Kiss-Vamosi
e2710feedb
fix(scoll) lv_obj_get_scroll_bottom if there is no children
2021-05-21 12:33:58 +02:00
Gabor Kiss-Vamosi
33ab14568a
fix(text) fix handling LV_TEXT_ALIGN_AUTO
2021-05-21 11:30:42 +02:00
Gabor Kiss-Vamosi
d73e42011d
feat make some structs private
2021-05-21 10:58:32 +02:00
Gabor Kiss-Vamosi
5e9a7e226f
fix(btnmatrix) in edot mode go to the last button after the first
2021-05-20 15:52:13 +02:00
Gabor Kiss-Vamosi
1386edf2fb
fix(bidi) fix tabview, textarea, label, btnmatrix, roller, dropdown with RTL base direction
2021-05-20 12:04:06 +02:00
Gabor Kiss-Vamosi
e2a7f559ab
feat(bidi) make base dir a style property and rename lv_bidi_dir_t to lv_base_dir_t
2021-05-19 20:55:44 +02:00
Gabor Kiss-Vamosi
5f0fe3a22c
fix(roller) make lv_roller_set_visible_row_count consider border width
2021-05-19 15:51:30 +02:00
Gabor Kiss-Vamosi
b634a63963
fix(textarea, spinbox) fix cursor position and size
2021-05-19 15:29:28 +02:00
guoweilkd
32d742cf52
fix encoded letter bug ( #2252 )
...
Co-authored-by: guowei15 <guowei15@xiaomi.com>
2021-05-19 13:27:09 +02:00
Gabor Kiss-Vamosi
94a47dc6d9
refactor(event) simplify cover check realted event functions
2021-05-15 00:14:31 +02:00
Gabor Kiss-Vamosi
052c3c9f3e
feat(event) add more event code specific wrappers for lv_event_get_param()
2021-05-13 17:08:49 +02:00
Gabor Kiss-Vamosi
6aa27cc11b
refactor(label, text area) rename functions of text_sel to text_selection
2021-05-13 15:39:06 +02:00
Gabor Kiss-Vamosi
1b38632b6f
refactor(obj draw)rename lv_obj_draw_dsc_t to lv_obj_draw_part_dsc_t
2021-05-12 12:48:38 +02:00
Gabor Kiss-Vamosi
125aec59ec
fix(tabview) make focusing more visible
2021-05-11 17:23:54 +02:00
Gabor Kiss-Vamosi
fb97895746
fix(switch) add LV_OBJ_FLAG_SCROLL_ON_FOCUS
2021-05-11 17:23:54 +02:00
Gabor Kiss-Vamosi
a46f20de91
feat(obj_class) separate lv_obj_class_create_obj into lv_obj_class_create_obj and lv_obj_class_init_obj
...
It allows using the new object reference somewhere before initializing it. Usuful for the Micropython binding.
2021-05-11 13:05:42 +02:00
Gabor Kiss-Vamosi
e9388c1aa0
feat(coords) follow CCS border-box model
2021-05-11 12:35:35 +02:00
Gabor Kiss-Vamosi
ee14b00398
fix(slider) do not set the height manually in constructor to let the theme overwrite it
2021-05-11 10:17:21 +02:00
Gabor Kiss-Vamosi
617d94ceff
fix(btnmatrix) fix incorrect array indexing
2021-05-11 10:06:43 +02:00
Gabor Kiss-Vamosi
f73e813562
minor fixes
2021-05-10 09:53:04 +02:00
Gabor Kiss-Vamosi
b8557f2432
fix(dropdown) fix list width calculation
2021-05-07 21:53:45 +02:00
Gabor Kiss-Vamosi
684db9b3e7
Merge branch 'master' of https://github.com/littlevgl/lvgl
2021-05-07 13:41:52 +02:00
Gabor Kiss-Vamosi
9c7af6c321
fix(arc) minor fixes and example updates
2021-05-07 13:33:53 +02:00
Gabor Kiss-Vamosi
c9c3e22449
fix(textarea) be sure the cursor position is refreshed on creation
2021-05-07 12:27:56 +02:00
Gabor Kiss-Vamosi
bd361597ef
fix(dropdown) fix list height
2021-05-06 20:11:35 +02:00