summaryrefslogtreecommitdiff
path: root/src/c_fl_tile.h
blob: 88e72d95a9a611f2dc940c22d752055efe6bbcd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32


#ifndef FL_TILE_GUARD
#define FL_TILE_GUARD




typedef void* TILE;




extern "C" inline void tile_set_draw_hook(TILE n, void * d);
extern "C" inline void fl_tile_draw(TILE n);
extern "C" inline void tile_set_handle_hook(TILE n, void * h);
extern "C" inline int fl_tile_handle(TILE n, int e);




extern "C" inline TILE new_fl_tile(int x, int y, int w, int h, char * label);
extern "C" inline void free_fl_tile(TILE t);




extern "C" inline void fl_tile_position(TILE t, int ox, int oy, int nx, int ny);


#endif