#include <bcslider.h>
Inherits BC_SubWindow.
Inherited by BC_FSlider, and BC_ISlider.

Definition at line 11 of file bcslider.h.
| BC_Slider::BC_Slider | ( | int | x, | |
| int | y, | |||
| int | pixels, | |||
| int | pointer_motion_range, | |||
| VFrame ** | images, | |||
| int | show_number, | |||
| int | vertical, | |||
| int | use_caption | |||
| ) |
Definition at line 17 of file bcslider.C.
References active, button_down, button_pixel, enabled, pixmaps, SLIDER_IMAGES, SLIDER_UP, and status.
| BC_Slider::~BC_Slider | ( | ) | [virtual] |
| virtual int BC_Slider::handle_event | ( | ) | [inline, virtual] |
Reimplemented in AFadePatch, ChannelEditEditFine, CWindowSlider, CWindowMaskValue, FormatQuality, VFadePatch, VWindowSlider, BC_ISlider, AgingScratchCount, AgingPitCount, AgingDustCount, BrightnessSlider, ChromaKeyThreshold, ChromaKeySlope, ChromaKeyMinBrightness, ChromaKeyMaxBrightness, ChromaKeySaturation, ChromaKeyMinSaturation, ChromaKeyTolerance, ChromaKeyInSlope, ChromaKeyOutSlope, ChromaKeyAlphaOffset, ChromaKeySpillThreshold, ChromaKeySpillAmount, ColorBalanceSlider, PaletteHue, PaletteSaturation, PaletteValue, PaletteRed, PaletteGreen, PaletteBlue, PaletteAlpha, SelTempAvgSlider, DenoiseVideoFrames, DespikeLevel, DespikeSlope, DiffKeyThreshold, DiffKeySlope, DownSampleSize, GainLevel, MaxSlider, GammaSlider, GradientInRadius, GradientOutRadius, HueSlider, SaturationSlider, ValueSlider, InterpolatePixelsOffset, SoundLevelDuration, LinearBlurSize, MotionBlurSize, OilRadius, OilRadius, PolarDepth, PolarAngle, DepthSlider, AngleSlider, SharpenSlider, RadialBlurSize, SharpenSlider, ShiftInterlaceOdd, ShiftInterlaceEven, TimeAvgSlider, TimeFrontInRadius, TimeFrontOutRadius, TimeFrontFrameRange, WaveAmplitude, WavePhase, WaveLength, WhirlAngle, WhirlPinch, WhirlRadius, AngleSlider, PinchSlider, RadiusSlider, YUVLevel, YSlider, USlider, VSlider, and ZoomBlurSize.
Definition at line 28 of file bcslider.h.
Referenced by button_press_event(), cursor_motion_event(), and keypress_event().
| int BC_Slider::initialize | ( | ) | [virtual] |
Reimplemented from BC_SubWindow.
Definition at line 55 of file bcslider.C.
References button_pixel, draw_face(), VFrame::get_h(), BC_WindowBase::get_resources(), BC_WindowBase::get_text_height(), VFrame::get_w(), BC_WindowBase::h, BC_Resources::horizontal_slider_data, images, BC_SubWindow::initialize(), pixels, set_images(), SLIDER_BG_UP, SMALLFONT, text_height, value_to_pixel(), vertical, BC_Resources::vertical_slider_data, and BC_WindowBase::w.

| int BC_Slider::get_span | ( | int | vertical | ) | [static] |
Definition at line 85 of file bcslider.C.
References VFrame::get_h(), BC_WindowBase::get_resources(), VFrame::get_w(), BC_Resources::horizontal_slider_data, and BC_Resources::vertical_slider_data.
Referenced by SUV::get_cwindow_sizes(), SUV::get_vwindow_sizes(), and BlondTheme::get_vwindow_sizes().

| int BC_Slider::get_button_pixels | ( | ) |
Definition at line 147 of file bcslider.C.
References BC_Pixmap::get_h(), BC_Pixmap::get_w(), pixmaps, SLIDER_UP, and vertical.
Referenced by BC_FSlider::value_to_pixel(), and BC_ISlider::value_to_pixel().

| virtual int BC_Slider::value_to_pixel | ( | ) | [inline, virtual] |
Reimplemented in BC_ISlider, and BC_FSlider.
Definition at line 33 of file bcslider.h.
Referenced by initialize(), and reposition_window().
| int BC_Slider::keypress_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 200 of file bcslider.C.
References active, BC_WindowBase::ctrl_down(), decrease_value(), decrease_value_big(), DOWN, draw_face(), enabled, BC_WindowBase::get_keypress(), handle_event(), increase_value(), increase_value_big(), LEFT, RIGHT, BC_WindowBase::shift_down(), show_value_tooltip(), and UP.

| int BC_Slider::cursor_enter_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 235 of file bcslider.C.
References draw_face(), BC_WindowBase::event_win, SLIDER_HI, SLIDER_UP, status, BC_WindowBase::tooltip_done, BC_WindowBase::top_level, and BC_WindowBase::win.

