diff options
Diffstat (limited to 'src/c_fl_multiline_output.h')
-rw-r--r-- | src/c_fl_multiline_output.h | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/src/c_fl_multiline_output.h b/src/c_fl_multiline_output.h index 6517e21..43fee90 100644 --- a/src/c_fl_multiline_output.h +++ b/src/c_fl_multiline_output.h @@ -8,24 +8,17 @@ #define FL_MULTILINE_OUTPUT_GUARD +typedef void* MULTILINEOUTPUT; -typedef void* MULTILINE_OUTPUT; +extern "C" MULTILINEOUTPUT new_fl_multiline_output(int x, int y, int w, int h, char* label); +extern "C" void free_fl_multiline_output(MULTILINEOUTPUT i); - - -extern "C" void multiline_output_set_draw_hook(MULTILINE_OUTPUT i, void * d); -extern "C" void fl_multiline_output_draw(MULTILINE_OUTPUT i); -extern "C" void multiline_output_set_handle_hook(MULTILINE_OUTPUT i, void * h); -extern "C" int fl_multiline_output_handle(MULTILINE_OUTPUT i, int e); - - - - -extern "C" MULTILINE_OUTPUT new_fl_multiline_output(int x, int y, int w, int h, char* label); -extern "C" void free_fl_multiline_output(MULTILINE_OUTPUT i); +extern "C" void fl_multiline_output_draw(MULTILINEOUTPUT i); +extern "C" int fl_multiline_output_handle(MULTILINEOUTPUT i, int e); #endif + |