Changeset 112f70a in mainline for uspace/lib/ui/include


Ignore:
Timestamp:
2023-09-14T09:53:27Z (23 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8a6ebbb
Parents:
61643c8
git-author:
Jiri Svoboda <jiri@…> (2023-09-13 18:53:09)
git-committer:
Jiri Svoboda <jiri@…> (2023-09-14 09:53:27)
Message:

Allow menu entries to be disabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/include/ui/menuentry.h

    r61643c8 r112f70a  
    11/*
    2  * Copyright (c) 2022 Jiri Svoboda
     2 * Copyright (c) 2023 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    5151extern void ui_menu_entry_set_cb(ui_menu_entry_t *, ui_menu_entry_cb_t,
    5252    void *);
     53extern void ui_menu_entry_set_disabled(ui_menu_entry_t *, bool);
     54extern bool ui_menu_entry_is_disabled(ui_menu_entry_t *);
    5355extern ui_menu_entry_t *ui_menu_entry_first(ui_menu_t *);
    5456extern ui_menu_entry_t *ui_menu_entry_last(ui_menu_t *);
Note: See TracChangeset for help on using the changeset viewer.