Changeset 9a07ee3 in mainline for uspace/lib/ui/private/msgdialog.h


Ignore:
Timestamp:
2024-11-12T09:56:19Z (4 months ago)
Author:
Jiri Svoboda <jiri@…>
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)
Message:

Add message dialog choice selection (OK, OK/Cancel)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/private/msgdialog.h

    r0d00e53 r9a07ee3  
    11/*
    2  * Copyright (c) 2021 Jiri Svoboda
     2 * Copyright (c) 2024 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    3838#define _UI_PRIVATE_MSGDIALOG_H
    3939
     40#include <types/ui/msgdialog.h>
     41#include <ui/pbutton.h>
     42#include <ui/window.h>
     43
    4044/** Actual structure of message dialog.
    4145 *
     
    4549        /** Dialog window */
    4650        struct ui_window *window;
    47         /** OK button */
    48         struct ui_pbutton *bok;
     51        /** Buttons */
     52        struct ui_pbutton *btn[ui_msg_dialog_maxbtn];
    4953        /** Message dialog callbacks */
    5054        struct ui_msg_dialog_cb *cb;
Note: See TracChangeset for help on using the changeset viewer.