BC_IPot Class Reference

#include <bcpot.h>

Inherits BC_Pot.

Inherited by BlockSize, BlurRadius, ChannelEditBright, ChannelEditColor, ChannelEditCommon, ChannelEditContrast, ChannelEditHue, ChannelEditWhiteness, DeInterlaceThreshold, DenoiseMJPEGCContrast, DenoiseMJPEGDelay, DenoiseMJPEGLContrast, DenoiseMJPEGRadius, DenoiseMJPEGSharp, DenoiseMJPEGThresh, DenoiseMJPEGThresh2, GlobalRange, MotionMagnitude, MotionReturnSpeed, OilRadius, PluginACLientILinear, ReverbDelayInit, ReverbRefLength, ReverbRefTotal, RotationRange, SynthOscGUIFreq, SynthOscGUIPhase, and UnsharpThreshold.

Collaboration diagram for BC_IPot:

Collaboration graph
[legend]

Public Member Functions

 BC_IPot (int x, int y, int64_t value, int64_t minvalue, int64_t maxvalue, VFrame **data=0)
 ~BC_IPot ()
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)
void update (int64_t value, int64_t minvalue, int64_t maxvalue)

Private Attributes

int64_t value
int64_t minvalue
int64_t maxvalue

Detailed Description

Definition at line 96 of file bcpot.h.


Constructor & Destructor Documentation

BC_IPot::BC_IPot ( int  x,
int  y,
int64_t  value,
int64_t  minvalue,
int64_t  maxvalue,
VFrame **  data = 0 
)

Definition at line 472 of file bcpot.C.

BC_IPot::~BC_IPot (  ) 

Definition at line 485 of file bcpot.C.


Member Function Documentation

char * BC_IPot::get_caption (  )  [virtual]

Reimplemented from BC_Pot.

Definition at line 503 of file bcpot.C.

References BC_Pot::caption, and value.

int BC_IPot::increase_value (  )  [virtual]

Reimplemented from BC_Pot.

Definition at line 489 of file bcpot.C.

References maxvalue, and value.

int BC_IPot::decrease_value (  )  [virtual]

Reimplemented from BC_Pot.

Definition at line 496 of file bcpot.C.

References minvalue, and value.

float BC_IPot::get_percentage (  )  [virtual]

Reimplemented from BC_Pot.

Definition at line 509 of file bcpot.C.

References maxvalue, minvalue, and value.

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

Reimplemented from BC_Pot.

Definition at line 514 of file bcpot.C.

References maxvalue, minvalue, and value.

int64_t BC_IPot::get_value (  ) 

void BC_IPot::update ( int64_t  value  ) 

Definition at line 529 of file bcpot.C.

References BC_Pot::draw().

Referenced by UnsharpWindow::update(), OilEffect::update_gui(), MotionWindow::update_mode(), and SynthWindow::update_oscillators().

Here is the call graph for this function:

void BC_IPot::update ( int64_t  value,
int64_t  minvalue,
int64_t  maxvalue 
)

Definition at line 538 of file bcpot.C.

References BC_Pot::draw().

Here is the call graph for this function:


Field Documentation

int64_t BC_IPot::value [private]

Reimplemented in GlobalRange, and BlockSize.

Definition at line 117 of file bcpot.h.

Referenced by decrease_value(), get_caption(), get_percentage(), get_value(), increase_value(), and percentage_to_value().

int64_t BC_IPot::minvalue [private]

Definition at line 117 of file bcpot.h.

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

int64_t BC_IPot::maxvalue [private]

Definition at line 117 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:13:40 2008 for Cinelerra by  doxygen 1.5.5