aboutsummaryrefslogtreecommitdiff
path: root/body/c_fl_box.h
blob: f0f8352048724818234d50f88d630e62aef60024 (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


//  Programmed by Jedidiah Barber
//  Released into the public domain


#ifndef FL_BOX_GUARD
#define FL_BOX_GUARD


extern "C" void fl_box_extra_init(void * adaobj, int x, int y, int w, int h, const char * label);


typedef void* BOX;


extern "C" BOX new_fl_box(int x, int y, int w, int h, char * label);
extern "C" BOX new_fl_box2(int k, int x, int y, int w, int h, char * label);
extern "C" void free_fl_box(BOX b);


extern "C" void fl_box_draw(BOX n);
extern "C" int fl_box_handle(BOX n, int e);


#endif