diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-12 01:14:58 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-12 01:14:58 +1300 |
commit | e93b9bbc02e2791f3a35b6f077fcbb8514c28aed (patch) | |
tree | 3661530027db6809a9cbad7b2477416009e00787 /src/c_fl_help_view.h | |
parent | 53aa8144851913994b963ed611cca8885b8f9a9e (diff) |
Refactored draw/handle methods in Widgets hierarchy, improved docs, added a few minor method bindings here and there
Diffstat (limited to 'src/c_fl_help_view.h')
-rw-r--r-- | src/c_fl_help_view.h | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/src/c_fl_help_view.h b/src/c_fl_help_view.h index b76d907..b16b344 100644 --- a/src/c_fl_help_view.h +++ b/src/c_fl_help_view.h @@ -8,27 +8,13 @@ #define FL_HELP_VIEW_GUARD - - typedef void* HELPVIEW; - - -extern "C" void help_view_set_draw_hook(HELPVIEW v, void * d); -extern "C" void fl_help_view_draw(HELPVIEW v); -extern "C" void help_view_set_handle_hook(HELPVIEW v, void * h); -extern "C" int fl_help_view_handle(HELPVIEW v, int e); - - - - extern "C" HELPVIEW new_fl_help_view(int x, int y, int w, int h, char * label); extern "C" void free_fl_help_view(HELPVIEW v); - - extern "C" void fl_help_view_clear_selection(HELPVIEW v); extern "C" void fl_help_view_select_all(HELPVIEW v); @@ -54,6 +40,7 @@ extern "C" int fl_help_view_get_scrollbar_size(HELPVIEW v); extern "C" void fl_help_view_set_scrollbar_size(HELPVIEW v, int s); extern "C" int fl_help_view_get_size(HELPVIEW v); extern "C" void fl_help_view_set_size(HELPVIEW v, int w, int h); +extern "C" void fl_help_view_resize(HELPVIEW v, int x, int y, int w, int h); extern "C" unsigned int fl_help_view_get_textcolor(HELPVIEW v); extern "C" void fl_help_view_set_textcolor(HELPVIEW v, unsigned int c); extern "C" int fl_help_view_get_textfont(HELPVIEW v); @@ -62,6 +49,10 @@ extern "C" int fl_help_view_get_textsize(HELPVIEW v); extern "C" void fl_help_view_set_textsize(HELPVIEW v, int s); +extern "C" void fl_help_view_draw(HELPVIEW v); +extern "C" int fl_help_view_handle(HELPVIEW v, int e); + + #endif |