docs(colorwheel) fix old API names (#2643)

`lv_colorwheel_set_color_mode` is now `lv_colorwheel_set_mode`
This commit is contained in:
Jose Commins
2021-10-06 17:55:09 +01:00
committed by GitHub
parent a625dc2206
commit 07688e6543
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
# Changelog # Changelog
## v8.1.0 (In progress) ## v8.1.0 (In progress)
- fix(docs) API colorwheel reference from 'lv_colorwheel_colour_set_mode...' to 'lv_colorwheel_set_mode...'
- Fixed lv_deinit declaration when LV_USE_GPU_SDL is enabled - Fixed lv_deinit declaration when LV_USE_GPU_SDL is enabled
- added sample lv_example_list_2.py - added sample lv_example_list_2.py
- lv_obj_move_up(obj) and lv_obj_move_down(obj) added. (#2461) - lv_obj_move_up(obj) and lv_obj_move_down(obj) added. (#2461)

View File

@@ -25,9 +25,9 @@ The color can be set manually with `lv_colorwheel_set_hue/saturation/value(color
### Color mode ### Color mode
The current color mode can be manually selected with `lv_colorwheel_set_color_mode(colorwheel, LV_COLORWHEEL_MODE_HUE/SATURATION/VALUE)`. The current color mode can be manually selected with `lv_colorwheel_set_mode(colorwheel, LV_COLORWHEEL_MODE_HUE/SATURATION/VALUE)`.
The color mode can be fixed (so as to not change with long press) using `lv_colorwheel_set_color_mode_fixed(colorwheel, true)` The color mode can be fixed (so as to not change with long press) using `lv_colorwheel_set_mode_fixed(colorwheel, true)`
## Events ## Events
- `LV_EVENT_VALUE_CHANGED` Sent if a new color is selected. - `LV_EVENT_VALUE_CHANGED` Sent if a new color is selected.