Merge 27154b632c into dev
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
### New features
|
### New features
|
||||||
- feat(indev) allow input events to be passed to disabled objects
|
- feat(indev) allow input events to be passed to disabled objects
|
||||||
|
- feat(spinbox) add inline get_step function for MicroPython support
|
||||||
|
|
||||||
### Bugfixes
|
### Bugfixes
|
||||||
- fix(btnmatrix) fix lv_btnmatrix_get_active_btn_text() when used in a group
|
- fix(btnmatrix) fix lv_btnmatrix_get_active_btn_text() when used in a group
|
||||||
|
|||||||
@@ -135,6 +135,18 @@ bool lv_spinbox_get_rollover(lv_obj_t * spinbox);
|
|||||||
*/
|
*/
|
||||||
int32_t lv_spinbox_get_value(lv_obj_t * spinbox);
|
int32_t lv_spinbox_get_value(lv_obj_t * spinbox);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the spinbox step value (user has to convert to float according to its digit format)
|
||||||
|
* @param spinbox pointer to spinbox
|
||||||
|
* @return value integer step value of the spinbox
|
||||||
|
*/
|
||||||
|
static inline int32_t lv_spinbox_get_step(lv_obj_t * spinbox)
|
||||||
|
{
|
||||||
|
lv_spinbox_ext_t * ext = lv_obj_get_ext_attr(spinbox);
|
||||||
|
|
||||||
|
return ext->step;
|
||||||
|
}
|
||||||
|
|
||||||
/*=====================
|
/*=====================
|
||||||
* Other functions
|
* Other functions
|
||||||
*====================*/
|
*====================*/
|
||||||
|
|||||||
Reference in New Issue
Block a user