#include <bcpot.h>
Inherits BC_Pot.
Inherited by ParametricFreq, PluginACLientFreq, ReverbLowPass1, ReverbLowPass2, and SynthFreqPot.

Public Member Functions | |
| BC_QPot (int x, int y, int64_t value, VFrame **data=0) | |
| ~BC_QPot () | |
| char * | get_caption () |
| int | increase_value () |
| int | decrease_value () |
| float | get_percentage () |
| int | percentage_to_value (float percentage) |
| int64_t | get_value () |
| void | update (int64_t value) |
Private Attributes | |
| int64_t | value |
| int64_t | minvalue |
| int64_t | maxvalue |
Definition at line 120 of file bcpot.h.
| BC_QPot::BC_QPot | ( | int | x, | |
| int | y, | |||
| int64_t | value, | |||
| VFrame ** | data = 0 | |||
| ) |
Definition at line 556 of file bcpot.C.
References Freq::fromfreq(), maxvalue, minvalue, and TOTALFREQS.

| char * BC_QPot::get_caption | ( | ) | [virtual] |
Reimplemented from BC_Pot.
Definition at line 585 of file bcpot.C.
References BC_Pot::caption, Freq::tofreq(), and value.

| int BC_QPot::increase_value | ( | ) | [virtual] |
| int BC_QPot::decrease_value | ( | ) | [virtual] |
| float BC_QPot::get_percentage | ( | ) | [virtual] |
| int BC_QPot::percentage_to_value | ( | float | percentage | ) | [virtual] |
| int64_t BC_QPot::get_value | ( | ) |
Definition at line 606 of file bcpot.C.
References Freq::tofreq(), and value.
Referenced by SynthFreqPot::handle_event(), ReverbLowPass2::handle_event(), ReverbLowPass1::handle_event(), ParametricFreq::handle_event(), and PluginACLientFreq::handle_event().

| void BC_QPot::update | ( | int64_t | value | ) |
Definition at line 611 of file bcpot.C.
References BC_Pot::draw(), and Freq::fromfreq().
Referenced by SynthBaseFreq::handle_event(), SynthWindow::update_gui(), and ParametricBandGUI::update_gui().

int64_t BC_QPot::value [private] |
Definition at line 141 of file bcpot.h.
Referenced by decrease_value(), get_caption(), get_percentage(), get_value(), increase_value(), and percentage_to_value().
int64_t BC_QPot::minvalue [private] |
Definition at line 141 of file bcpot.h.
Referenced by BC_QPot(), decrease_value(), get_percentage(), and percentage_to_value().
int64_t BC_QPot::maxvalue [private] |
Definition at line 141 of file bcpot.h.
Referenced by BC_QPot(), get_percentage(), increase_value(), and percentage_to_value().
1.5.5