Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/src/fixed.c

    r46a47c0 r7481ee19  
    11/*
    2  * Copyright (c) 2023 Jiri Svoboda
     2 * Copyright (c) 2021 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    4848static ui_evclaim_t ui_fixed_ctl_kbd_event(void *, kbd_event_t *);
    4949static ui_evclaim_t ui_fixed_ctl_pos_event(void *, pos_event_t *);
    50 static void ui_fixed_ctl_unfocus(void *, unsigned);
     50static void ui_fixed_ctl_unfocus(void *);
    5151
    5252/** Push button control ops */
     
    262262 *
    263263 * @param fixed Fixed layout
    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);
     264 */
     265void 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);
    273272
    274273                elem = ui_fixed_next(elem);
     
    328327 *
    329328 * @param arg Argument (ui_fixed_t *)
    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);
     329 */
     330void ui_fixed_ctl_unfocus(void *arg)
     331{
     332        ui_fixed_t *fixed = (ui_fixed_t *) arg;
     333
     334        ui_fixed_unfocus(fixed);
    337335}
    338336
Note: See TracChangeset for help on using the changeset viewer.