diff --git a/docs/details/base-widget/obj.rst b/docs/details/base-widget/obj.rst index 39e4ada02..0fc7a9d22 100644 --- a/docs/details/base-widget/obj.rst +++ b/docs/details/base-widget/obj.rst @@ -476,8 +476,8 @@ leave the other states untouched) use values can be used as well. E.g. :cpp:expr:`lv_obj_add_state(widget, part, LV_STATE_PRESSED | LV_PRESSED_CHECKED)`. -To learn more about the states read the related section of the -:ref:`Style overview `. +To learn more about the states, read the related section of +:ref:`styles_overview`. diff --git a/docs/details/base-widget/styles/style.rst b/docs/details/base-widget/styles/style.rst index 6dd55eb3e..31c3c690a 100644 --- a/docs/details/base-widget/styles/style.rst +++ b/docs/details/base-widget/styles/style.rst @@ -1,10 +1,10 @@ -.. _style_details: +.. _styles_overview: -============= -Style Details -============= +=============== +Styles Overview +=============== -Styles are used to set the appearance of Widgets. Styles in lvgl are +Styles are used to set the appearance of Widgets. Styles in LVGL are heavily inspired by CSS. The concept in a nutshell is that a style is an :cpp:type:`lv_style_t` variable which can hold properties like border width, font, text color and so on. It's similar to a ``class`` in CSS. diff --git a/src/misc/lv_ll.c b/src/misc/lv_ll.c index ca1339ec5..9d86f1daa 100644 --- a/src/misc/lv_ll.c +++ b/src/misc/lv_ll.c @@ -129,7 +129,7 @@ void lv_ll_remove(lv_ll_t * ll_p, void * node_p) if(ll_p == NULL) return; if(lv_ll_get_head(ll_p) == node_p) { - /*The new head will be the node after 'n_act'*/ + /*The new head will be the node after 'node_p'*/ ll_p->head = lv_ll_get_next(ll_p, node_p); if(ll_p->head == NULL) { ll_p->tail = NULL; @@ -139,7 +139,7 @@ void lv_ll_remove(lv_ll_t * ll_p, void * node_p) } } else if(lv_ll_get_tail(ll_p) == node_p) { - /*The new tail will be the node before 'n_act'*/ + /*The new tail will be the node before 'node_p'*/ ll_p->tail = lv_ll_get_prev(ll_p, node_p); if(ll_p->tail == NULL) { ll_p->head = NULL;