summaryrefslogtreecommitdiff
path: root/src/c_fl_round_clock.h
blob: 60684ad05adc59564f5b3d6dab44939a13aa805a (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
33
34
35
36


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


#ifndef FL_ROUND_CLOCK_GUARD
#define FL_ROUND_CLOCK_GUARD




typedef void* ROUND_CLOCK;




extern "C" void round_clock_set_draw_hook(ROUND_CLOCK c, void * d);
extern "C" void fl_round_clock_draw(ROUND_CLOCK c);
extern "C" void round_clock_set_handle_hook(ROUND_CLOCK c, void * h);
extern "C" int fl_round_clock_handle(ROUND_CLOCK c, int e);




extern "C" ROUND_CLOCK new_fl_round_clock(int x, int y, int w, int h, char* label);
extern "C" void free_fl_round_clock(ROUND_CLOCK c);




extern "C" void fl_round_clock_draw2(ROUND_CLOCK c, int x, int y, int w, int h);


#endif