fix(docs): several minor doc fixes (#7652)
This commit is contained in:
@@ -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 <styles>`.
|
||||
To learn more about the states, read the related section of
|
||||
:ref:`styles_overview`.
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user