mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 20:18:22 +08:00
format code
This commit is contained in:
parent
cd9235c45b
commit
aa602fa4dc
@ -2056,7 +2056,7 @@ bool_t widget_is_keyboard(widget_t* widget) {
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
if(widget_get_prop(widget, WIDGET_PROP_IS_KEYBOARD, &v) == RET_OK) {
|
||||
if (widget_get_prop(widget, WIDGET_PROP_IS_KEYBOARD, &v) == RET_OK) {
|
||||
return value_bool(&v);
|
||||
}
|
||||
|
||||
|
@ -950,7 +950,7 @@ ret_t edit_set_focus(widget_t* widget, bool_t focus) {
|
||||
edit->focus = focus;
|
||||
widget->focused = focus;
|
||||
|
||||
if(focus) {
|
||||
if (focus) {
|
||||
event_t e = event_init(EVT_FOCUS, widget);
|
||||
widget_dispatch(widget, &e);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user