Skip to content

Commit b4502cf

Browse files
committed
libs/m5ui: Add m5ui.M5Checkbox support.
Signed-off-by: lbuque <lbuque@163.com>
1 parent 59b3dd6 commit b4502cf

File tree

12 files changed

+1303
-2
lines changed

12 files changed

+1303
-2
lines changed

docs/en/m5ui/checkbox.rst

Lines changed: 454 additions & 0 deletions
Large diffs are not rendered by default.

docs/en/m5ui/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Classes
3737
bar.rst
3838
button.rst
3939
calendar.rst
40+
checkbox.rst
4041
image.rst
4142
label.rst
4243
line.rst

docs/en/m5ui/label.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. currentmodule:: m5ui
22

3-
N5Label
3+
M5Label
44
=======
55

66
.. include:: ../refs/m5ui.label.ref

docs/en/refs/m5ui.checkbox.ref

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
2+
.. |align_to.png| image:: https://static-cdn.m5stack.com/mpy_docs/m5ui/checkbox/align_to.png
3+
.. |event.png| image:: https://static-cdn.m5stack.com/mpy_docs/m5ui/checkbox/event.png
4+
.. |get_height.png| image:: https://static-cdn.m5stack.com/mpy_docs/m5ui/checkbox/get_height.png
5+
.. |get_text.png| image:: https://static-cdn.m5stack.com/mpy_docs/m5ui/checkbox/get_text.png
6+
.. |get_width.png| image:: https://static-cdn.m5stack.com/mpy_docs/m5ui/checkbox/get_width.png
7+
.. |has_state.png| image:: https://static-cdn.m5stack.com/mpy_docs/m5ui/checkbox/has_state.png
8+
.. |set_bg_color.png| image:: https://static-cdn.m5stack.com/mpy_docs/m5ui/checkbox/set_bg_color.png
9+
.. |set_border_color.png| image:: https://static-cdn.m5stack.com/mpy_docs/m5ui/checkbox/set_border_color.png
10+
.. |set_default_size.png| image:: https://static-cdn.m5stack.com/mpy_docs/m5ui/checkbox/set_default_size.png
11+
.. |set_flag.png| image:: https://static-cdn.m5stack.com/mpy_docs/m5ui/checkbox/set_flag.png
12+
.. |set_height.png| image:: https://static-cdn.m5stack.com/mpy_docs/m5ui/checkbox/set_height.png
13+
.. |set_pos.png| image:: https://static-cdn.m5stack.com/mpy_docs/m5ui/checkbox/set_pos.png
14+
.. |set_size.png| image:: https://static-cdn.m5stack.com/mpy_docs/m5ui/checkbox/set_size.png
15+
.. |set_state.png| image:: https://static-cdn.m5stack.com/mpy_docs/m5ui/checkbox/set_state.png
16+
.. |set_style_radius.png| image:: https://static-cdn.m5stack.com/mpy_docs/m5ui/checkbox/set_style_radius.png
17+
.. |set_style_text_font.png| image:: https://static-cdn.m5stack.com/mpy_docs/m5ui/checkbox/set_style_text_font.png
18+
.. |set_text.png| image:: https://static-cdn.m5stack.com/mpy_docs/m5ui/checkbox/set_text.png
19+
.. |set_text_color.png| image:: https://static-cdn.m5stack.com/mpy_docs/m5ui/checkbox/set_text_color.png
20+
.. |set_width.png| image:: https://static-cdn.m5stack.com/mpy_docs/m5ui/checkbox/set_width.png
21+
.. |set_x.png| image:: https://static-cdn.m5stack.com/mpy_docs/m5ui/checkbox/set_x.png
22+
.. |set_y.png| image:: https://static-cdn.m5stack.com/mpy_docs/m5ui/checkbox/set_y.png
23+
.. |toggle_flag.png| image:: https://static-cdn.m5stack.com/mpy_docs/m5ui/checkbox/toggle_flag.png
24+
.. |toggle_state.png| image:: https://static-cdn.m5stack.com/mpy_docs/m5ui/checkbox/toggle_state.png
25+
26+
.. |cores3_checkbox_basic_example.png| image:: https://static-cdn.m5stack.com/mpy_docs/m5ui/checkbox/cores3_checkbox_basic_example.png
27+
28+
.. |cores3_checkbox_basic_example.m5f2| raw:: html
29+
30+
<a
31+
href="https://uiflow2.m5stack.com/?example=https://raw.githubusercontent.com/m5stack/uiflow-micropython/develop/examples/m5ui/checkbox/cores3_checkbox_basic_example.m5f2"
32+
target="_blank"
33+
>
34+
cores3_checkbox_basic_example.m5f2
35+
</a>

0 commit comments

Comments
 (0)