lv_obj_set_opa_scale: update comment

This commit is contained in:
Gabor Kiss-Vamosi
2019-07-05 07:19:09 +02:00
parent 2dce4407c7
commit c021de5968
2 changed files with 8 additions and 2 deletions

View File

@@ -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);
/**
* 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 opa_scale a factor to scale down opacity [0..255]
*/