Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

bcprogress.h

Go to the documentation of this file.
00001 #ifndef BCPROGRESS_H
00002 #define BCPROGRESS_H
00003 
00004 #include "bcsubwindow.h"
00005 
00006 class BC_ProgressBar : public BC_SubWindow
00007 {
00008 public:
00009         BC_ProgressBar(int x, int y, int w, int64_t length, int do_text = 1);
00010         ~BC_ProgressBar();
00011 
00012         int initialize();
00013         int reposition_window(int x, int y, int w = -1, int h = -1);
00014         void set_do_text(int value);
00015 
00016         int update(int64_t position);
00017         int update_length(int64_t length);
00018         int set_images();
00019 
00020 private:
00021         int draw(int force = 0);
00022 
00023         int64_t length, position;
00024         int pixel;
00025         int do_text;
00026         BC_Pixmap *images[2];
00027 };
00028 
00029 #endif

Generated on Sun Jan 8 13:26:32 2006 for Guicast-svn by  doxygen 1.4.4