summaryrefslogtreecommitdiff
path: root/src/c_fl_progress.h
blob: 94e41493ec8c16796ed176cab44a0742be696690 (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" inline void progress_set_draw_hook(PROGRESS p, void * d);
extern "C" inline void fl_progress_draw(PROGRESS p);
extern "C" inline void progress_set_handle_hook(PROGRESS p, void * h);
extern "C" inline int fl_progress_handle(PROGRESS p, int e);




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




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


#endif