Replace Tmem_nasm.asm with C++ code. Patch by pyro.
[Glide64.git] / messagebox.h
blob3ab60c11423ae6f191fa55da0ea11d6289c1aec1
1 /***************************************************************************
2 messagebox.h - description
3 -------------------
4 begin : Tue Nov 12 2002
5 copyright : (C) 2002 by blight
6 email : blight@Ashitaka
7 ***************************************************************************/
9 /***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
18 #ifndef __MESSAGEBOX_H__
19 #define __MESSAGEBOX_H__
21 #include <gtk/gtk.h>
23 /** flags **/
24 // The message box contains three push buttons: Abort, Retry, and Ignore.
25 #define MB_ABORTRETRYIGNORE (0x00000001)
26 // Microsoft® Windows® 2000/XP: The message box contains three push buttons: Cancel, Try Again, Continue. Use this message box type instead of MB_ABORTRETRYIGNORE.
27 #define MB_CANCELTRYCONTINUE (0x00000002)
28 // The message box contains one push button: OK. This is the default.
29 #define MB_OK (0x00000004)
30 // The message box contains two push buttons: OK and Cancel.
31 #define MB_OKCANCEL (0x00000008)
32 // The message box contains two push buttons: Retry and Cancel.
33 #define MB_RETRYCANCEL (0x00000010)
34 // The message box contains two push buttons: Yes and No.
35 #define MB_YESNO (0x00000020)
36 // The message box contains three push buttons: Yes, No, and Cancel.
37 #define MB_YESNOCANCEL (0x00000040)
39 // An exclamation-point icon appears in the message box.
40 #define MB_ICONEXCLAMATION (0x00000100)
41 #define MB_ICONWARNING (0x00000100)
42 // An icon consisting of a lowercase letter i in a circle appears in the message box.
43 #define MB_ICONINFORMATION (0x00000200)
44 #define MB_ICONASTERISK (0x00000200)
45 // A question-mark icon appears in the message box.
46 #define MB_ICONQUESTION (0x00000400)
47 // A stop-sign icon appears in the message box.
48 #define MB_ICONSTOP (0x00000800)
49 #define MB_ICONERROR (0x00000800)
50 #define MB_ICONHAND (0x00000800)
52 #ifdef __cplusplus
53 extern "C"
55 #endif
56 // returns 1 if the first button was clicked, 2 for the second and 3 for the third
57 int messagebox( const char *title, int flags, const char *fmt, ... );
58 #ifdef __cplusplus
60 #endif
62 #endif // __MESSAGEBOX_H__