diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-21 21:04:54 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-21 21:04:54 +1300 |
commit | b4438b2fbe895694be98e6e8426103deefc51448 (patch) | |
tree | 760d86cd7c06420a91dad102cc9546aee73146fc /body/c_fl_ask.h | |
parent | a4703a65b015140cd4a7a985db66264875ade734 (diff) |
Split public API and private implementation files into different directories
Diffstat (limited to 'body/c_fl_ask.h')
-rw-r--r-- | body/c_fl_ask.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/body/c_fl_ask.h b/body/c_fl_ask.h new file mode 100644 index 0000000..f68bc85 --- /dev/null +++ b/body/c_fl_ask.h @@ -0,0 +1,50 @@ + + +// Programmed by Jedidiah Barber +// Released into the public domain + + +#ifndef FL_ASK_GUARD +#define FL_ASK_GUARD + + +extern "C" const char * fl_ask_get_cancel(); +extern "C" void fl_ask_set_cancel(const char * v); +extern "C" const char * fl_ask_get_close(); +extern "C" void fl_ask_set_close(const char * v); +extern "C" const char * fl_ask_get_no(); +extern "C" void fl_ask_set_no(const char * v); +extern "C" const char * fl_ask_get_ok(); +extern "C" void fl_ask_set_ok(const char * v); +extern "C" const char * fl_ask_get_yes(); +extern "C" void fl_ask_set_yes(const char * v); + + +extern "C" void fl_ask_alert(const char * m); +extern "C" void fl_ask_beep(int b); +extern "C" int fl_ask_choice(const char * m, const char * a, const char * b, const char * c); +extern "C" int fl_ask_choice_n(const char * m, const char * a, const char * b, const char * c); +extern "C" const char * fl_ask_input(const char * m, const char * d); +extern "C" void fl_ask_message(const char * m); +extern "C" const char * fl_ask_password(const char * m, const char * d); + + +extern "C" int fl_ask_color_chooser(const char * n, double & r, double & g, double & b, int m); +extern "C" int fl_ask_color_chooser2(const char * n, uchar & r, uchar & g, uchar & b, int m); +extern "C" char * fl_ask_dir_chooser(const char * m, const char * d, int r); +extern "C" char * fl_ask_file_chooser(const char * m, const char * p, const char * d, int r); +extern "C" void fl_ask_file_chooser_callback(void(*cb)(const char *)); +extern "C" void fl_ask_file_chooser_ok_label(const char *l); + + +extern "C" int fl_ask_get_message_hotspot(void); +extern "C" void fl_ask_set_message_hotspot(int v); +extern "C" void fl_ask_message_font(int f, int s); +extern "C" void * fl_ask_message_icon(void); +extern "C" void fl_ask_message_title(const char * t); +extern "C" void fl_ask_message_title_default(const char * t); + + +#endif + + |