chore: remove BOM and fix typos (#4685)
This commit is contained in:
@@ -53,7 +53,7 @@ Examples
|
||||
Docs
|
||||
~~~~
|
||||
|
||||
- docs(arduino): add note to not use lv_examles library `2f294aa <https://github.com/lvgl/lvgl/commit/2f294aa76c8fece98a4fa72304bc6f267ed2a228>`__
|
||||
- docs(arduino): add note to not use lv_examples library `2f294aa <https://github.com/lvgl/lvgl/commit/2f294aa76c8fece98a4fa72304bc6f267ed2a228>`__
|
||||
- docs: use a fixed commit of lv_web_emscripten `501230e <https://github.com/lvgl/lvgl/commit/501230e0fc95936199b3187d350873c3bb4a94e4>`__
|
||||
|
||||
CI and tests
|
||||
|
||||
@@ -1474,7 +1474,7 @@ EXT_LINKS_IN_WINDOW = NO
|
||||
|
||||
FORMULA_FONTSIZE = 10
|
||||
|
||||
# Use the FORMULA_TRANPARENT tag to determine whether or not the images
|
||||
# Use the FORMULA_TRANSPARENT tag to determine whether or not the images
|
||||
# generated for formulas are transparent PNGs. Transparent PNGs are not
|
||||
# supported properly for IE 6.0, but are supported on all modern browsers.
|
||||
#
|
||||
|
||||
@@ -88,7 +88,7 @@ The shell offers enabling/disabling of LVGL monkeys:
|
||||
uart$ lvgl monkey set <index> <inactive/active>
|
||||
|
||||
This is useful for checking your application for memory leaks and other bugs.
|
||||
Speaking of memory leaks, you can also aquire stats of the memory used by LVGL
|
||||
Speaking of memory leaks, you can also acquire stats of the memory used by LVGL
|
||||
|
||||
.. code:: shell
|
||||
|
||||
|
||||
@@ -70,10 +70,10 @@ in its cell. The possible values are:
|
||||
|
||||
- :c:enumerator:`LV_GRID_ALIGN_START`: means left on a horizontally and top vertically. (default)
|
||||
- :c:enumerator:`LV_GRID_ALIGN_END`: means right on a horizontally and bottom vertically
|
||||
- :c:enumerator:`LV_GRID_ALIGN_CENTER`: simply center ``colum_pos`` and ``row_pos``
|
||||
- :c:enumerator:`LV_GRID_ALIGN_CENTER`: simply center ``column_pos`` and ``row_pos``
|
||||
means the zero based index of the cell into the item should be placed.
|
||||
|
||||
``colum_span`` and ``row_span`` means how many tracks should the item
|
||||
``column_span`` and ``row_span`` means how many tracks should the item
|
||||
involve from the start cell. Must be >= 1.
|
||||
|
||||
Grid align
|
||||
|
||||
@@ -22,7 +22,7 @@ to get a string representation of the ID.
|
||||
Use custom ID generator
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Set `LV_USE_OBJ_ID_BUILTIN` to 0 in `lv_conf.h`. Below APIs needed to be impemented and
|
||||
Set `LV_USE_OBJ_ID_BUILTIN` to 0 in `lv_conf.h`. Below APIs needed to be implemented and
|
||||
linked to lvgl.
|
||||
|
||||
.. code:: c
|
||||
@@ -36,7 +36,7 @@ linked to lvgl.
|
||||
parameter ``class_p``. Note it may be different than ``obj->class_p`` which is the class
|
||||
currently being constructed.
|
||||
|
||||
:c:func:``lv_obj_free_id`` is called when object is deconstructed. Free any resource alloced in ``lv_obj_assign_id``.
|
||||
:c:func:``lv_obj_free_id`` is called when object is deconstructed. Free any resource allocated in ``lv_obj_assign_id``.
|
||||
|
||||
:c:func:``lv_obj_stringify_id`` converts id to a string representation. The string is stored in ``buf``.
|
||||
|
||||
|
||||
@@ -236,7 +236,7 @@ You can do this in the following way:
|
||||
/*Call this anywhere you want to refresh the dirty areas*/
|
||||
_lv_disp_refr_timer(NULL);
|
||||
|
||||
If you have multiple displays call :cpp:expr:`lv_disp_set_deafult(disp1)` to
|
||||
If you have multiple displays call :cpp:expr:`lv_disp_set_default(disp1)` to
|
||||
select the display to refresh before :cpp:expr:`_lv_disp_refr_timer(NULL)`.
|
||||
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ following parameters:
|
||||
- :cpp:enumerator:`LV_BTNMATRIX_CTRL_HIDDEN`: Makes a button hidden (hidden buttons still take up space in the layout, they are just not visible or clickable)
|
||||
- :cpp:enumerator:`LV_BTNMATRIX_CTRL_NO_REPEAT`: Disable repeating when the button is long pressed
|
||||
- :cpp:enumerator:`LV_BTNMATRIX_CTRL_DISABLED`: Makes a button disabled Like :cpp:enumerator:`LV_STATE_DISABLED` on normal objects
|
||||
- :cpp:enumerator:`LV_BTNMATRIX_CTRL_CHECKABLE`: Enable toggling of a button. I.e. :cpp:enumerator:`LV_STATE_CHECHED` will be added/removed as the button is clicked
|
||||
- :cpp:enumerator:`LV_BTNMATRIX_CTRL_CHECKABLE`: Enable toggling of a button. I.e. :cpp:enumerator:`LV_STATE_CHECKED` will be added/removed as the button is clicked
|
||||
- :cpp:enumerator:`LV_BTNMATRIX_CTRL_CHECKED`: Make the button checked. It will use the :cpp:enumerator:`LV_STATE_CHECHKED` styles.
|
||||
- :cpp:enumerator:`LV_BTNMATRIX_CTRL_CLICK_TRIG`: Enabled: send LV_EVENT_VALUE_CHANGE on CLICK, Disabled: send :cpp:enumerator:`LV_EVENT_VALUE_CHANGE` on PRESS
|
||||
- :cpp:enumerator:`LV_BTNMATRIX_CTRL_POPOVER`: Show the button label in a popover when pressing this key
|
||||
|
||||
@@ -43,7 +43,7 @@ common state add/clear function:
|
||||
.. code:: c
|
||||
|
||||
lv_obj_add_state(cb, LV_STATE_CHECKED); /*Make the checkbox checked*/
|
||||
lv_obj_remove_state(cb, LV_STATE_CHECKED); /*MAke the checkbox unchecked*/
|
||||
lv_obj_remove_state(cb, LV_STATE_CHECKED); /*Make the checkbox unchecked*/
|
||||
lv_obj_add_state(cb, LV_STATE_CHECKED | LV_STATE_DISABLED); /*Make the checkbox checked and disabled*/
|
||||
|
||||
To get whether the checkbox is checked or not use:
|
||||
|
||||
Reference in New Issue
Block a user