diff options
Diffstat (limited to 'src/c_fl_multiline_input.h')
-rw-r--r-- | src/c_fl_multiline_input.h | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/src/c_fl_multiline_input.h b/src/c_fl_multiline_input.h index 773b180..ba4e723 100644 --- a/src/c_fl_multiline_input.h +++ b/src/c_fl_multiline_input.h @@ -8,24 +8,17 @@ #define FL_MULTILINE_INPUT_GUARD +typedef void* MULTILINEINPUT; -typedef void* MULTILINE_INPUT; +extern "C" MULTILINEINPUT new_fl_multiline_input(int x, int y, int w, int h, char* label); +extern "C" void free_fl_multiline_input(MULTILINEINPUT i); - - -extern "C" void multiline_input_set_draw_hook(MULTILINE_INPUT i, void * d); -extern "C" void fl_multiline_input_draw(MULTILINE_INPUT i); -extern "C" void multiline_input_set_handle_hook(MULTILINE_INPUT i, void * h); -extern "C" int fl_multiline_input_handle(MULTILINE_INPUT i, int e); - - - - -extern "C" MULTILINE_INPUT new_fl_multiline_input(int x, int y, int w, int h, char* label); -extern "C" void free_fl_multiline_input(MULTILINE_INPUT i); +extern "C" void fl_multiline_input_draw(MULTILINEINPUT i); +extern "C" int fl_multiline_input_handle(MULTILINEINPUT i, int e); #endif + |