| int BC_Slider::cursor_leave_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 248 of file bcslider.C.
References draw_face(), BC_WindowBase::hide_tooltip(), SLIDER_HI, SLIDER_UP, and status.

| int BC_Slider::button_press_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 271 of file bcslider.C.
References activate(), button_down, BC_WindowBase::cursor_x, BC_WindowBase::cursor_y, BC_WindowBase::deactivate(), decrease_value(), draw_face(), BC_WindowBase::get_buttonpress(), handle_event(), BC_WindowBase::hide_tooltip(), increase_value(), init_selection(), BC_WindowBase::is_event_win(), show_value_tooltip(), SLIDER_DN, SLIDER_HI, status, BC_WindowBase::tooltip_on, and BC_WindowBase::top_level.

| int BC_Slider::button_release_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Reimplemented in ChannelEditEditFine.
Definition at line 311 of file bcslider.C.
References button_down, BC_WindowBase::cursor_inside(), draw_face(), BC_WindowBase::hide_tooltip(), SLIDER_HI, SLIDER_UP, status, and BC_WindowBase::top_level.
Referenced by ChannelEditEditFine::button_release_event().

| int BC_Slider::get_pointer_motion_range | ( | ) |
| int BC_Slider::cursor_motion_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 329 of file bcslider.C.
References button_down, button_pixel, BC_WindowBase::cursor_x, BC_WindowBase::cursor_y, draw_face(), get_caption(), handle_event(), BC_WindowBase::set_tooltip(), BC_WindowBase::top_level, and update_selection().

