Changeset 9a07ee3 in mainline for uspace/lib/ui/include
- Timestamp:
- 2024-11-12T09:56:19Z (14 months ago)
- Branches:
- master
- Children:
- 12dd36c
- Parents:
- 0d00e53
- git-author:
- Jiri Svoboda <jiri@…> (2024-11-11 19:56:06)
- git-committer:
- Jiri Svoboda <jiri@…> (2024-11-12 09:56:19)
- File:
-
- 1 edited
-
uspace/lib/ui/include/types/ui/msgdialog.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/include/types/ui/msgdialog.h
r0d00e53 r9a07ee3 1 1 /* 2 * Copyright (c) 202 1Jiri Svoboda2 * Copyright (c) 2024 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 45 45 typedef struct ui_msg_dialog ui_msg_dialog_t; 46 46 47 enum { 48 /** Maximum number of buttons in message dialog. */ 49 ui_msg_dialog_maxbtn = 2 50 }; 51 52 /** Which choices the user can select from. */ 53 typedef enum { 54 /** OK (the default) */ 55 umdc_ok, 56 /** OK, Cancel */ 57 umdc_ok_cancel 58 } ui_msg_dialog_choice_t; 59 47 60 /** Message dialog parameters */ 48 61 typedef struct { … … 51 64 /** Message text */ 52 65 const char *text; 66 /** The choice that the user is given */ 67 ui_msg_dialog_choice_t choice; 53 68 } ui_msg_dialog_params_t; 54 69
Note:
See TracChangeset
for help on using the changeset viewer.
