arch(driver): new driver architecture with new color format support
This commit is contained in:
@@ -13,7 +13,7 @@ void lv_example_msgbox_1(void)
|
||||
static const char * btns[] = {"Apply", "Close", ""};
|
||||
|
||||
lv_obj_t * mbox1 = lv_msgbox_create(NULL, "Hello", "This is a message box with two buttons.", btns, true);
|
||||
lv_obj_add_event_cb(mbox1, event_cb, LV_EVENT_VALUE_CHANGED, NULL);
|
||||
lv_obj_add_event(mbox1, event_cb, LV_EVENT_VALUE_CHANGED, NULL);
|
||||
lv_obj_center(mbox1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user