mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-31 07:56:23 +08:00
lv_obj_set_opa_scale: update comment
This commit is contained in:
@@ -1264,7 +1264,10 @@ void lv_obj_set_opa_scale_enable(lv_obj_t * obj, bool en)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the opa scale of an object
|
* Set the opa scale of an object.
|
||||||
|
* The opacity of this object and all it's children will be scaled down with this factor.
|
||||||
|
* `lv_obj_set_opa_scale_enable(obj, true)` needs to be called to enable it.
|
||||||
|
* (not for all children just for the parent where to start the opa scaling)
|
||||||
* @param obj pointer to an object
|
* @param obj pointer to an object
|
||||||
* @param opa_scale a factor to scale down opacity [0..255]
|
* @param opa_scale a factor to scale down opacity [0..255]
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -510,7 +510,10 @@ void lv_obj_set_parent_event(lv_obj_t * obj, bool en);
|
|||||||
void lv_obj_set_opa_scale_enable(lv_obj_t * obj, bool en);
|
void lv_obj_set_opa_scale_enable(lv_obj_t * obj, bool en);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the opa scale of an object
|
* Set the opa scale of an object.
|
||||||
|
* The opacity of this object and all it's children will be scaled down with this factor.
|
||||||
|
* `lv_obj_set_opa_scale_enable(obj, true)` needs to be called to enable it.
|
||||||
|
* (not for all children just for the parent where to start the opa scaling)
|
||||||
* @param obj pointer to an object
|
* @param obj pointer to an object
|
||||||
* @param opa_scale a factor to scale down opacity [0..255]
|
* @param opa_scale a factor to scale down opacity [0..255]
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user