1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-02-04 07:13:00 +08:00

46 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
7672847ce3 fix(bidi) fix the handling of LV_BASE_DIR_AUTO in several widgets
fixes #2421
2021-08-03 16:03:07 +02:00
Gabor Kiss-Vamosi
79edb37b0a fix(dropdown) fix list position with RTL base direction
related to #2424
2021-08-02 12:27:57 +02:00
Gabor Kiss-Vamosi
4dd1d566fc fix(dropdown) use LV_EVENT_READY/CANCEL on list open/close
Instead of LV_EVENT_VALUE_CHANGE to avoid conflicts with new option selection.
2021-07-28 10:09:46 +02:00
Gabor Kiss-Vamosi
dae7039803 fix(dropdown) send LV_EVENT_VALUE_CHANGED to allow styling of the list 2021-07-28 09:52:37 +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
e35b1d04bd test add build test again, add dropdown test, integrate gcov and gvocr 2021-06-18 14:13:41 +02:00
Gabor Kiss-Vamosi
e3fb5d2840 fix minor example issues 2021-05-27 16:06:17 +02:00
Gabor Kiss-Vamosi
a0eb46b042 feat(theme) add mono theme 2021-05-26 12:23:23 +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
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
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
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
b8557f2432 fix(dropdown) fix list width calculation 2021-05-07 21:53:45 +02:00
Gabor Kiss-Vamosi
bd361597ef fix(dropdown) fix list height 2021-05-06 20:11:35 +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
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
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
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
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
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
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
b36345107c feat(group) add default group 2021-04-08 12:48:48 +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
966f6e1727 refactor(dropdown): rename lv_dropdown_list_class to lv_dropdownlist_class
It avoids ambiguity. See  https://github.com/lvgl/lvgl/issues/1763#issuecomment-804357591
2021-03-25 20:03:49 +01:00
Gabor Kiss-Vamosi
63bc72e53a minor fixes 2021-03-25 19:59:23 +01:00
Gabor Kiss-Vamosi
a2f3022188 api(align) save align in style and handle x/y according to it 2021-03-25 16:14:17 +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
a9e826d3c5 feat(obj style): remove obj->style_lista nd use array of lv_obj_style_t in lv_obj_t 2021-03-19 09:38:52 +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
9d23260ce5 minor fixes 2021-03-17 13:36:58 +01:00
Gabor Kiss-Vamosi
0cc1e99ddf remove the lv_ prefix from the directories in the src folder 2021-03-16 20:36:27 +01:00