summaryrefslogtreecommitdiff
path: root/src/c_fl_progress.h
blob: 0254bfd076d6097f5c644c3caadf4d882e741c1d (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


#ifndef FL_PROGRESS_GUARD
#define FL_PROGRESS_GUARD




typedef void* PROGRESS;




extern "C" void progress_set_draw_hook(PROGRESS p, void * d);
extern "C" void fl_progress_draw(PROGRESS p);
extern "C" void progress_set_handle_hook(PROGRESS p, void * h);
extern "C" int fl_progress_handle(PROGRESS p, int e);




extern "C" PROGRESS new_fl_progress(int x, int y, int w, int h, char* label);
extern "C" void free_fl_progress(PROGRESS p);




extern "C" float fl_progress_get_minimum(PROGRESS p);
extern "C" void fl_progress_set_minimum(PROGRESS p, float t);
extern "C" float fl_progress_get_maximum(PROGRESS p);
extern "C" void fl_progress_set_maximum(PROGRESS p, float t);
extern "C" float fl_progress_get_value(PROGRESS p);
extern "C" void fl_progress_set_value(PROGRESS p, float t);


#endif