Gabor Kiss-Vamosi
345f6882c9
fix(arc): fix knob invalidation
2022-01-19 14:02:11 +01:00
ckielstra
febafd1cc7
chore: many trivial spelling and layout fixes ( #3008 )
...
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com >
2022-01-17 08:10:23 -05:00
Gabor Kiss-Vamosi
db53ea925c
arch(draw): allow replacing the draw engine
...
BREAKING CHANGE: the API of lv_draw_... function have been changed
2021-12-21 15:54:22 +01:00
Xiang Xiao
3a0069adf8
chore(format): run code-format.sh ( #2822 )
...
* fix(format): run code-format.sh
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
* fix(astyle): add the 3rd party source file to exclude list
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
2021-11-22 13:32:48 +01:00
Gabor Kiss-Vamosi
dfa4f5cff5
feat(arc) add support to LV_OBJ_FLAG_ADV_HITTEST
2021-10-19 12:52:35 +02:00
Carlos Diaz
acf915b896
test(arc) add initial unit tests ( #2617 )
...
* test(arc): Add test for valid creation
* test(arc): Add test for max value truncation
* test(arc): Add test for min value truncation
* test(arc): Add test for value adjustment after updating range
* test(arc): Update test for min value truncation
* test(arc): Add test for angle updating after changing to symmetrical mode
* test(arc): Add test for angle updating after changing to symmetrical mode and value is greater than middle range
* test(arc): Use unity setUp function
* remove API comments from lv_arc.c
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com >
2021-10-07 19:01:02 +02:00
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
Gabor Kiss-Vamosi
df3b96900b
fix(arc) fix LV_ARC_MODE_REVERSE
...
fixes #2522
2021-09-09 14:46:43 +02:00
Gabor Kiss-Vamosi
5ced08001c
fix(arc) fix arc invalidation again
...
realted to #2490
2021-09-09 11:24:31 +02:00
ckielstra
5249a34d5d
docs more spelling fixes ( #2499 )
2021-08-27 12:15:39 +02:00
Gabor Kiss-Vamosi
98b9ce5997
fix(arc) fix full arc invalidation
...
fixes #2490
2021-08-25 13:09:07 +02:00
Gabor Kiss-Vamosi
0f14f49465
fix(arc, merter) fix invaidation in special cases
...
fixes #2443
2021-08-09 15:37:58 +02:00
Gabor Kiss-Vamosi
5b3d3dc8b3
perf(draw) reimplement rectangle drawing algorithms
...
No functionalty has changed only make them more readable and faster.
2021-08-02 15:45:14 +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
f172eb3fd7
fix(arc) disable LV_OBJ_FLAG_SCROLL_CHAIN by default
2021-07-07 16:19:06 +02:00
Gabor Kiss-Vamosi
d73e42011d
feat make some structs private
2021-05-21 10:58:32 +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
9c7af6c321
fix(arc) minor fixes and example updates
2021-05-07 13:33:53 +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
1864f608b4
fix build error
2021-04-30 10:03:57 +02:00
Gabor Kiss-Vamosi
4f37e3ee25
refactor(arc) rename arc type to mode
2021-04-30 09:59:54 +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
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
663bcfd030
api(style) add lv_style_selector_t instead of lv_part_t and lv_state_t in style API
2021-03-31 19:57:14 +02: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
0ef2e08d02
refactor(event): adjust events names
2021-03-18 17:18:11 +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