Changeset 0ae9e18 in mainline for uspace/lib/ui/include


Ignore:
Timestamp:
2025-03-09T12:03:24Z (5 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
da54714
Parents:
797ab95
Message:

Select shutdown action (power off / restart) in shutdown dialog.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/include/types/ui/selectdialog.h

    r797ab95 r0ae9e18  
    11/*
    2  * Copyright (c) 2023 Jiri Svoboda
     2 * Copyright (c) 2025 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    4444typedef struct ui_select_dialog ui_select_dialog_t;
    4545
     46/** Select dialog flags */
     47typedef enum {
     48        /** Topmost window */
     49        usdf_topmost = 0x1,
     50        /** Place to the center of the screen */
     51        usdf_center = 0x2
     52} ui_select_dialog_flags_t;
     53
    4654/** Select dialog parameters */
    4755typedef struct {
     
    5058        /** Prompt text */
    5159        const char *prompt;
     60        /** Flags */
     61        ui_select_dialog_flags_t flags;
    5262} ui_select_dialog_params_t;
    5363
Note: See TracChangeset for help on using the changeset viewer.