| int BC_Slider::repeat_event | ( | int64_t | repeat_id | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 162 of file bcslider.C.
References get_caption(), BC_WindowBase::get_resources(), BC_WindowBase::hide_tooltip(), keypress_tooltip_timer, BC_WindowBase::set_tooltip(), BC_WindowBase::show_tooltip(), SLIDER_DN, SLIDER_HI, status, BC_Resources::tooltip_delay, BC_WindowBase::tooltip_done, BC_WindowBase::tooltip_on, BC_WindowBase::tooltip_text, and BC_WindowBase::top_level.

| int BC_Slider::reposition_window | ( | int | x, | |
| int | y, | |||
| int | w = -1, |
|||
| int | h = -1 | |||
| ) |
Reimplemented from BC_WindowBase.
Definition at line 346 of file bcslider.C.
References button_pixel, draw_face(), BC_WindowBase::reposition_window(), and value_to_pixel().
Referenced by VPatchGUI::reposition(), APatchGUI::reposition(), VWindowGUI::resize_event(), and CWindowGUI::resize_event().

| int BC_Slider::activate | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 265 of file bcslider.C.
References active, BC_WindowBase::active_subwindow, and BC_WindowBase::top_level.
Referenced by button_press_event(), and VWindowGUI::create_objects().
| int BC_Slider::deactivate | ( | ) | [virtual] |
| virtual int BC_Slider::increase_value | ( | ) | [inline, virtual] |
Reimplemented in CWindowSlider, BC_ISlider, and BC_FSlider.
Definition at line 45 of file bcslider.h.
Referenced by button_press_event(), and keypress_event().
| virtual int BC_Slider::decrease_value | ( | ) | [inline, virtual] |
Reimplemented in CWindowSlider, BC_ISlider, and BC_FSlider.
Definition at line 46 of file bcslider.h.
Referenced by button_press_event(), and keypress_event().
| virtual int BC_Slider::increase_value_big | ( | ) | [inline, virtual] |
Reimplemented in BC_ISlider, and BC_FSlider.
Definition at line 47 of file bcslider.h.
Referenced by keypress_event().
| virtual int BC_Slider::decrease_value_big | ( | ) | [inline, virtual] |
Reimplemented in BC_ISlider, and BC_FSlider.
Definition at line 48 of file bcslider.h.
Referenced by keypress_event().
| virtual char* BC_Slider::get_caption | ( | ) | [inline, virtual] |
Reimplemented in BC_ISlider, BC_FSlider, BC_PercentageSlider, BrightnessSlider, ColorBalanceSlider, SaturationSlider, and ValueSlider.
Definition at line 49 of file bcslider.h.
References caption.
Referenced by cursor_motion_event(), draw_face(), repeat_event(), and show_value_tooltip().
| virtual int BC_Slider::init_selection | ( | int | cursor_x, | |
| int | cursor_y | |||
| ) | [inline, private, virtual] |
Reimplemented in BC_ISlider, and BC_FSlider.
Definition at line 61 of file bcslider.h.
Referenced by button_press_event().
| virtual int BC_Slider::update_selection | ( | int | cursor_x, | |
| int | cursor_y | |||
| ) | [inline, private, virtual] |
Reimplemented in BC_ISlider, and BC_FSlider.
Definition at line 62 of file bcslider.h.
Referenced by cursor_motion_event().
| int BC_Slider::set_images | ( | VFrame ** | images | ) | [private] |
Definition at line 137 of file bcslider.C.
References BC_WindowBase::BC_Pixmap, BC_WindowBase::parent_window, pixmaps, and SLIDER_IMAGES.
Referenced by initialize().
| int BC_Slider::draw_face | ( | ) | [private] |
Definition at line 97 of file bcslider.C.
References button_pixel, BC_WindowBase::draw_3segmenth(), BC_WindowBase::draw_3segmentv(), BC_WindowBase::draw_pixmap(), BC_WindowBase::draw_text(), BC_WindowBase::draw_top_background(), BC_WindowBase::flash(), get_caption(), BC_Pixmap::get_h(), BC_WindowBase::get_h(), BC_WindowBase::get_w(), BC_WindowBase::h, BC_WindowBase::parent_window, pixmaps, RED, BC_WindowBase::set_color(), BC_WindowBase::set_font(), SLIDER_IMAGES, SMALLFONT, status, use_caption, vertical, and BC_WindowBase::y.
Referenced by button_press_event(), button_release_event(), cursor_enter_event(), cursor_leave_event(), cursor_motion_event(), initialize(), keypress_event(), reposition_window(), BC_FSlider::update(), and BC_ISlider::update().

| void BC_Slider::show_value_tooltip | ( | ) | [private] |
Definition at line 153 of file bcslider.C.
References get_caption(), keypress_tooltip_timer, BC_WindowBase::set_tooltip(), and BC_WindowBase::show_tooltip().
Referenced by button_press_event(), and keypress_event().

friend class BC_ISlider [friend] |
Definition at line 24 of file bcslider.h.
friend class BC_FSlider [friend] |
Definition at line 25 of file bcslider.h.
friend class BC_PercentageSlider [friend] |
VFrame** BC_Slider::images [private] |
BC_Pixmap** BC_Slider::pixmaps [private] |
Definition at line 68 of file bcslider.h.
Referenced by BC_Slider(), draw_face(), get_button_pixels(), set_images(), and ~BC_Slider().
int BC_Slider::show_number [private] |
Definition at line 69 of file bcslider.h.
int BC_Slider::vertical [private] |
Definition at line 69 of file bcslider.h.
Referenced by draw_face(), get_button_pixels(), BC_FSlider::init_selection(), BC_ISlider::init_selection(), initialize(), BC_FSlider::update_selection(), BC_ISlider::update_selection(), BC_FSlider::value_to_pixel(), and BC_ISlider::value_to_pixel().
int BC_Slider::pointer_motion_range [private] |
Definition at line 69 of file bcslider.h.
Referenced by get_pointer_motion_range(), BC_FSlider::init_selection(), BC_ISlider::init_selection(), BC_FSlider::update_selection(), and BC_ISlider::update_selection().
int BC_Slider::pixels [private] |
int BC_Slider::keypress_tooltip_timer [private] |
int BC_Slider::button_pixel [private] |
Definition at line 71 of file bcslider.h.
Referenced by BC_Slider(), cursor_motion_event(), BC_FSlider::decrease_value(), BC_ISlider::decrease_value(), BC_FSlider::decrease_value_big(), BC_ISlider::decrease_value_big(), draw_face(), BC_FSlider::increase_value(), BC_ISlider::increase_value(), BC_FSlider::increase_value_big(), BC_ISlider::increase_value_big(), initialize(), reposition_window(), BC_FSlider::update(), BC_ISlider::update(), BC_FSlider::update_selection(), and BC_ISlider::update_selection().
int BC_Slider::status [private] |
Definition at line 72 of file bcslider.h.
Referenced by BC_Slider(), button_press_event(), button_release_event(), cursor_enter_event(), cursor_leave_event(), draw_face(), and repeat_event().
int BC_Slider::button_down [private] |
Reimplemented from BC_WindowBase.
Definition at line 73 of file bcslider.h.
Referenced by BC_Slider(), button_press_event(), button_release_event(), and cursor_motion_event().
int BC_Slider::min_pixel [private] |
Definition at line 74 of file bcslider.h.
Referenced by BC_FSlider::init_selection(), BC_ISlider::init_selection(), BC_FSlider::update_selection(), and BC_ISlider::update_selection().
int BC_Slider::max_pixel [private] |
Definition at line 74 of file bcslider.h.
Referenced by BC_FSlider::init_selection(), and BC_ISlider::init_selection().
int BC_Slider::text_line [private] |
Definition at line 75 of file bcslider.h.
int BC_Slider::text_height [private] |
int BC_Slider::use_caption [private] |
char BC_Slider::caption[BCTEXTLEN] [private] |
Definition at line 77 of file bcslider.h.
Referenced by get_caption(), BC_PercentageSlider::get_caption(), BC_FSlider::get_caption(), and BC_ISlider::get_caption().
char BC_Slider::temp_tooltip_text[BCTEXTLEN] [private] |
Definition at line 78 of file bcslider.h.
int BC_Slider::active [private] |
Definition at line 79 of file bcslider.h.
Referenced by activate(), BC_Slider(), deactivate(), and keypress_event().
int BC_Slider::enabled [private] |
1.5.5