Changeset 379cd75f in mainline for uspace/lib/ui/src/window.c
- Timestamp:
- 2021-04-01T21:04:11Z (4 years ago)
- Children:
- 0563982
- Parents:
- cd62879
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/window.c
rcd62879 r379cd75f 815 815 if (window->cb != NULL && window->cb->unfocus != NULL) 816 816 window->cb->unfocus(window, window->arg); 817 else 818 return ui_window_def_unfocus(window); 817 819 } 818 820 … … 850 852 * 851 853 * @param window Window 852 * @return EOK on success or an error code853 854 */ 854 855 void ui_window_def_pos(ui_window_t *window, pos_event_t *pos) … … 856 857 if (window->control != NULL) 857 858 ui_control_pos_event(window->control, pos); 859 } 860 861 /** Default window unfocus routine. 862 * 863 * @param window Window 864 * @return EOK on success or an error code 865 */ 866 void ui_window_def_unfocus(ui_window_t *window) 867 { 868 if (window->control != NULL) 869 ui_control_unfocus(window->control); 858 870 } 859 871
Note:
See TracChangeset
for help on using the changeset viewer.