summaryrefslogtreecommitdiff
path: root/c_fl_dialog.cpp
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-11-10 18:56:47 +1100
committerJed Barber <jjbarber@y7mail.com>2016-11-10 18:56:47 +1100
commitfaabff73b74307cdec73264116291857d679aef7 (patch)
treeac97da959e446e58a2e401b2a6ff98d05bc75ec5 /c_fl_dialog.cpp
parente0ee146d740146cd4c80de22d6bf6e204efadfa0 (diff)
Renamed popups to dialogs
Diffstat (limited to 'c_fl_dialog.cpp')
-rw-r--r--c_fl_dialog.cpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/c_fl_dialog.cpp b/c_fl_dialog.cpp
new file mode 100644
index 0000000..cb6d305
--- /dev/null
+++ b/c_fl_dialog.cpp
@@ -0,0 +1,32 @@
+
+
+#include <FL/fl_ask.H>
+#include <FL/Fl_File_Chooser.H>
+#include <FL/Fl_Color_Chooser.H>
+#include "c_fl_dialog.h"
+
+
+void dialog_fl_alert(const char * m) {
+ fl_alert(m);
+}
+
+
+int dialog_fl_choice(const char * m, const char * a, const char * b, const char * c) {
+ return fl_choice(m, a, b, c);
+}
+
+
+char * dialog_fl_file_chooser(const char * m, const char * p, const char * d, int r) {
+ return fl_file_chooser(m, p, d, r);
+}
+
+
+const char * dialog_fl_input(const char * m, const char * d) {
+ return fl_input(m, d);
+}
+
+
+void dialog_fl_message(const char * m) {
+ fl_message(m);
+}
+