diff options
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 + |