diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-21 21:04:54 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-21 21:04:54 +1300 |
commit | b4438b2fbe895694be98e6e8426103deefc51448 (patch) | |
tree | 760d86cd7c06420a91dad102cc9546aee73146fc /src/c_fl_help_dialog.cpp | |
parent | a4703a65b015140cd4a7a985db66264875ade734 (diff) |
Split public API and private implementation files into different directories
Diffstat (limited to 'src/c_fl_help_dialog.cpp')
-rw-r--r-- | src/c_fl_help_dialog.cpp | 105 |
1 files changed, 0 insertions, 105 deletions
diff --git a/src/c_fl_help_dialog.cpp b/src/c_fl_help_dialog.cpp deleted file mode 100644 index 850fb07..0000000 --- a/src/c_fl_help_dialog.cpp +++ /dev/null @@ -1,105 +0,0 @@ - - -// Programmed by Jedidiah Barber -// Released into the public domain - - -#include <FL/Fl_Help_Dialog.H> -#include "c_fl_help_dialog.h" - - - - -HELPDIALOG new_fl_help_dialog() { - Fl_Help_Dialog *d = new Fl_Help_Dialog(); - return d; -} - -void free_fl_help_dialog(HELPDIALOG d) { - delete static_cast<Fl_Help_Dialog*>(d); -} - - - - -void fl_help_dialog_show(HELPDIALOG d) { - static_cast<Fl_Help_Dialog*>(d)->show(); -} - -void fl_help_dialog_show2(HELPDIALOG d, int c, void * v) { - static_cast<Fl_Help_Dialog*>(d)->show(c, static_cast<char**>(v)); -} - -void fl_help_dialog_hide(HELPDIALOG d) { - static_cast<Fl_Help_Dialog*>(d)->hide(); -} - -int fl_help_dialog_visible(HELPDIALOG d) { - return static_cast<Fl_Help_Dialog*>(d)->visible(); -} - - - - -void fl_help_dialog_set_topline_number(HELPDIALOG d, int n) { - static_cast<Fl_Help_Dialog*>(d)->topline(n); -} - -void fl_help_dialog_set_topline_target(HELPDIALOG d, const char * t) { - static_cast<Fl_Help_Dialog*>(d)->topline(t); -} - - - - -void fl_help_dialog_load(HELPDIALOG d, const char * n) { - static_cast<Fl_Help_Dialog*>(d)->load(n); -} - -const char * fl_help_dialog_get_value(HELPDIALOG d) { - return static_cast<Fl_Help_Dialog*>(d)->value(); -} - -void fl_help_dialog_set_value(HELPDIALOG d, const char * v) { - static_cast<Fl_Help_Dialog*>(d)->value(v); -} - - - - -int fl_help_dialog_get_textsize(HELPDIALOG d) { - return static_cast<Fl_Help_Dialog*>(d)->textsize(); -} - -void fl_help_dialog_set_textsize(HELPDIALOG d, int s) { - static_cast<Fl_Help_Dialog*>(d)->textsize(s); -} - - - - -int fl_help_dialog_get_x(HELPDIALOG d) { - return static_cast<Fl_Help_Dialog*>(d)->x(); -} - -int fl_help_dialog_get_y(HELPDIALOG d) { - return static_cast<Fl_Help_Dialog*>(d)->y(); -} - -int fl_help_dialog_get_w(HELPDIALOG d) { - return static_cast<Fl_Help_Dialog*>(d)->w(); -} - -int fl_help_dialog_get_h(HELPDIALOG d) { - return static_cast<Fl_Help_Dialog*>(d)->h(); -} - -void fl_help_dialog_resize(HELPDIALOG d, int xx, int yy, int ww, int hh) { - static_cast<Fl_Help_Dialog*>(d)->resize(xx, yy, ww, hh); -} - -void fl_help_dialog_position(HELPDIALOG d, int xx, int yy) { - static_cast<Fl_Help_Dialog*>(d)->position(xx, yy); -} - - |