Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

BProgressBar Class Reference

#include <BProgressBar.h>

Inheritance diagram for BProgressBar:

Inheritance graph
[legend]
Collaboration diagram for BProgressBar:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BProgressBar (BWidget *parent, const BRect &frame)
void setTotal (int total)
 Set total value.

int total ()
void setProgress (int progress)
int progress ()
virtual void draw (BImage &img)
 Draw the widget onto the given image.


Protected Attributes

int _progress
int _total

Constructor & Destructor Documentation

BProgressBar::BProgressBar BWidget   parent,
const BRect   frame
 


Member Function Documentation

virtual void BProgressBar::draw BImage   img [virtual]
 

Draw the widget onto the given image.

Reimplemented from BWidget.

int BProgressBar::progress   [inline]
 

void BProgressBar::setProgress int    progress
 

void BProgressBar::setTotal int    total
 

Set total value.

This destroys all tick information! Re-set ticks after calling this.

int BProgressBar::total   [inline]
 


Member Data Documentation

int BProgressBar::_progress [protected]
 

int BProgressBar::_total [protected]
 


The documentation for this class was generated from the following file:
Generated on Sat Dec 29 10:00:43 2007 for DSGUI by doxygen1.3-rc3