1 #ifndef BCPROGRESSBOX_H
2 #define BCPROGRESSBOX_H
4 #include "bcprogress.inc"
5 #include "bcprogressbox.inc"
10 class BC_ProgressBox
: public Thread
13 BC_ProgressBox(int x
, int y
, char *text
, int64_t length
);
14 virtual ~BC_ProgressBox();
16 friend class BC_ProgressWindow
;
19 int update(int64_t position
, int lock_it
); // return 1 if cancelled
20 int update_title(char *title
, int lock_it
);
21 int update_length(int64_t length
, int lock_it
);
22 int is_cancelled(); // return 1 if cancelled
28 BC_ProgressWindow
*pwindow
;
36 class BC_ProgressWindow
: public BC_Window
39 BC_ProgressWindow(int x
, int y
);
40 virtual ~BC_ProgressWindow();
42 int create_objects(char *text
, int64_t length
);
53 // c-file-style: "linux"