summaryrefslogtreecommitdiff
path: root/src/c_fl_output.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_output.h')
-rw-r--r--src/c_fl_output.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/c_fl_output.h b/src/c_fl_output.h
index 8684d05..002240c 100644
--- a/src/c_fl_output.h
+++ b/src/c_fl_output.h
@@ -4,16 +4,22 @@
#define FL_OUTPUT_GUARD
+
+
// using just "OUTPUT" doesn't compile for some reason
typedef void* OUTPUTT;
+
+
extern "C" void output_set_draw_hook(OUTPUTT i, void * d);
extern "C" void fl_output_draw(OUTPUTT i);
extern "C" void output_set_handle_hook(OUTPUTT i, void * h);
extern "C" int fl_output_handle(OUTPUTT i, int e);
+
+
extern "C" OUTPUTT new_fl_output(int x, int y, int w, int h, char* label);
extern "C" void free_fl_output(OUTPUTT i);