Merge branch 'master' of git://github.com/BTAxis/naev into testmission
[naev.git] / src / dialogue.h
blobce1b39201f750a2cfb0e1705f7bec4069a5c8981
1 /*
2 * See Licensing and Copyright notice in naev.h
3 */
7 #ifndef DIALOGUE_H
8 # define DIALOGUE_H
12 * popups and alerts
14 void dialogue_alert( const char *fmt, ... ); /* does not pause execution */
15 void dialogue_msg( const char *caption, const char *fmt, ... );
16 void dialogue_msgRaw( const char *caption, const char *msg );
17 int dialogue_YesNo( const char *caption, const char *fmt, ... ); /* Yes = 1, No = 0 */
18 int dialogue_YesNoRaw( const char *caption, const char *msg );
19 void dialogue_makeChoice( const char *caption, const char *msg, int opts );
20 void dialogue_addChoice( const char *caption, const char *msg, const char *opt );
21 char *dialogue_runChoice (void);
22 char* dialogue_input( const char* title, int min, int max, const char *fmt, ... );
23 char* dialogue_inputRaw( const char* title, int min, int max, const char *msg );
26 * misc
28 int dialogue_isOpen (void);
31 #endif /* DIALOGUE_H */