r125: This commit was manufactured by cvs2svn to create tag 'r1_1_7-last'.
[cinelerra_cv/mob.git] / hvirtual / guicast / bcprogress.h
blob5f4d71e0370e6d8fad92071aad4357719b0703d3
1 #ifndef BCPROGRESS_H
2 #define BCPROGRESS_H
4 #include "bcsubwindow.h"
6 class BC_ProgressBar : public BC_SubWindow
8 public:
9 BC_ProgressBar(int x, int y, int w, long length, int do_text = 1);
10 ~BC_ProgressBar();
12 int initialize();
14 void set_do_text(int value);
16 int update(long position);
17 int update_length(long length);
18 int set_images();
20 private:
21 int draw(int force = 0);
23 long length, position;
24 int pixel;
25 int do_text;
26 BC_Pixmap *images[2];
29 #endif