Home
last modified time | relevance | path

Searched refs:old_style (Results 1 – 3 of 3) sorted by relevance

/lvgl-latest/src/core/
Dlv_obj_style.h70 bool lv_obj_replace_style(lv_obj_t * obj, const lv_style_t * old_style, const lv_style_t * new_styl…
Dlv_obj_style.c157 bool lv_obj_replace_style(lv_obj_t * obj, const lv_style_t * old_style, const lv_style_t * new_styl… in lv_obj_replace_style() argument
164 if(!obj || !old_style || !new_style || (old_style == new_style)) { in lv_obj_replace_style()
185 (old_style != obj->styles[i].style)) { in lv_obj_replace_style()
/lvgl-latest/docs/details/base-widget/styles/
Dstyle.rst301 :cpp:expr:`lv_obj_replace_style(widget, old_style, new_style, selector)`. This
302 function will only replace ``old_style`` with ``new_style`` if the
304 ``old_style`` and ``new_style`` must not be ``NULL``. Separate functions exist for
306 ``old_style`` and ``selector`` exists multiple times in ``obj``\ 's