00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00025 #ifndef _FL_ASK_H_
00026 #define _FL_ASK_H_
00027
00028 #include "Enumerations.h"
00029 #include "Fl_Font.h"
00030 #include "Fl_Style.h"
00031
00032 class FL_API Fl_Widget;
00033
00035 enum BeepTypes {
00036 FL_BEEP_DEFAULT = 0,
00037 FL_BEEP_MESSAGE,
00038 FL_BEEP_ERROR,
00039 FL_BEEP_QUESTION,
00040 FL_BEEP_PASSWORD,
00041 FL_BEEP_NOTIFICATION
00042 };
00043
00048 FL_API void fl_beep(int type = FL_BEEP_DEFAULT);
00049
00056 FL_API void fl_message(const char * msg,...);
00057
00064 FL_API void fl_alert(const char * msg,...);
00065
00078 FL_API int fl_ask(const char * msg,...);
00079
00090 FL_API int fl_choice(const char *q,const char *b0,const char *b1,const char *b2,...);
00091
00101 FL_API const char *fl_input(const char *label, const char *deflt = 0, ...);
00102
00111 FL_API const char *fl_password(const char *label, const char *deflt = 0, ...);
00112
00113 extern FL_API Fl_Named_Style* fl_icon_style;
00114 extern FL_API Fl_Named_Style* fl_message_style;
00115
00116 #endif