BC_FSlider Class Reference

#include <bcslider.h>

Inherits BC_Slider.

Inherited by AFadePatch, BC_PercentageSlider, BrightnessSlider, ChromaKeyAlphaOffset, ChromaKeyInSlope, ChromaKeyMaxBrightness, ChromaKeyMinBrightness, ChromaKeyMinSaturation, ChromaKeyOutSlope, ChromaKeySaturation, ChromaKeySlope, ChromaKeySpillAmount, ChromaKeySpillThreshold, ChromaKeyThreshold, ChromaKeyTolerance, DespikeLevel, DespikeSlope, DiffKeySlope, DiffKeyThreshold, GainLevel, GammaSlider, GradientInRadius, GradientOutRadius, HueSlider, MaxSlider, OilRadius, PaletteAlpha, PaletteBlue, PaletteGreen, PaletteRed, PaletteSaturation, PaletteValue, PolarAngle, PolarDepth, SaturationSlider, SoundLevelDuration, TimeFrontInRadius, TimeFrontOutRadius, ValueSlider, WaveAmplitude, WaveLength, WavePhase, WhirlAngle, WhirlPinch, WhirlRadius, and YUVLevel.

Collaboration diagram for BC_FSlider:

Collaboration graph
[legend]

Public Member Functions

 BC_FSlider (int x, int y, int vertical, int pixels, int pointer_motion_range, float minvalue, float maxvalue, float value, int use_caption=0, VFrame **data=0)
int update (float value)
int update (int pointer_motion_range, float value, float minvalue, float maxvalue)
float get_value ()
float get_length ()
virtual int increase_value ()
virtual int decrease_value ()
virtual int increase_value_big ()
virtual int decrease_value_big ()
virtual char * get_caption ()
void set_precision (float value)
void set_pagination (float small_change, float big_change)

Private Member Functions

int value_to_pixel ()
int init_selection (int cursor_x, int cursor_y)
int update_selection (int cursor_x, int cursor_y)

Private Attributes

float minvalue
float maxvalue
float value
float precision
float small_change
float big_change

Friends

class BC_PercentageSlider

Detailed Description

Definition at line 118 of file bcslider.h.


Constructor & Destructor Documentation

BC_FSlider::BC_FSlider ( int  x,
int  y,
int  vertical,
int  pixels,
int  pointer_motion_range,
float  minvalue,
float  maxvalue,
float  value,
int  use_caption = 0,
VFrame **  data = 0 
)

Definition at line 540 of file bcslider.C.

References big_change, precision, and small_change.


Member Function Documentation

int BC_FSlider::update ( float  value  ) 

int BC_FSlider::update ( int  pointer_motion_range,
float  value,
float  minvalue,
float  maxvalue 
)

Definition at line 594 of file bcslider.C.

References BC_Slider::button_pixel, BC_Slider::draw_face(), and value_to_pixel().

Here is the call graph for this function:

float BC_FSlider::get_value (  ) 

Definition at line 607 of file bcslider.C.

References value.

Referenced by YUVLevel::handle_event(), WhirlRadius::handle_event(), WhirlPinch::handle_event(), WhirlAngle::handle_event(), WaveLength::handle_event(), WavePhase::handle_event(), WaveAmplitude::handle_event(), TimeFrontOutRadius::handle_event(), TimeFrontInRadius::handle_event(), PolarAngle::handle_event(), PolarDepth::handle_event(), SoundLevelDuration::handle_event(), ValueSlider::handle_event(), SaturationSlider::handle_event(), HueSlider::handle_event(), GradientOutRadius::handle_event(), GradientInRadius::handle_event(), GammaSlider::handle_event(), MaxSlider::handle_event(), GainLevel::handle_event(), DiffKeySlope::handle_event(), DiffKeyThreshold::handle_event(), DespikeSlope::handle_event(), DespikeLevel::handle_event(), PaletteAlpha::handle_event(), PaletteValue::handle_event(), PaletteSaturation::handle_event(), ChromaKeySpillAmount::handle_event(), ChromaKeySpillThreshold::handle_event(), ChromaKeyAlphaOffset::handle_event(), ChromaKeyOutSlope::handle_event(), ChromaKeyInSlope::handle_event(), ChromaKeyTolerance::handle_event(), ChromaKeyMinSaturation::handle_event(), ChromaKeySaturation::handle_event(), ChromaKeyMaxBrightness::handle_event(), ChromaKeyMinBrightness::handle_event(), ChromaKeySlope::handle_event(), ChromaKeyThreshold::handle_event(), BrightnessSlider::handle_event(), CWindowSlider::handle_event(), APatchGUI::synchronize_fade(), AFadePatch::update_edl(), VWindow::update_position(), and ColorWindow::update_rgb().

