summaryrefslogtreecommitdiff
path: root/body/c_fl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'body/c_fl.cpp')
-rw-r--r--body/c_fl.cpp106
1 files changed, 106 insertions, 0 deletions
diff --git a/body/c_fl.cpp b/body/c_fl.cpp
new file mode 100644
index 0000000..50eed9e
--- /dev/null
+++ b/body/c_fl.cpp
@@ -0,0 +1,106 @@
+
+
+// Programmed by Jedidiah Barber
+// Released into the public domain
+
+
+#include <FL/Enumerations.H>
+#include <FL/Fl.H>
+#include "c_fl.h"
+
+
+
+
+const short fl_mod_command = FL_COMMAND >> 16;
+
+
+
+
+size_t c_pointer_size() {
+ return sizeof(void*);
+}
+
+
+
+
+unsigned int fl_enum_rgb_color(unsigned char r, unsigned char g, unsigned char b) {
+ return fl_rgb_color(r, g, b);
+}
+
+
+
+
+int fl_abi_check(int v) {
+ return Fl::abi_check(v);
+}
+
+int fl_abi_version() {
+ return Fl::abi_version();
+}
+
+int fl_api_version() {
+ return Fl::api_version();
+}
+
+double fl_version() {
+ return Fl::version();
+}
+
+
+
+
+void fl_awake() {
+ Fl::awake();
+}
+
+void fl_lock() {
+ Fl::lock();
+}
+
+void fl_unlock() {
+ Fl::unlock();
+}
+
+
+
+
+int fl_get_damage() {
+ return Fl::damage();
+}
+
+void fl_set_damage(int v) {
+ Fl::damage(v);
+}
+
+void fl_flush() {
+ Fl::flush();
+}
+
+void fl_redraw() {
+ Fl::redraw();
+}
+
+
+
+
+int fl_check() {
+ return Fl::check();
+}
+
+int fl_ready() {
+ return Fl::ready();
+}
+
+int fl_wait() {
+ return Fl::wait();
+}
+
+int fl_wait2(double s) {
+ return Fl::wait(s);
+}
+
+int fl_run() {
+ return Fl::run();
+}
+
+