FLTK 1.4.0
|
API for common dialogs. More...
Go to the source code of this file.
Enumerations | |
enum | Fl_Beep { FL_BEEP_DEFAULT = 0 , FL_BEEP_MESSAGE , FL_BEEP_ERROR , FL_BEEP_QUESTION , FL_BEEP_PASSWORD , FL_BEEP_NOTIFICATION } |
Defines the different system beeps available. More... | |
Functions | |
void void | fl_alert (const char *,...) __fl_attr((__format__(__printf__ |
void void int | fl_ask (const char *,...) __fl_attr((__format__(__printf__ |
void | fl_beep (int type=FL_BEEP_DEFAULT) |
Emits a system beep. More... | |
int | fl_choice (const char *q, const char *b0, const char *b1, const char *b2,...) __fl_attr((__format__(__printf__ |
int const char const char int | fl_choice_n (const char *q, const char *b0, const char *b1, const char *b2,...) __fl_attr((__format__(__printf__ |
int const char * | fl_input (const char *label, const char *deflt=0,...) __fl_attr((__format__(__printf__ |
int const char const char int const char * | fl_input (int maxchar, const char *label, const char *deflt=0,...) __fl_attr((__format__(__printf__ |
void | fl_message (const char *,...) __fl_attr((__format__(__printf__ |
void | fl_message_font (Fl_Font f, Fl_Fontsize s) |
void | fl_message_hotspot (int enable) |
Sets whether or not to move the message box used in many common dialogs like fl_message(), fl_alert(), fl_ask(), fl_choice(), fl_input(), fl_password() to follow the mouse pointer. More... | |
int | fl_message_hotspot (void) |
Gets whether or not to move the message box used in many common dialogs like fl_message(), fl_alert(), fl_ask(), fl_choice(), fl_input(), fl_password() to follow the mouse pointer. More... | |
int const char const char int const char const char Fl_Widget * | fl_message_icon () |
Gets the Fl_Box icon container of the current default dialog used in many common dialogs like fl_message(), fl_alert(), fl_ask(), fl_choice(), fl_input(), fl_password(). More... | |
void | fl_message_icon_label (const char *str) |
Sets the icon label of the dialog window used in many common dialogs. More... | |
void | fl_message_position (const int x, const int y, const int center=0) |
Sets the preferred position for the message box used in many common dialogs like fl_message(), fl_alert(), fl_ask(), fl_choice(), fl_input(), fl_password(). More... | |
void | fl_message_position (Fl_Widget &widget) |
void | fl_message_position (Fl_Widget *widget) |
Sets the preferred position for the message box used in many common dialogs like fl_message(), fl_alert(), fl_ask(), fl_choice(), fl_input(), fl_password(). More... | |
int | fl_message_position (int *x=0, int *y=0) |
Gets the preferred position for the message box used in many common dialogs like fl_message(), fl_alert(), fl_ask(), fl_choice(), fl_input(), fl_password(). More... | |
void | fl_message_title (const char *title) |
Sets the title of the dialog window used in many common dialogs. More... | |
void | fl_message_title_default (const char *title) |
Sets the default title of the dialog window used in many common dialogs. More... | |
int const char const char * | fl_password (const char *label, const char *deflt=0,...) __fl_attr((__format__(__printf__ |
int const char const char int const char const char * | fl_password (int maxchar, const char *label, const char *deflt=0,...) __fl_attr((__format__(__printf__ |
Variables | |
void void int | __deprecated__ |
const char * | fl_cancel |
string pointer used in common dialogs, you can change it to another language | |
const char * | fl_close |
string pointer used in common dialogs, you can change it to another language | |
Fl_Font | fl_message_font_ |
Fl_Fontsize | fl_message_size_ |
const char * | fl_no |
string pointer used in common dialogs, you can change it to another language | |
const char * | fl_ok |
string pointer used in common dialogs, you can change it to another language | |
const char * | fl_yes |
string pointer used in common dialogs, you can change it to another language | |
API for common dialogs.
enum Fl_Beep |
Defines the different system beeps available.
Some systems may play different sounds or use different sound volume depending on the Fl_Beep value. The implementation is platform dependent.
Enumerator | |
---|---|
FL_BEEP_DEFAULT | Default beep. |
FL_BEEP_MESSAGE | Message beep. |
FL_BEEP_ERROR | Error beep. |
FL_BEEP_QUESTION | Question beep. |
FL_BEEP_PASSWORD | Password beep. |
FL_BEEP_NOTIFICATION | Notification beep. |
|
inline |