Carlos Diaz
0b68840cd9
test(bar): add unit tests ( #2845 )
...
* test(bar) Add test for docummented default attributes
* test(bar) Update test for docummented default attributes
* test(bar): Indicator width tracks value
* test(bar) Calculate bar indicator width based on its style
Take padding, max value and bar value into consideraion
* test(bar) Indicator area gets smaller when increasing padding in LV_PART_MAIN style
* test(bar) Start value changes only when in range mode
* docs(bar): Add missing MODE to symbols
* test(bar) Start value should be smaller than current value
* test(bar): Test current value truncation to max and min value
* bar: Check bar mode in lv_bar_set_start_value
bar start_value can be changed only when bar is in LV_BAR_MODE_RANGE mode.
Return early when it's not.
* test(bar): Fix width calculation test
* bar: Initialize indic_area in constructor
* test(bar): Refactor indicator coordinate update test
* test(bar): Indicator negative value in symmetrical mode
* test(bar): Fix base direction
* test(bar): Indicator coord test for RTL base dir
2022-01-22 16:17:13 +01:00
Mariotaku
d33db6bb59
feat(sdl): support rounded images ( #3012 )
...
* added radius mask for rounded img
* improved mask composite
improved image zoom fidelity
* implementing sdl image radius
* low performance radius img drawing
* improved rounded image performance
* improved rounded image performance
* improved rounded image blending
* pixel perfect rounded image for SDL
* accurate drawing only
* supports rounded img for rect as well
* fixed mask check when zoomed
* surrounded rounded mask in lv_img with draw_complex check
* updated docs
* fixed build issue
* aware of clip_corner property
* reverted lv_img.c
* updated docs
2022-01-18 11:41:45 +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
9d3fb41896
feat(slider): consider ext_click_area on the knob with LV_OBJ_FLAG_ADV_HITTEST
2022-01-08 13:48:35 +01:00
Themba Dube
7ed1a5625a
docs(widgets) fix edit links
2022-01-06 10:30:02 -05:00
patricklaf
edb207e27c
chore(docs) fix typo in btnmatrix.md ( #2960 )
...
Fix typo.
2022-01-05 09:59:24 +01:00
embeddedt
b4986ab5dc
docs(switch) improve wording
...
Fixes #2927
2022-01-04 21:38:15 -05:00
embeddedt
eeee48b1c9
docs(bar) fix default range
...
Related: https://github.com/lvgl/lvgl/pull/2845#issuecomment-981288322
2021-11-29 10:59:44 -05:00
Gabor Kiss-Vamosi
9d3134b66e
feat(dropdown): keep the list on open/close for simpler styling
...
So far it was deleted on close, now it's just hidden/unhidden
2021-11-23 13:45:46 +01:00
ckielstra
b911b72f4b
docs: spelling fixes ( #2828 )
2021-11-23 10:50:18 +01:00
Vincent Hamp
bf6837f4c0
docs(events) rename LV_EVENT_APPLY to LV_EVENT_READY ( #2791 )
2021-11-11 16:51:17 +01:00
Gabor Kiss-Vamosi
749d1b3ec3
docs(table) describe keypad/encoder navigation
...
related to: #2746
2021-11-02 19:22:09 +01:00
Gabor Kiss-Vamosi
b3b3ffc2b3
feat(canvas) add lv_canvas_set_px_opa
...
fixes #2665
2021-10-19 13:44:40 +02:00
Gabor Kiss-Vamosi
dfa4f5cff5
feat(arc) add support to LV_OBJ_FLAG_ADV_HITTEST
2021-10-19 12:52:35 +02:00
Gabor Kiss-Vamosi
2a9b9e6e11
Update arc.md
2021-09-29 13:30:44 +02:00
Johannes Marbach
d57eb7614d
feat(btnmatrix/keyboard): add option to show popovers on button press ( #2537 )
...
This adds a new option that, when enabled, shows popovers when pressing
buttons, similar to how the system keyboards on Android and iOS behave.
2021-09-28 11:28:59 +02:00
Gabor Kiss-Vamosi
56ebb1a4c8
feat(textarea) remove the need of lv_textarea_set_align
...
It was used to position the text in one line text areas where the label is shorter then the text area itself.
However, setting min_width=100% in case of one line text area ensures that the label is at least as wide as
the text area. This way the normal text_align style property can be used too.
Fixes https://forum.lvgl.io/t/spinbox-text-centering-not-working-as-intended-expected/6762/4
2021-09-13 20:09:54 +02:00
Kevin Thibedeau
7d9fe20a0e
docs(all) Proofread, fix typos and add clarifications in confusing areas ( #2528 )
...
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-09-06 10:55:37 +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
embeddedt
51a82a17ff
docs(btnmatrix) fix typo with set_all/clear_all parameters
...
Fixes #2455
2021-08-16 11:02:42 -04: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
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
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
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
65673c0e15
docs(textarea) clarify the use of text selection bg_color
2021-06-25 15:31:57 +02:00
Rop Gonggrijp
d0aaacafb6
Spelling and other language fixes to documentation ( #2293 )
2021-06-09 15:10:35 +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
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
Gabor Kiss-Vamosi
3c39c39c9d
docs separate widgets into core and extra groups
2021-05-03 11:13:43 +02:00