diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2024-10-26 20:31:28 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2024-10-26 20:31:28 +1300 |
commit | c99849a1aa5df79119d7541e11eedc93202e6907 (patch) | |
tree | f49fc29277cbc78ccf1d9a29cf314bb766d83df0 /src/c_fl_help_view.h | |
parent | 1b1904f3e1578ffd60e09edfded113d4c8f50c41 (diff) |
Fl_Help_View now bound
Diffstat (limited to 'src/c_fl_help_view.h')
-rw-r--r-- | src/c_fl_help_view.h | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/src/c_fl_help_view.h b/src/c_fl_help_view.h new file mode 100644 index 0000000..b76d907 --- /dev/null +++ b/src/c_fl_help_view.h @@ -0,0 +1,67 @@ + + +// Programmed by Jedidiah Barber +// Released into the public domain + + +#ifndef FL_HELP_VIEW_GUARD +#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); + + +extern "C" int fl_help_view_find(HELPVIEW v, const char * s, int p); +extern "C" int fl_help_view_get_leftline(HELPVIEW v); +extern "C" void fl_help_view_set_leftline(HELPVIEW v, int t); +extern "C" int fl_help_view_get_topline(HELPVIEW v); +extern "C" void fl_help_view_set_topline(HELPVIEW v, int t); +extern "C" void fl_help_view_set_topline_target(HELPVIEW v, const char * t); + + +extern "C" const char * fl_help_view_directory(HELPVIEW v); +extern "C" const char * fl_help_view_filename(HELPVIEW v); +extern "C" int fl_help_view_load(HELPVIEW v, const char * f); +extern "C" const char * fl_help_view_title(HELPVIEW v); +extern "C" const char * fl_help_view_get_value(HELPVIEW v); +extern "C" void fl_help_view_set_value(HELPVIEW v, const char * t); +extern "C" void fl_help_view_link(HELPVIEW v, void * f); + + +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" 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); +extern "C" void fl_help_view_set_textfont(HELPVIEW v, int f); +extern "C" int fl_help_view_get_textsize(HELPVIEW v); +extern "C" void fl_help_view_set_textsize(HELPVIEW v, int s); + + +#endif + + |