summaryrefslogtreecommitdiff
path: root/body/c_fl_progress.h
diff options
context:
space:
mode:
Diffstat (limited to 'body/c_fl_progress.h')
-rw-r--r--body/c_fl_progress.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/body/c_fl_progress.h b/body/c_fl_progress.h
new file mode 100644
index 0000000..d75e136
--- /dev/null
+++ b/body/c_fl_progress.h
@@ -0,0 +1,32 @@
+
+
+// Programmed by Jedidiah Barber
+// Released into the public domain
+
+
+#ifndef FL_PROGRESS_GUARD
+#define FL_PROGRESS_GUARD
+
+
+typedef void* PROGRESS;
+
+
+extern "C" PROGRESS new_fl_progress(int x, int y, int w, int h, char* label);
+extern "C" void free_fl_progress(PROGRESS p);
+
+
+extern "C" float fl_progress_get_minimum(PROGRESS p);
+extern "C" void fl_progress_set_minimum(PROGRESS p, float t);
+extern "C" float fl_progress_get_maximum(PROGRESS p);
+extern "C" void fl_progress_set_maximum(PROGRESS p, float t);
+extern "C" float fl_progress_get_value(PROGRESS p);
+extern "C" void fl_progress_set_value(PROGRESS p, float t);
+
+
+extern "C" void fl_progress_draw(PROGRESS p);
+extern "C" int fl_progress_handle(PROGRESS p, int e);
+
+
+#endif
+
+