diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2024-11-05 06:28:09 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2024-11-05 06:28:09 +1300 |
commit | 1e97ffcd6ec01eaa4b79d4903b721019e12657da (patch) | |
tree | 515cc256a34c5dbb65878b3d4a3de7cda29f318e /src/c_fl_help_dialog.h | |
parent | a6a1c9763c62b9aa8643b0c5b9937f3a930337b8 (diff) |
Fl_Help_Dialog bound
Diffstat (limited to 'src/c_fl_help_dialog.h')
-rw-r--r-- | src/c_fl_help_dialog.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/c_fl_help_dialog.h b/src/c_fl_help_dialog.h new file mode 100644 index 0000000..03846c2 --- /dev/null +++ b/src/c_fl_help_dialog.h @@ -0,0 +1,52 @@ + + +// Programmed by Jedidiah Barber +// Released into the public domain + + +#ifndef FL_HELP_DIALOG_GUARD +#define FL_HELP_DIALOG_GUARD + + + + +typedef void* HELPDIALOG; + + + + +extern "C" HELPDIALOG new_fl_help_dialog(); +extern "C" void free_fl_help_dialog(HELPDIALOG d); + + + + +extern "C" void fl_help_dialog_show(HELPDIALOG d); +extern "C" void fl_help_dialog_hide(HELPDIALOG d); +extern "C" int fl_help_dialog_visible(HELPDIALOG d); + + +extern "C" void fl_help_dialog_set_topline_number(HELPDIALOG d, int n); +extern "C" void fl_help_dialog_set_topline_target(HELPDIALOG d, const char * t); + + +extern "C" void fl_help_dialog_load(HELPDIALOG d, const char * n); +extern "C" const char * fl_help_dialog_get_value(HELPDIALOG d); +extern "C" void fl_help_dialog_set_value(HELPDIALOG d, const char * v); + + +extern "C" int fl_help_dialog_get_textsize(HELPDIALOG d); +extern "C" void fl_help_dialog_set_textsize(HELPDIALOG d, int s); + + +extern "C" int fl_help_dialog_get_x(HELPDIALOG d); +extern "C" int fl_help_dialog_get_y(HELPDIALOG d); +extern "C" int fl_help_dialog_get_w(HELPDIALOG d); +extern "C" int fl_help_dialog_get_h(HELPDIALOG d); +extern "C" void fl_help_dialog_resize(HELPDIALOG d, int xx, int yy, int ww, int hh); +extern "C" void fl_help_dialog_position(HELPDIALOG d, int xx, int yy); + + +#endif + + |