1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

151 Commits

Author SHA1 Message Date
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
Gabor Kiss-Vamosi
6cb28da8e9 perf(coord. refr.): imrove the speed of layout, size and position recalculation
Reduce the number of refreshes.
2021-05-05 15:53:54 +02:00
Gabor Kiss-Vamosi
79d9f299ef refactor(txt) rename _lv_txt_get_width to lv_txt_get_width
related to #2228
2021-05-04 14:28:52 +02:00
Gabor Kiss-Vamosi
366d01eec9 fix(label) fix word wrapping if stretched by grid 2021-05-03 22:07:49 +02:00
Gabor Kiss-Vamosi
7b8de7af8a feat(dropdown) make the dropdown's list use the max_height style proeprty
Instead of a widget property
2021-05-03 17:34:15 +02:00
Gabor Kiss-Vamosi
efc5bccbfd fix(dropdown) fix showing the selected text if symbol=NULL
fixes #2235
2021-05-03 15:27:57 +02:00
Gabor Kiss-Vamosi
6b497dec3c feat(checkbox) add LV_EVENT_DRAW_PART_BEING/END to the indicator 2021-05-03 15:26:51 +02:00
Gabor Kiss-Vamosi
445c0ea9ae refactor(obj class) add user_data parameter to lv_obj_class_create_obj() 2021-05-03 14:06:55 +02:00
Gabor Kiss-Vamosi
4f743a7aa8 refactor(obj class) rename lv_obj_create_from_class to lv_obj_class_create_obj 2021-05-03 13:58:20 +02:00
Gabor Kiss-Vamosi
e1e45b1de3 fix(btnmatrix) improve focusing if used in groups 2021-05-03 11:14:25 +02:00
Gabor Kiss-Vamosi
a8016196a8 refactor(meter, chart) make them extra widgets instead of core 2021-05-02 22:01:56 +02:00
Gabor Kiss-Vamosi
5662c8d52d fix(bar, slider) fix minor issues 2021-05-02 21:05:23 +02:00
Gabor Kiss-Vamosi
8578a68849 fix(btnmatrix) fix typo
button_is_hidden was used instead of button_is_recolor
2021-05-01 07:41:12 +02:00
Gabor Kiss-Vamosi
e9aa30ff7d feat(btnmatrix) make 'recolor' a button flag insted of a function 2021-05-01 07:34:30 +02:00
Gabor Kiss-Vamosi
1864f608b4 fix build error 2021-04-30 10:03:57 +02:00
Gabor Kiss-Vamosi
3c40c83691 feat(bar) send LV_DRAW_PART_BEGIN/END for the indicator 2021-04-30 10:00:25 +02:00
Gabor Kiss-Vamosi
4f37e3ee25 refactor(arc) rename arc type to mode 2021-04-30 09:59:54 +02:00
Gabor Kiss-Vamosi
9394de662c Merge branch 'master' of https://github.com/littlevgl/lvgl 2021-04-29 15:16:47 +02:00
Gabor Kiss-Vamosi
6206a5381d fix(dropdown) make the symbol (arrow) use LV_PART_INDICATOR 2021-04-29 15:16:41 +02:00
Gabor Kiss-Vamosi
9ff1cb7f1d fix(meter) keep the creation order of indicator during drawing
Instead of drawing the indicators per scale
2021-04-29 10:11:21 +02:00
Gabor Kiss-Vamosi
1b93668df7 feat(obj) save self_size in the obejct to save a lot of recalculations 2021-04-29 09:52:49 +02:00
Gabor Kiss-Vamosi
ff2c2e5d33 fix(meter) use antialaising on needle rotation and fix needle invalidation artifact 2021-04-28 17:47:36 +02:00
Gabor Kiss-Vamosi
4f46336a54 fix(theme) simplify the default theme 2021-04-28 10:11:26 +02:00
Gabor Kiss-Vamosi
5b47f7b563 minor fixes 2021-04-27 17:44:15 +02:00
Gabor Kiss-Vamosi
492b3a417e feat(label) update long modes and use LV_SIZE_CONTENT 2021-04-27 15:36:08 +02:00
Gabor Kiss-Vamosi
9eb71a0538 feat(btnmatrix) allow NULL terminated array too for the button's list 2021-04-27 14:05:18 +02:00
Gabor Kiss-Vamosi
36d3537046 feat(bar, slider) unse int32_t as bar an slider ranges and values 2021-04-26 14:38:29 +02:00
Gabor Kiss-Vamosi
d4deb28663 fix(label) remove duplicated prototypse (coming from merge conflicts) 2021-04-26 11:25:44 +02:00
embeddedt
2d459c86d3
chore(arc) fix typo in header file
Fixes #2219
2021-04-25 09:36:51 -04:00
Gabor Kiss-Vamosi
db4613a904 fix(dropdown) in the list draw the border after the selected option 2021-04-25 13:50:53 +02:00
Gabor Kiss-Vamosi
6428be5441 fix(dropdown) fix include path 2021-04-24 21:30:05 +02:00
Gabor Kiss-Vamosi
5d4c9fac83 fix(include) remove unused stdio includes 2021-04-24 17:27:41 +02:00
Gabor Kiss-Vamosi
e29bfc5dc5 minor fixes 2021-04-22 15:36:40 +02:00
Themba Dube
980c18fa51 fix(canvas) allocate a fake driver on the stack
As of v8 drivers are no longer stored inside lv_disp_t, so a driver
needs to be allocated as well.

Fixes #2204
2021-04-21 13:09:55 -04:00
Gabor Kiss-Vamosi
6c863cabb7 feat(obj_class) use different prototype for the event_cb in lv_obj_class_t
It adds lv_obj_class_t * as the first arguement for MicroPython compatibility
2021-04-21 09:55:21 +02:00
Gabor Kiss-Vamosi
4324cf72f3 refactor(style, obj) lv_obj_get_width/height_fit -> lv_objget_get_content_width/height, style_tranform_x/y -> style_translate_x/y 2021-04-20 21:08:16 +02:00
Gabor Kiss-Vamosi
d412a98e54 fix(chart) don't draw division lines on the sides if there no padding but have a visible border 2021-04-20 13:46:49 +02:00
Gabor Kiss-Vamosi
48e70e97f0 fix(roller) fix left shift negative value
reported by ASAN
2021-04-20 13:31:40 +02:00