diff options
Diffstat (limited to 'src/c_fl_output.h')
-rw-r--r-- | src/c_fl_output.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/c_fl_output.h b/src/c_fl_output.h new file mode 100644 index 0000000..da88cb1 --- /dev/null +++ b/src/c_fl_output.h @@ -0,0 +1,19 @@ + + +#ifndef FL_OUTPUT_GUARD +#define FL_OUTPUT_GUARD + + +// using just "OUTPUT" doesn't compile for some reason +typedef void* OUTPUTT; + + +extern "C" void output_set_draw_hook(OUTPUTT n, void * d); +extern "C" void fl_output_draw(OUTPUTT n); + +extern "C" OUTPUTT new_fl_output(int x, int y, int w, int h, char* label); +extern "C" void free_fl_output(OUTPUTT i); + + +#endif + |