BC_PercentagePot Class Reference

#include <bcpot.h>

Inherits BC_Pot.

Collaboration diagram for BC_PercentagePot:

Collaboration graph
[legend]

Public Member Functions

 BC_PercentagePot (int x, int y, float value, float minvalue, float maxvalue, VFrame **data=0)
 ~BC_PercentagePot ()
char * get_caption ()
int increase_value ()
int decrease_value ()
float get_percentage ()
float get_value ()
int percentage_to_value (float percentage)
void update (float value)

Private Attributes

float value
float minvalue
float maxvalue

Detailed Description

Definition at line 144 of file bcpot.h.


Constructor & Destructor Documentation

BC_PercentagePot::BC_PercentagePot ( int  x,
int  y,
float  value,
float  minvalue,
float  maxvalue,
VFrame **  data = 0 
)

Definition at line 627 of file bcpot.C.

BC_PercentagePot::~BC_PercentagePot (  ) 

Definition at line 640 of file bcpot.C.


Member Function Documentation

char * BC_PercentagePot::get_caption (  )  [virtual]

Reimplemented from BC_Pot.

Definition at line 658 of file bcpot.C.

References BC_Pot::caption, and get_percentage().

Here is the call graph for this function:

int BC_PercentagePot::increase_value (  )  [virtual]

Reimplemented from BC_Pot.

Definition at line 644 of file bcpot.C.

References maxvalue, and value.

int BC_PercentagePot::decrease_value (  )  [virtual]

Reimplemented from BC_Pot.

Definition at line 651 of file bcpot.C.

References minvalue, and value.

float BC_PercentagePot::get_percentage (  )  [virtual]

Reimplemented from BC_Pot.

Definition at line 664 of file bcpot.C.

References maxvalue, minvalue, and value.

Referenced by get_caption().

float BC_PercentagePot::get_value (  ) 

Definition at line 679 of file bcpot.C.

References value.

int BC_PercentagePot::percentage_to_value ( float  percentage  )  [virtual]

Reimplemented from BC_Pot.

Definition at line 669 of file bcpot.C.

References maxvalue, minvalue, and value.

void BC_PercentagePot::update ( float  value  ) 

Definition at line 684 of file bcpot.C.

References BC_Pot::draw().

Here is the call graph for this function:


Field Documentation

float BC_PercentagePot::value [private]

float BC_PercentagePot::minvalue [private]

Definition at line 164 of file bcpot.h.

Referenced by decrease_value(), get_percentage(), and percentage_to_value().

float BC_PercentagePot::maxvalue [private]

Definition at line 164 of file bcpot.h.

Referenced by get_percentage(), increase_value(), and percentage_to_value().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:14:45 2008 for Cinelerra by  doxygen 1.5.5