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

2352 Commits

Author SHA1 Message Date
Brian Pugh
30dcf68351 lv_label: change magic number 4 to sizeof(char *) 2019-04-14 13:52:54 -07:00
Brian Pugh
3d77137178 lv_label: dynamically allocate space for dots if necessary. If the required dots storage space is 4 or less bytes, directly stores them in the extended data object 2019-04-14 11:18:31 -07:00
Brian Pugh
50edf4e1f8 Fixed lv_label selection start/end setters to allow the 0th index. 2019-04-14 09:50:02 -07:00
Brian Pugh
f40ee380c8 Optimized bitfields in lv_btn and lv_label. In lv_label, changed selection fields from int to uint16. Because of this change, added getters/setters. Added LV_LABEL_SELECTION_EN option in lv_conf to enable/disable the selection fields 2019-04-14 09:47:45 -07:00
Gabor Kiss-Vamosi
9603ddfbe5
Merge pull request #1016 from joltwallet/preload_direction
lv_preload.c Add feature to allow setting whether the animation is pl…
2019-04-13 18:44:43 +02:00
embeddedt
2b26b9dc51
Merge pull request #1018 from canardos/dev-6.0
Remove legacy control codes
2019-04-13 07:57:30 -04:00
canardos
29daec0caf Remove legacy control codes 2019-04-13 14:56:47 +08:00
Brian Pugh
bbb93d315e lv_preload: abbreviate "animation" and "direction" to "anim" and "dir" 2019-04-12 07:57:16 -07:00
Brian Pugh
610499c278 lv_preload uncomment lv_anim_del in animation create 2019-04-12 07:48:00 -07:00
Gabor Kiss-Vamosi
1cbbd1c59b change memcpy to lv_style_copy 2019-04-12 07:27:53 +02:00
Gabor Kiss-Vamosi
ff6fb2611a Merge branch 'dev-6.0' of https://github.com/littlevgl/lvgl into dev-6.0 2019-04-12 07:22:48 +02:00
Gabor Kiss-Vamosi
6284e3a21b lv_list: check the return value of btn events 2019-04-12 07:22:37 +02:00
Brian Pugh
3764d7a6ba lv_preload.c Add feature to allow setting whether the animation is played in forward/reverse. Changes the default spinner behavior from counterclockwise to clockwise. 2019-04-11 09:26:11 -07:00
Gabor Kiss-Vamosi
cf943b16e1
Merge pull request #1015 from canardos/const_styles
Allow const lv_style_t objects
2019-04-11 15:46:57 +02:00
Gabor Kiss-Vamosi
a4d4d59346 lv_page: use lv_style_copy instead of memcpy 2019-04-11 15:41:17 +02:00
canardos
e6b7afccd2 Allow const lv_style_t objects 2019-04-11 19:59:55 +08:00
Gabor Kiss-Vamosi
6a3c7d2b95 lv_list: fix lv_list_get_btn_next/prev 2019-04-11 06:57:19 +02:00
Gabor Kiss-Vamosi
84ea78c1c1
Merge pull request #1014 from littlevgl/list_signal_cb
lv_list: check actual object type instead of relying on signal handler
2019-04-11 06:52:14 +02:00
Gabor Kiss-Vamosi
2f0921161f Merge branch 'dev-6.0' of https://github.com/littlevgl/lvgl into dev-6.0 2019-04-11 05:16:50 +02:00
Gabor Kiss-Vamosi
6c9ed1969f lv_disp_buf_init: rename size paramter 2019-04-11 05:16:31 +02:00
Themba Dube
2345e0073d lv_list: check actual object type instead of relying on signal handler 2019-04-10 19:52:11 -04:00
embeddedt
e3244b7a37
Merge pull request #1013 from seyyah/patch-2
Follow to transtion (lv_btnm_set_map_array -> lv_btnm_set_map)
2019-04-10 10:52:59 -04:00
seyyah
0bffba11d6
Follow to transtion (lv_btnm_set_map_array -> lv_btnm_set_map) 2019-04-10 17:44:18 +03:00
Gabor Kiss-Vamosi
3d4c784c3b use [] in array argument of 'set' functions (#935) 2019-04-10 08:40:58 +02:00
Gabor Kiss-Vamosi
fb1ca3fb87 rename lv_obj_get_..._func to .._cb (#1011) 2019-04-10 06:40:55 +02:00
Gabor Kiss-Vamosi
427d11e7f5 fix conflicts 2019-04-10 06:27:40 +02:00
Gabor Kiss-Vamosi
d3b494b030 lv_kb: fix typo 2019-04-10 06:25:44 +02:00
Gabor Kiss-Vamosi
b0f3949b3c lv_chart: add _array postfix 2019-04-10 06:23:30 +02:00
Gabor Kiss-Vamosi
c4f8e5f8be run clang format 2019-04-10 06:23:30 +02:00
Gabor Kiss-Vamosi
c2653174f5 lv_kb, lv_btnm: add _array postfix if the parameter is an array 2019-04-10 06:23:30 +02:00
Themba Dube
28d24a3d4d Keep relative offset between pointer and dragged object identical 2019-04-09 16:57:33 -04:00
Themba Dube
ea7c82f478 Fix warnings reported in #1008 2019-04-09 16:18:04 -04:00
Gabor Kiss-Vamosi
5edb1dd38a Merge branch 'dev-6.0' of https://github.com/littlevgl/lvgl into dev-6.0 2019-04-09 15:24:25 +02:00
Gabor Kiss-Vamosi
ef0e0f812f lv_win, lv_tabview: set screen size by default 2019-04-09 15:24:20 +02:00
Gabor Kiss-Vamosi
b5c7960255
Merge pull request #1003 from littlevgl/obj_drag_dir
Enhance drag logic
2019-04-09 15:05:46 +02:00
Themba Dube
e8b081b015 Release lv_task_handler mutex if no task needs to be run 2019-04-09 09:05:25 -04:00
Themba Dube
67ff40afd0 Enable LV_DRAG_DIR_ALL by default in object initializer
It was previously enabled by `lv_obj_set_drag`.
2019-04-09 09:00:41 -04:00
embeddedt
3d7641733e
Merge pull request #1009 from joltwallet/indev_release_fix
lv_indev button release fix
2019-04-09 08:56:16 -04:00
Brian Pugh
d691e72b40 lv_indev: check object delete after sending LV_EVENT_SHORT_CLICKED on group button release 2019-04-08 21:04:17 -07:00
Themba Dube
fc7c7ec619 Merge remote-tracking branch 'origin/dev-6.0' into obj_drag_dir 2019-04-08 13:51:13 -04:00
Themba Dube
36d4807a69 Add back scrolling optimization 2019-04-08 13:50:58 -04:00
Gabor Kiss-Vamosi
75f42fde2f fix conflicts 2019-04-08 14:40:41 +02:00
Themba Dube
0c3a18e1fe Call lv_obj_set_pos if both drag directions are enabled 2019-04-08 08:38:25 -04:00
Gabor Kiss-Vamosi
e47750864e rename LV_GROUP_KEY to LV_KEY 2019-04-08 14:36:20 +02:00
Gabor Kiss-Vamosi
8976b118f8
Merge pull request #998 from joltwallet/indev_esc
lv_indev.c LV_GROUP_KEY_ESC sends LV_EVENT_CANCEL
2019-04-08 05:59:33 +02:00
Gabor Kiss-Vamosi
dff8eb9a3c
Merge pull request #1005 from manison/patch/fix-retval
Fix return values from lv_img_dsc_get_info
2019-04-08 05:57:27 +02:00
Themba Dube
2b0e378c73 Merge branch 'dev-6.0' into obj_drag_dir 2019-04-05 14:52:35 -04:00
Themba Dube
231ad935f4 Merge branch 'dev-6.0' of github.com:littlevgl/lvgl into dev-6.0 2019-04-05 14:52:15 -04:00
Themba Dube
9c8296edf9 Fix off-by-one error in lv_calendar 2019-04-05 14:52:04 -04:00
Themba Dube
cbd32d9f28 Update drag logic to consider the movement of a pointer device as drag
It no longer requires the object to have been moved before drag starts.
2019-04-05 14:17:51 -04:00