#include <bcpot.h>
Inherits BC_Pot.

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 |
Definition at line 144 of file bcpot.h.
| BC_PercentagePot::BC_PercentagePot | ( | int | x, | |
| int | y, | |||
| float | value, | |||
| float | minvalue, | |||
| float | maxvalue, | |||
| VFrame ** | data = 0 | |||
| ) |
| 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().

| int BC_PercentagePot::increase_value | ( | ) | [virtual] |
| int BC_PercentagePot::decrease_value | ( | ) | [virtual] |
| float BC_PercentagePot::get_percentage | ( | ) | [virtual] |
| int BC_PercentagePot::percentage_to_value | ( | float | percentage | ) | [virtual] |
| void BC_PercentagePot::update | ( | float | value | ) |
Definition at line 684 of file bcpot.C.
References BC_Pot::draw().

float BC_PercentagePot::value [private] |
Definition at line 164 of file bcpot.h.
Referenced by decrease_value(), get_percentage(), get_value(), increase_value(), and percentage_to_value().
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().
1.5.5