diff options
Diffstat (limited to 'body/c_fl_wizard.h')
-rw-r--r-- | body/c_fl_wizard.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/body/c_fl_wizard.h b/body/c_fl_wizard.h new file mode 100644 index 0000000..fb710ec --- /dev/null +++ b/body/c_fl_wizard.h @@ -0,0 +1,32 @@ + + +// Programmed by Jedidiah Barber +// Released into the public domain + + +#ifndef FL_WIZARD_GUARD +#define FL_WIZARD_GUARD + + +typedef void* WIZARD; + + +extern "C" WIZARD new_fl_wizard(int x, int y, int w, int h, char* label); +extern "C" void free_fl_wizard(WIZARD w); + + +extern "C" void fl_wizard_next(WIZARD w); +extern "C" void fl_wizard_prev(WIZARD w); + + +extern "C" void * fl_wizard_get_visible(WIZARD w); +extern "C" void fl_wizard_set_visible(WIZARD w, void * i); + + +extern "C" void fl_wizard_draw(WIZARD w); +extern "C" int fl_wizard_handle(WIZARD w, int e); + + +#endif + + |