Karijn Wessing
780e0efe2c
feat(obj) add lv_obj_move_to_index(obj, index), renamed lv_obj_get_child_id(obj) to lv_obj_get_index(obj) ( #2514 )
...
* - renamed lv_obj_get_id(obj) to lv_obj_get_index(obj).
- added lv_obj_move_to_index(obj, index).
* automatic review comment fixed
* removed unused variable
* review issue
* restored deprecated function in header, otherwise Build Micropython with LVGL submodule / build (pull_request) failes
* moved deprecated lv_obj_get_child_id() back to lv_obj_tree.h, otherwise Micropython will not build
* inline function did not work
* made deprecated function 'static inline'
* and now also inline
* move static inline function to lv_api_map.h again
* removed lv_obj_move_up/down
* changed log to warning for deprecated function
* redefined lv_obj_move_foreground(obj) and lv_obj_move_background(obj) as inline functions now calling lv_obj_move_to_index(obj, index).
- lv_obj_swap(obj1, obj2) added. (#2461 )
2021-09-05 20:47:55 +02:00
Avra Mitra
d53b873556
Corrected a function name in obj.md ( #2511 )
...
In the example of `lv_obj_align_to(obj_to_align, obj_referece, LV_ALIGN_..., x, y)`, the function name was written as `lv_obj_align()`.
2021-08-30 11:08:04 +02:00
ckielstra
0f4e6e26f9
Simple spelling fixes ( #2496 )
2021-08-26 10:52:39 +02:00
Vincent Hamp
088b2bd490
docs fix typo: arae -> area ( #2488 )
...
Co-authored-by: Vincent Hamp <hamp@zimo.at>
2021-08-24 14:51:29 +02:00
Karijn Wessing
e111ea2a62
added lv_obj_move_up() and lv_obj_move_down() ( #2467 )
...
* - small with unneeded lv_obj_invalidate() fix in lv_obj_move_foreground() and lv_obj_move_background()
- added lv_obj_move_up() and lv_obj_move_down()
- used new functions in sample 2
- used lv_obj_swap() to shuffle (turn around) list
* solved build error
* added top and bottom buttons in sample
2021-08-24 14:30:38 +02:00
Karijn Wessing
9a1f7f2fcb
feat(obj) add lv_obj_swap() function ( #2461 )
...
* proposal for lv_obj_swap() function
* review issues applied
* review changes for comments
2021-08-18 11:32:10 +02:00
embeddedt
51a82a17ff
docs(btnmatrix) fix typo with set_all/clear_all parameters
...
Fixes #2455
2021-08-16 11:02:42 -04:00
guoweilkd
65415d3f68
docs(chart) typos ( #2427 )
2021-08-02 11:51:18 +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
Yin Zhong
1f255b7a0c
feat(obj) Backport keypad and encoder scrolling from v7 lv_page
to v8 lv_obj
( #2390 )
...
* support scrolling scrollable but non-editable objects thru keypad / encoder
* update doc on `lv_obj` scrolling behavior by arrow keys
2021-07-23 14:55:13 +02:00
Gabor Kiss-Vamosi
6d8799fbbf
Update textarea.md
2021-07-23 13:52:13 +02:00
Yin Zhong
4d43b99702
doc(table) update doc on cell merging ( #2397 )
...
See https://github.com/lvgl/lvgl/issues/2276#issuecomment-884776230
2021-07-23 09:49:59 +02:00
Drew Hoener
d041191ff3
feat(span) Add missing spangroup functions ( #2379 )
2021-07-18 21:44:27 -04:00
Neo
fe461caf7e
feat(img) add img_size property ( #2284 )
...
* Fix image zooming causes unexpected object size.
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
* fix(img) invalidate size and layout on zoom and angle change
* fix(img) not self-repeating under some zoom level.
* minor fixes and refactoring
* docs(img) add img_size
Co-authored-by: Xu Xingliang <xuxingliang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-07-16 21:05:49 +02:00
Gabor Kiss-Vamosi
84c00862ae
docs minor typo fixes
2021-07-07 16:30:17 +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
wreyford
45eda2f664
Update win.md ( #2352 )
...
In the paragraph **Title and buttons**
should be lv_add_btn and not lv_add_btn_right
And in the prargraph **Events**
should also be lv_add_btn
2021-07-06 12:20:18 +02:00
Gabor Kiss-Vamosi
6e83d378e9
docs(keyboard) change LV_KEYBOARD_MODE_NUM
to LV_KEYBOARD_MODE_NUMBER
...
Fixes https://forum.lvgl.io/t/error-in-master-branch-documentation-for-lv-keyboard/6072/1
2021-07-01 14:12:57 +02:00
Gabor Kiss-Vamosi
1640b7fe08
Merge branch 'master' of https://github.com/lvgl/lvgl
2021-06-25 15:32:07 +02:00
Gabor Kiss-Vamosi
65673c0e15
docs(textarea) clarify the use of text selection bg_color
2021-06-25 15:31:57 +02:00
Gabor Kiss-Vamosi
e0ae2aa106
feat(chart) send LV_EVENT_DRAW_PART_BEGIN/END before/after the division line drawing section.
...
See https://forum.lvgl.io/t/how-to-add-minor-division-lines-to-a-chart/5366/15
2021-06-25 13:51:09 +02:00
embeddedt
255f7294d3
docs(keyboard) add note regarding event handler
2021-06-23 17:32:41 -04:00
dyktronix
7066c8fbbb
feat(spinbox ) add function to set cursor to specific position ( #2314 )
...
* Spinbox set cursor to specific position (funct.)
* changed exp10 to lv_pow(10
* Update lv_spinbox.c
resolved indentation
* Update spinbox.md
Added lv_spinbox_set_pos description
Co-authored-by: Sebastian Dyker <sebastian.dyker@walther-systemtechnik.com>
2021-06-17 13:43:19 +02:00
Rop Gonggrijp
c7169762a3
More Snapable --> Snappable replacements ( #2304 )
2021-06-09 16:33:27 +02:00
Rop Gonggrijp
d0aaacafb6
Spelling and other language fixes to documentation ( #2293 )
2021-06-09 15:10:35 +02:00
Themba Dube
c8e1876eda
fix(docs) more fixes
2021-05-31 14:14:58 -04:00
Gabor Kiss-Vamosi
d3022648dc
fix(docs) minor fixes
2021-05-31 19:42:53 +02:00
Gabor Kiss-Vamosi
98c3c8eb5c
fix some examples
2021-05-27 15:12:50 +02:00
Gabor Kiss-Vamosi
0cafde653d
feat(example) add style examples
2021-05-27 11:50:04 +02:00
Gabor Kiss-Vamosi
5b9329fd5d
fix(chart) various scatter chart related fixes
2021-05-24 21:45:05 +02:00
Gabor Kiss-Vamosi
46253b1286
docs minor fixes
2021-05-20 22:25:47 +02:00
Gabor Kiss-Vamosi
9a1eaea25d
docs add meter
2021-05-20 21:12:27 +02:00
guoweilkd
1241fe144b
rename span interface ( #2259 )
...
Co-authored-by: guowei15 <guowei15@xiaomi.com>
2021-05-20 14:47:46 +02:00
guoweilkd
e9d82d8336
docs(chart) fix typos ( #2263 )
...
Co-authored-by: guowei15 <guowei15@xiaomi.com>
2021-05-20 14:03:07 +02:00
Gabor Kiss-Vamosi
07fd3d2c96
feat(chart) add rename lv_chart_set_cursor_point to lv_chart_set_cursor_pos and add lv_chart_set_cursor_point to stick the cursor to a point
2021-05-20 12:43:27 +02:00
Gabor Kiss-Vamosi
5f0fe3a22c
fix(roller) make lv_roller_set_visible_row_count consider border width
2021-05-19 15:51:30 +02:00
Gabor Kiss-Vamosi
a77fbc574d
docs update some widgets' docs to v8
2021-05-19 13:51:32 +02:00
Gabor Kiss-Vamosi
643b6f52f0
docs add docs for some extra widgets
2021-05-18 14:25:17 +02:00
Gabor Kiss-Vamosi
c65dad1f93
docs fix links
2021-05-17 16:27:37 +02:00
Gabor Kiss-Vamosi
f97f87fdcd
docs link fixes
2021-05-17 16:17:20 +02:00
Gabor Kiss-Vamosi
5ca2481aa2
dics add calendar, chart, colorpicker
2021-05-17 15:37:35 +02:00
Gabor Kiss-Vamosi
20f76a1e16
docs minor fixes
2021-05-15 20:02:56 +02:00
guoweilkd
9fc556a90b
add span widget ( #2227 )
...
Co-authored-by: guowei15 <guowei15@xiaomi.com>
2021-05-13 17:42:33 +02:00
Gabor Kiss-Vamosi
e3425188f5
docs fix example paths
2021-05-13 16:13:47 +02:00
Gabor Kiss-Vamosi
47de5e1eda
docs fix link to examples
2021-05-13 16:04:49 +02:00
Gabor Kiss-Vamosi
1ed42a937f
docs finish the the core widgets
2021-05-13 15:39:26 +02:00
Gabor Kiss-Vamosi
f0dd603dbd
docs update some widgets to v8
2021-05-11 19:44:52 +02:00
Gabor Kiss-Vamosi
bad4450795
docs(roller) update to v8
2021-05-10 09:52:54 +02:00
Gabor Kiss-Vamosi
f5c70a06db
docs(examples) fix some examples
2021-05-07 21:23:09 +02:00
Gabor Kiss-Vamosi
05252b7fe8
docs update some mroe widgets to v8 + fix links
2021-05-03 17:32:57 +02:00