Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

fl_ask.h

Go to the documentation of this file.
00001 /*
00002  * $Id: fl_ask.h,v 1.5 2003/06/23 17:17:39 space2 Exp $
00003  *
00004  * Extended Fast Light Toolkit (EFLTK)
00005  * Copyright (C) 2002-2003 by EDE-Team
00006  * WWW: http://www.sourceforge.net/projects/ede
00007  *
00008  * Fast Light Toolkit (FLTK)
00009  * Copyright (C) 1998-2003 by Bill Spitzak and others.
00010  * WWW: http://www.fltk.org
00011  *
00012  * This library is distributed under the GNU LIBRARY GENERAL PUBLIC LICENSE
00013  * version 2. See COPYING for details.
00014  *
00015  * Author : Mikko Lahteenmaki
00016  * Email  : mikko@fltk.net
00017  *
00018  * Please report all bugs and problems to "efltk-bugs@fltk.net"
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

Generated on Thu Jul 31 15:33:43 2003 for eFLTK by doxygen1.2.15