mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-27 20:57:01 +08:00
Update README.md
This commit is contained in:
committed by
GitHub
parent
884b0b8025
commit
d1bc187ec6
@@ -247,7 +247,7 @@ void btn_event_cb(lv_obj_t * btn, lv_event_t event)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||

|

|
||||||
|
|
||||||
### Button with styles
|
### Button with styles
|
||||||
Add styles to the previously button from the previous example
|
Add styles to the previously button from the previous example
|
||||||
@@ -275,7 +275,7 @@ lv_btn_set_style(btn, LV_BTN_STYLE_REL, &style_btn_rel); /*Set the button's r
|
|||||||
lv_btn_set_style(btn, LV_BTN_STYLE_PR, &style_btn_pr); /*Set the button's pressed style*/
|
lv_btn_set_style(btn, LV_BTN_STYLE_PR, &style_btn_pr); /*Set the button's pressed style*/
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### Slider and object alignment
|
### Slider and object alignment
|
||||||
```c
|
```c
|
||||||
@@ -307,7 +307,7 @@ void slider_event_cb(lv_obj_t * slider, lv_event_t event)
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### List and themes
|
### List and themes
|
||||||
```c
|
```c
|
||||||
@@ -358,7 +358,7 @@ static void list_event(lv_obj_t * btn, lv_event_t e)
|
|||||||
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||

|

|
||||||
|
|
||||||
### Use LittlevGL from Micropython
|
### Use LittlevGL from Micropython
|
||||||
Learn more about [Micropython](https://docs.littlevgl.com/en/html/get-started/micropython).
|
Learn more about [Micropython](https://docs.littlevgl.com/en/html/get-started/micropython).
|
||||||
|
|||||||
Reference in New Issue
Block a user