BC_ISlider Class Reference

#include <bcslider.h>

Inherits BC_Slider.

Inherited by AgingDustCount, AgingPitCount, AgingScratchCount, AngleSlider, AngleSlider, ChannelEditEditFine, ColorBalanceSlider, CWindowMaskValue, DenoiseVideoFrames, DepthSlider, DownSampleSize, FormatQuality, InterpolatePixelsOffset, LinearBlurSize, MotionBlurSize, PaletteHue, PinchSlider, RadialBlurSize, RadiusSlider, SelTempAvgSlider, SharpenSlider, SharpenSlider, ShiftInterlaceEven, ShiftInterlaceOdd, TimeAvgSlider, TimeFrontFrameRange, USlider, VFadePatch, VSlider, YSlider, and ZoomBlurSize.

Collaboration diagram for BC_ISlider:

Collaboration graph
[legend]

Public Member Functions

 BC_ISlider (int x, int y, int vertical, int pixels, int pointer_motion_range, int64_t minvalue, int64_t maxvalue, int64_t value, int use_caption=0, VFrame **data=0, int *output=0)
int update (int64_t value)
int update (int pointer_motion_range, int64_t value, int64_t minvalue, int64_t maxvalue)
int64_t get_value ()
int64_t get_length ()
int increase_value ()
int decrease_value ()
int increase_value_big ()
int decrease_value_big ()
virtual int handle_event ()
virtual char * get_caption ()

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

int64_t minvalue
int64_t maxvalue
int64_t value
int * output

Detailed Description

Definition at line 84 of file bcslider.h.


Constructor & Destructor Documentation

BC_ISlider::BC_ISlider ( int  x,
int  y,
int  vertical,
int  pixels,
int  pointer_motion_range,
int64_t  minvalue,
int64_t  maxvalue,
int64_t  value,
int  use_caption = 0,
VFrame **  data = 0,
int *  output = 0 
)

Definition at line 364 of file bcslider.C.


Member Function Documentation

int BC_ISlider::update ( int64_t  value  ) 

int BC_ISlider::update ( int  pointer_motion_range,
int64_t  value,
int64_t  minvalue,
int64_t  maxvalue 
)

Definition at line 416 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:

int64_t BC_ISlider::get_value (  ) 

int64_t BC_ISlider::get_length (  ) 

Definition at line 438 of file bcslider.C.

References maxvalue, and minvalue.

int BC_ISlider::increase_value (  )  [virtual]

Reimplemented from BC_Slider.

Definition at line 449 of file bcslider.C.

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

Here is the call graph for this function:

int BC_ISlider::decrease_value (  )  [virtual]

Reimplemented from BC_Slider.

Definition at line 457 of file bcslider.C.

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

Here is the call graph for this function:

int BC_ISlider::increase_value_big (  )  [virtual]

Reimplemented from BC_Slider.

Definition at line 465 of file bcslider.C.

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

Here is the call graph for this function:

int BC_ISlider::decrease_value_big (  )  [virtual]

Reimplemented from BC_Slider.

Definition at line 473 of file bcslider.C.

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

Here is the call graph for this function:

int BC_ISlider::handle_event (  )  [virtual]

char * BC_ISlider::get_caption (  )  [virtual]

Reimplemented from BC_Slider.

Reimplemented in ColorBalanceSlider.

Definition at line 443 of file bcslider.C.

References BC_Slider::caption, and value.

Referenced by VFadePatch::handle_event().

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

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

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

Reimplemented from BC_Slider.

Definition at line 497 of file bcslider.C.

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

Here is the call graph for this function:


Field Documentation

int64_t BC_ISlider::minvalue [private]

int64_t BC_ISlider::maxvalue [private]

int64_t BC_ISlider::value [private]

int* BC_ISlider::output [private]


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

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