Gabor Kiss-Vamosi
d67dd943ca
format run code-formtter.sh
...
related to #2543
2021-09-13 14:06:26 +02:00
Xiang Xiao
9fc0c3cf98
fix(lv_log.h): remove the duplicated semicolon from LV_LOG_xxx ( #2544 )
...
and fix the caller who forget to add semicolon at the line end
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
2021-09-09 15:34:36 +02:00
ckielstra
5249a34d5d
docs more spelling fixes ( #2499 )
2021-08-27 12:15:39 +02:00
Gabor Kiss-Vamosi
637b706ddc
perf(draw) reimplement circle drawing algorithms ( #2374 )
...
* perf(draw) reimplement circle drawing algorithms
Imporve the speed of circle drawing
Add circle draw caching
Various other speed improvements
* docs describe how to use masks
* fix(draw) add missing GC root usage
2021-07-27 19:16:00 +02:00
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
75e1950320
feat make a lot of structures private
2021-05-24 13:33:59 +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
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
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
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
5662c8d52d
fix(bar, slider) fix minor issues
2021-05-02 21:05:23 +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
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
5d4c9fac83
fix(include) remove unused stdio includes
2021-04-24 17:27:41 +02: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
6db12e4997
revert(style) revert the usage of transform width/height
2021-04-18 20:28:06 +02:00
Gabor Kiss-Vamosi
da367337c9
feat(anim) remove lv_anim_path_t and use a callback directly
...
lv_anim_path_t was required for the MicroPython binding becase the callback couldn't attached dircetly to the styles
However, in v8, path_cb is used in the style transitons which has user_data and that user data is passed to the transition animation. Hence the path_cb sees the the same user data during the animaton as when it was registered to the transiton.
2021-04-17 20:50:10 +02:00
Gabor Kiss-Vamosi
e1355dbeee
feat(style) add transform_x/y
2021-04-17 17:33:57 +02:00
Gabor Kiss-Vamosi
5f8445966b
fix build error
2021-04-15 18:46:21 +02:00
Gabor Kiss-Vamosi
422c9e5bd6
feat(event) rework the prototype of lv_event_cb
...
It encapsulates all event related parameters into a single lv_event_t obejct.
2021-04-14 15:31:54 +02:00
Gabor Kiss-Vamosi
834e2177e7
fix(obj) add lv_obj_class_t * as first parameter of constructors and destructors
...
It's required for compatibility with the MicroPython binding.
2021-04-13 14:31:21 +02:00
Gabor Kiss-Vamosi
a8f31dab55
feat(widgets) add default sizes to obj_class
2021-04-01 14:11:32 +02:00
Gabor Kiss-Vamosi
d1c5f1c16e
fix(bar) invalidate the indicator on press/release
2021-03-26 16:50:10 +01:00
Gabor Kiss-Vamosi
53f3cc1827
api(style) remove content style proeprties
2021-03-25 13:36:50 +01:00
Gabor Kiss-Vamosi
b7becbbb22
feat(style): store layout and position coordinates as style properties
...
related to #2152
2021-03-24 15:38:53 +01:00
Gabor Kiss-Vamosi
c1f8a844bc
style(comment): remove the word signal from the comments
2021-03-18 17:38:42 +01:00
Gabor Kiss-Vamosi
bf2deded51
fix conflicts
2021-03-18 17:31:09 +01:00
Gabor Kiss-Vamosi
03f74ce186
feat(obj): merge draw clallback to events
2021-03-18 17:03:36 +01:00
Gabor Kiss-Vamosi
6b7fe23fb8
feat(obj): merge signals into events
2021-03-18 15:13:35 +01:00
Xiang Xiao
9254a7ea14
fix(comment): remove the space after /* and before */
2021-03-18 11:51:36 +08:00
Gabor Kiss-Vamosi
0cc1e99ddf
remove the lv_ prefix from the directories in the src folder
2021-03-16 20:36:27 +01:00