float BC_FSlider::get_length (  ) 

Definition at line 612 of file bcslider.C.

References maxvalue, and minvalue.

int BC_FSlider::increase_value (  )  [virtual]

Reimplemented from BC_Slider.

Reimplemented in CWindowSlider.

Definition at line 623 of file bcslider.C.

References BC_Slider::button_pixel, maxvalue, small_change, value, and value_to_pixel().

Here is the call graph for this function:

int BC_FSlider::decrease_value (  )  [virtual]

Reimplemented from BC_Slider.

Reimplemented in CWindowSlider.

Definition at line 631 of file bcslider.C.

References BC_Slider::button_pixel, minvalue, small_change, value, and value_to_pixel().

Here is the call graph for this function:

int BC_FSlider::increase_value_big (  )  [virtual]

Reimplemented from BC_Slider.

Definition at line 639 of file bcslider.C.

References big_change, BC_Slider::button_pixel, maxvalue, value, and value_to_pixel().

Here is the call graph for this function:

int BC_FSlider::decrease_value_big (  )  [virtual]

Reimplemented from BC_Slider.

Definition at line 647 of file bcslider.C.

References big_change, BC_Slider::button_pixel, minvalue, value, and value_to_pixel().

Here is the call graph for this function:

char * BC_FSlider::get_caption (  )  [virtual]

Reimplemented from BC_Slider.

Reimplemented in BC_PercentageSlider, BrightnessSlider, SaturationSlider, and ValueSlider.

Definition at line 617 of file bcslider.C.

References BC_Slider::caption, and value.

Referenced by AFadePatch::handle_event().

void BC_FSlider::set_precision ( float  value  ) 

void BC_FSlider::set_pagination ( float  small_change,
float  big_change 
)

Definition at line 715 of file bcslider.C.

Referenced by CWindowSlider::CWindowSlider(), and VWindowSlider::VWindowSlider().

int BC_FSlider::value_to_pixel (  )  [private, virtual]

int BC_FSlider::init_selection ( int  cursor_x,
int  cursor_y 
) [private, virtual]

int BC_FSlider::update_selection ( int  cursor_x,
int  cursor_y 
) [private, virtual]

Reimplemented from BC_Slider.

Definition at line 671 of file bcslider.C.

References BC_Slider::button_pixel, maxvalue, BC_Slider::min_pixel, minvalue, BC_Slider::pointer_motion_range, precision, Units::quantize(), value, value_to_pixel(), and BC_Slider::vertical.

Here is the call graph for this function:


Friends And Related Function Documentation

friend class BC_PercentageSlider [friend]

Reimplemented from BC_Slider.

Definition at line 132 of file bcslider.h.


Field Documentation

float BC_FSlider::minvalue [private]

float BC_FSlider::maxvalue [private]

float BC_FSlider::value [private]

float BC_FSlider::precision [private]

Definition at line 151 of file bcslider.h.

Referenced by BC_FSlider(), set_precision(), and update_selection().

float BC_FSlider::small_change [private]

Definition at line 152 of file bcslider.h.

Referenced by BC_FSlider(), decrease_value(), and increase_value().

float BC_FSlider::big_change [private]

Definition at line 152 of file bcslider.h.

Referenced by BC_FSlider(), decrease_value_big(), and increase_value_big().


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

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