diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-07-13 07:15:45 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-07-13 07:15:45 +0000 |
commit | a3f4a3fd6753306fbac8727368749437f0ed3d10 (patch) | |
tree | c0d9dbea2af7ce982466a6d3449ade1c1d795ed3 /simple_dialog.h | |
parent | fe7540a68ce5ed3641d5f8049b91c89e58941e7e (diff) |
From Daniel Thompson: add additional message/alert box options to
display "Save", "Continue without Saving", and "Cancel", for the "do you
want to save?" messages.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11372 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'simple_dialog.h')
-rw-r--r-- | simple_dialog.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/simple_dialog.h b/simple_dialog.h index be0cb8734e..7d5a4c8bf5 100644 --- a/simple_dialog.h +++ b/simple_dialog.h @@ -2,7 +2,7 @@ * Definitions for alert box routines with toolkit-independent APIs but * toolkit-dependent implementations. * - * $Id: simple_dialog.h,v 1.15 2004/06/04 21:12:01 guy Exp $ + * $Id: simple_dialog.h,v 1.16 2004/07/13 07:15:42 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -55,7 +55,11 @@ typedef enum { /** display a "No" button */ #define ESD_BTN_NO 0x08 /** display a "Clear" button */ -#define ESD_BTN_CLEAR 0x10 +#define ESD_BTN_CLEAR 0x10 +/** display a "Save" button */ +#define ESD_BTN_SAVE 0x20 +/** display a "Continue without Saving" button */ +#define ESD_BTN_DONT_SAVE 0x40 /** Standard button combination "Ok" + "Cancel". */ #define ESD_BTNS_OK_CANCEL (ESD_BTN_OK|ESD_BTN_CANCEL) @@ -63,6 +67,8 @@ typedef enum { #define ESD_BTNS_YES_NO (ESD_BTN_YES|ESD_BTN_NO) /** Standard button combination "Yes" + "No" + "Cancel". */ #define ESD_BTNS_YES_NO_CANCEL (ESD_BTN_YES|ESD_BTN_NO|ESD_BTN_CANCEL) +/** Standard button combination "No" + "Cancel" + "Save". */ +#define ESD_BTNS_SAVE_DONTSAVE_CANCEL (ESD_BTN_DONT_SAVE|ESD_BTN_CANCEL|ESD_BTN_SAVE) #if __GNUC__ >= 2 /** Create and show a simple dialog. |