BC_QPot Class Reference

#include <bcpot.h>

Inherits BC_Pot.

Inherited by ParametricFreq, PluginACLientFreq, ReverbLowPass1, ReverbLowPass2, and SynthFreqPot.

Collaboration diagram for BC_QPot:

Collaboration graph
[legend]

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

Detailed Description

Definition at line 120 of file bcpot.h.


Constructor & Destructor Documentation

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.

Here is the call graph for this function:

BC_QPot::~BC_QPot (  ) 

Definition at line 567 of file bcpot.C.


Member Function Documentation

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.

Here is the call graph for this function:

int BC_QPot::increase_value (  )  [virtual]

Reimplemented from BC_Pot.

Definition at line 571 of file bcpot.C.

References maxvalue, and value.

int BC_QPot::decrease_value (  )  [virtual]

Reimplemented from BC_Pot.

Definition at line 578 of file bcpot.C.

References minvalue, and value.

float BC_QPot::get_percentage (  )  [virtual]

Reimplemented from BC_Pot.

Definition at line 591 of file bcpot.C.

References maxvalue, minvalue, and value.

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

Reimplemented from BC_Pot.

Definition at line 596 of file bcpot.C.

References maxvalue, minvalue, and value.

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:


Field Documentation

int64_t BC_QPot::value [private]

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().


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

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