Changes in uspace/lib/ui/src/control.c [7481ee19:62223ec] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/control.c
r7481ee19 r62223ec 1 1 /* 2 * Copyright (c) 202 1Jiri Svoboda2 * Copyright (c) 2020 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 35 35 36 36 #include <errno.h> 37 #include <io/kbd_event.h>38 37 #include <io/pos_event.h> 39 38 #include <stdlib.h> … … 92 91 } 93 92 94 /** Deliver keyboard event to UI control.95 *96 * @param control Control97 * @param kbd_event Keyboard event98 * @return @c ui_claimed iff the event is claimed99 */100 ui_evclaim_t ui_control_kbd_event(ui_control_t *control, kbd_event_t *event)101 {102 if (control->ops->kbd_event != NULL)103 return control->ops->kbd_event(control->ext, event);104 else105 return ui_unclaimed;106 }107 108 93 /** Paint UI control. 109 94 *
Note:
See TracChangeset
for help on using the changeset viewer.