diff options
author | Jed Barber <jjbarber@y7mail.com> | 2018-03-19 22:01:34 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2018-03-19 22:01:34 +1100 |
commit | 24c57b72a3a8edb92d2861cd8c88bb81bd936ae9 (patch) | |
tree | 91220706ce7e2e0071a7f4bad5706484d833094e /src/c_fl_tile.h | |
parent | 94b1a846375b818d683c3808b7df521b1d3ab8f3 (diff) |
Added FLTK.Widgets.Groups.Tiled
Diffstat (limited to 'src/c_fl_tile.h')
-rw-r--r-- | src/c_fl_tile.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/c_fl_tile.h b/src/c_fl_tile.h new file mode 100644 index 0000000..b87e806 --- /dev/null +++ b/src/c_fl_tile.h @@ -0,0 +1,32 @@ + + +#ifndef FL_TILE_GUARD +#define FL_TILE_GUARD + + + + +typedef void* TILE; + + + + +extern "C" void tile_set_draw_hook(TILE n, void * d); +extern "C" void fl_tile_draw(TILE n); +extern "C" void tile_set_handle_hook(TILE n, void * h); +extern "C" int fl_tile_handle(TILE n, int e); + + + + +extern "C" TILE new_fl_tile(int x, int y, int w, int h, char * label); +extern "C" void free_fl_tile(TILE t); + + + + +extern "C" void fl_tile_position(TILE t, int ox, int oy, int nx, int ny); + + +#endif + |