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

BC_ProgressBar Class Reference

#include <bcprogress.h>

Inheritance diagram for BC_ProgressBar:

BC_SubWindow BC_WindowBase BC_RelocatableWidget List of all members.

Public Member Functions

 BC_ProgressBar (int x, int y, int w, int64_t length, int do_text=1)
 ~BC_ProgressBar ()
int initialize ()
int reposition_window (int x, int y, int w=-1, int h=-1)
void set_do_text (int value)
int update (int64_t position)
int update_length (int64_t length)
int set_images ()

Private Member Functions

int draw (int force=0)

Private Attributes

int64_t length
int64_t position
int pixel
int do_text
BC_Pixmapimages [2]

Detailed Description

Definition at line 6 of file bcprogress.h.

Constructor & Destructor Documentation

BC_ProgressBar::BC_ProgressBar int  x,
int  y,
int  w,
int64_t  length,
int  do_text = 1

Definition at line 13 of file bcprogress.C.

BC_ProgressBar::~BC_ProgressBar  ) 

Definition at line 24 of file bcprogress.C.

Member Function Documentation

int BC_ProgressBar::draw int  force = 0  )  [private]

Definition at line 68 of file bcprogress.C.

int BC_ProgressBar::initialize  )  [virtual]

Reimplemented from BC_SubWindow.

Definition at line 30 of file bcprogress.C.

int BC_ProgressBar::reposition_window int  x,
int  y,
int  w = -1,
int  h = -1

Reimplemented from BC_WindowBase.

Definition at line 40 of file bcprogress.C.

void BC_ProgressBar::set_do_text int  value  ) 

Definition at line 48 of file bcprogress.C.

int BC_ProgressBar::set_images  ) 

Definition at line 53 of file bcprogress.C.

int BC_ProgressBar::update int64_t  position  ) 

Definition at line 96 of file bcprogress.C.

int BC_ProgressBar::update_length int64_t  length  ) 

Definition at line 103 of file bcprogress.C.

Member Data Documentation

int BC_ProgressBar::do_text [private]

Definition at line 25 of file bcprogress.h.

BC_Pixmap* BC_ProgressBar::images[2] [private]

Definition at line 26 of file bcprogress.h.

int64_t BC_ProgressBar::length [private]

Definition at line 23 of file bcprogress.h.

int BC_ProgressBar::pixel [private]

Definition at line 24 of file bcprogress.h.

int64_t BC_ProgressBar::position [private]

Definition at line 23 of file bcprogress.h.

The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:26:37 2006 for Guicast-svn by  doxygen 1.4.4