blob: 6a606a5c8f96cb087785555b6fcd6f5229d71be7 (
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
37
38
39
|
#ifndef FL_CLOCK_OUTPUT_GUARD
#define FL_CLOCK_OUTPUT_GUARD
typedef void* CLOCK_OUTPUT;
extern "C" void clock_output_set_draw_hook(CLOCK_OUTPUT c, void * d);
extern "C" void fl_clock_output_draw(CLOCK_OUTPUT c);
extern "C" void clock_output_set_handle_hook(CLOCK_OUTPUT c, void * h);
extern "C" int fl_clock_output_handle(CLOCK_OUTPUT c, int e);
extern "C" CLOCK_OUTPUT new_fl_clock_output(int x, int y, int w, int h, char* label);
extern "C" void free_fl_clock_output(CLOCK_OUTPUT c);
extern "C" int fl_clock_output_get_hour(CLOCK_OUTPUT c);
extern "C" int fl_clock_output_get_minute(CLOCK_OUTPUT c);
extern "C" int fl_clock_output_get_second(CLOCK_OUTPUT c);
extern "C" ulong fl_clock_output_get_value(CLOCK_OUTPUT c);
extern "C" void fl_clock_output_set_value(CLOCK_OUTPUT c, ulong v);
extern "C" void fl_clock_output_set_value2(CLOCK_OUTPUT c, int h, int m, int s);
#endif
|