Changes in uspace/lib/ui/src/fixed.c [7481ee19:46a47c0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/fixed.c
r7481ee19 r46a47c0 1 1 /* 2 * Copyright (c) 202 1Jiri Svoboda2 * Copyright (c) 2023 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 48 48 static ui_evclaim_t ui_fixed_ctl_kbd_event(void *, kbd_event_t *); 49 49 static ui_evclaim_t ui_fixed_ctl_pos_event(void *, pos_event_t *); 50 static void ui_fixed_ctl_unfocus(void * );50 static void ui_fixed_ctl_unfocus(void *, unsigned); 51 51 52 52 /** Push button control ops */ … … 262 262 * 263 263 * @param fixed Fixed layout 264 */ 265 void ui_fixed_unfocus(ui_fixed_t *fixed) 266 { 267 ui_fixed_elem_t *elem; 268 269 elem = ui_fixed_first(fixed); 270 while (elem != NULL) { 271 ui_control_unfocus(elem->control); 264 * @param nfocus Number of remaining foci 265 */ 266 void ui_fixed_unfocus(ui_fixed_t *fixed, unsigned nfocus) 267 { 268 ui_fixed_elem_t *elem; 269 270 elem = ui_fixed_first(fixed); 271 while (elem != NULL) { 272 ui_control_unfocus(elem->control, nfocus); 272 273 273 274 elem = ui_fixed_next(elem); … … 327 328 * 328 329 * @param arg Argument (ui_fixed_t *) 329 */ 330 void ui_fixed_ctl_unfocus(void *arg) 331 { 332 ui_fixed_t *fixed = (ui_fixed_t *) arg; 333 334 ui_fixed_unfocus(fixed); 330 * @param nfocus Number of remaining foci 331 */ 332 void ui_fixed_ctl_unfocus(void *arg, unsigned nfocus) 333 { 334 ui_fixed_t *fixed = (ui_fixed_t *) arg; 335 336 ui_fixed_unfocus(fixed, nfocus); 335 337 } 336 338
Note:
See TracChangeset
for help on using the changeset viewer.