Allow showing message dialog as sheet.
This commit is contained in:
parent
a897d5b715
commit
dfbbaa9efb
4 changed files with 32 additions and 7 deletions
|
@ -10,13 +10,16 @@
|
|||
|
||||
namespace atom {
|
||||
|
||||
class NativeWindow;
|
||||
|
||||
enum MessageBoxType {
|
||||
MESSAGE_BOX_TYPE_NONE = 0,
|
||||
MESSAGE_BOX_TYPE_INFORMATION,
|
||||
MESSAGE_BOX_TYPE_WARNING
|
||||
};
|
||||
|
||||
int ShowMessageBox(MessageBoxType type,
|
||||
int ShowMessageBox(NativeWindow* parent_window,
|
||||
MessageBoxType type,
|
||||
const std::vector<std::string>& buttons,
|
||||
const std::string& title,
|
||||
const std::string& message,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue