#include <bctoggle.h>
Inherits BC_SubWindow.
Inherited by ArrowButton, AutoPatch, AutoPatchOld, BC_CheckBox, BC_Label, BC_Radial, CPanelAntierase, CPanelCamera, CPanelCrop, CPanelErase, CPanelEyedrop, CPanelMagnify, CPanelMask, CPanelProj, CPanelProtect, CPanelTitleSafe, CPanelToolWindow, DrawPatch, DrawPatchOld, ExpandPatch, GangPatch, IBeamButton, KeyFrameButton, LabelGUI, LockLabelsButton, MeterShow, MutePatch, PlayPatch, PlayPatchOld, PluginOn, PluginShow, RecordPatch, and RecordPatchOld.

Definition at line 11 of file bctoggle.h.
| anonymous enum |
Definition at line 58 of file bctoggle.h.
| BC_Toggle::BC_Toggle | ( | int | x, | |
| int | y, | |||
| VFrame ** | data, | |||
| int | value, | |||
| char * | caption = "", |
|||
| int | bottom_justify = 0, |
|||
| int | font = MEDIUMFONT, |
|||
| int | color = -1 | |||
| ) |
Definition at line 13 of file bctoggle.C.
References bg_image, BC_Resources::default_text_color, enabled, BC_WindowBase::get_resources(), images, is_radial, select_drag, status, TOGGLE_CHECKED, TOGGLE_UP, and underline.

| BC_Toggle::~BC_Toggle | ( | ) | [virtual] |
| virtual int BC_Toggle::handle_event | ( | ) | [inline, virtual] |
Reimplemented in OSSEnable, APanelMute, APanelPlay, Interlaceautofix, AssetEditByteOrderLOHI, AssetEditByteOrderHILO, AssetEditSigned, CPanelMask, CPanelTitleSafe, CPanelErase, CPanelAntierase, CPanelProtect, CPanelMagnify, CPanelCamera, CPanelProj, CPanelCrop, CPanelEyedrop, CPanelToolWindow, CWindowMaskBeforePlugins, ArrowButton, IBeamButton, KeyFrameButton, LockLabelsButton, EXRUseAlpha, FileFormatByteOrderLOHI, FileFormatByteOrderHILO, FileFormatSigned, MOVConfigAudioToggle, MOVConfigVideoFixBitrate, MOVConfigVideoFixQuant, MOVConfigVideoCheckBox, MPEGFixedBitrate, MPEGFixedQuant, MPEGSeqCodes, OGGVorbisFixedBitrate, OGGVorbisVariableBitrate, OGGTheoraFixedBitrate, OGGTheoraFixedQuality, PNGUseAlpha, SndFileHILO, SndFileLOHI, VorbisFixedBitrate, VorbisVariableBitrate, PipeCheckBox, FormatAudio, FormatVideo, FormatToTracks, FormatMultiple, FormatDither, FormatSigned, FormatHILO, FormatLOHI, GWindowToggle, TimeFormatHMS, TimeFormatHMSF, TimeFormatSamples, TimeFormatFrames, TimeFormatHex, TimeFormatFeet, TimeFormatSeconds, MeterVUDB, MeterVUInt, ViewThumbnails, UseTipWindow, LabelToggle, NewTimeline, NewConcatenate, AppendNewTracks, EndofTracks, ResourcesOnly, OverwriteReel, MeterShow, NewAspectAuto, PlayPatchOld, RecordPatchOld, AutoPatchOld, DrawPatchOld, PrefsUseBRender, PrefsForceUniprocessor, PrefsRenderFarm, PrefsRenderFarmConsolidate, PrefsRenderFarmVFS, PlaybackViewFollows, PlaybackSoftwareTimer, PlaybackRealTime, VideoAsynchronous, VideoEveryFrame, PlaybackDeblock, PlaybackNearest, PlaybackBicubicBicubic, PlaybackBicubicBilinear, PlaybackBilinearBilinear, PlaybackInterpolateRaw, PlaybackWhiteBalanceRaw, PlaybackSubtitle, PluginACLientToggle, PluginOn, PluginShow, RecordStartType, RecordGUIFillFrames, RecordGUIMonitorVideo, RecordGUIMonitorAudio, ReverseInterlace, RecordRealTime, RecordSoftwareTimer, RecordSyncDrives, StillImageUseDuration, RecordToTracks, RenderRangeProject, RenderRangeSelection, RenderRangeInOut, ScaleAspectAuto, ScaleData, ScaleConstrain, ScaleAspectAuto, LabelGUI, TipDisable, VDeviceCheckBox, VWindowInPoint, VWindowOutPoint, BC_CheckBox, _1080to540Option, _720to480Order, _720to480Direction, AgingColor, AgingScratches, AgingPits, AgingDust, BandSlideIn, BandSlideOut, BandWipeIn, BandWipeOut, BlurA, BlurR, BlurG, BlurB, BlurVertical, BlurHorizontal, BrightnessLuma, ChromaKeyUseValue, ChromaKeyShowMask, ColorBalancePreserve, ColorBalanceLock, CompressorSmooth, DecimateDifference, DecimateAvgDifference, DeInterlaceOption, DeInterlaceAdaptive, DeInterlaceDominanceTop, DeInterlaceDominanceBottom, DenoiseMJPEGDeinterlace, DenoiseMJPEGModeInterlaced, DenoiseMJPEGModeProgressive, DenoiseMJPEGModeFast, SelTempAvgOffsetRadial, SelTempAvgMethodRadial, SelTempAvgParanoid, SelTempAvgNoSubtract, SelTempAvgMask, SelTempAvgStartKeyframe, DenoiseVideoToggle, DiffKeyDoValue, DownSampleToggle, FieldFrameTop, FieldFrameBottom, FlipToggle, FrameFieldTop, FrameFieldBottom, FrameFieldDouble, FrameFieldShift, FrameFieldAvg, FreeverbMode, FreezeFrameToggle, GammaAuto, GammaPlot, HistogramAuto, HistogramPlot, HistogramSplit, HistogramMode, InterpolateVideoKeyframes, InvertVideoEnable, InvertToggle, IrisSquareIn, IrisSquareOut, IVTCFieldOrder, IVTCAuto, IVTCPattern, LinearBlurToggle, TrackSingleFrame, TrackPreviousFrame, PreviousFrameSameBlock, MotionDrawVectors, AddTrackedFrameOffset, MotionGlobal, MotionRotate, NormalizeWindowSeparate, OilIntensity, OilIntensity, PerspectiveMode, PerspectiveDirection, AutomatedFn, SharpenInterlace, SharpenHorizontal, SharpenLuminance, RadialBlurToggle, ReframeRTStretch, ReframeRTDownsample, ReframeRTInterpolate, ReverseAudioEnabled, ReverseVideoEnabled, RGB601Direction, RotateToggle, RotateDrawPivot, RotateInterpolate, ScaleConstrain, ShapeWipeW2B, ShapeWipeB2W, ShapeWipeAntiAlias, ShapeWipePreserveAspectRatio, SharpenInterlace, SharpenHorizontal, SharpenLuminance, SlideLeft, SlideRight, SlideIn, SlideOut, ThresholdPlot, TimeAvgAccum, TimeAvgAvg, TimeAvgOr, TimeAvgParanoid, TimeAvgNoSubtract, TimeFrontInvert, TimeFrontShowGrayscale, TitleItalic, TitleBold, TitleStroke, TitleLoop, TitleTimecode, TitleLeft, TitleCenter, TitleRight, TitleTop, TitleMid, TitleBottom, VideoScopeShow709Limits, VideoScopeShow601Limits, VideoScopeShowIRELimits, VideoScopeDrawLinesInverse, WaveSmear, WaveBlacken, WaveReflective, AutomatedFn, WipeLeft, WipeRight, AutomatedFn, and ZoomBlurToggle.
Definition at line 23 of file bctoggle.h.
Referenced by button_press_event(), and button_release_event().
| int BC_Toggle::get_value | ( | ) |
Definition at line 378 of file bctoggle.C.
References value.
Referenced by ExpandPatch::button_press_event(), MutePatch::button_press_event(), DrawPatch::button_press_event(), GangPatch::button_press_event(), RecordPatch::button_press_event(), PlayPatch::button_press_event(), DrawPatchOld::cursor_moved_over(), RecordPatchOld::cursor_moved_over(), PlayPatchOld::cursor_moved_over(), FileYUV::get_parameters(), ZoomBlurToggle::handle_event(), WaveReflective::handle_event(), VideoScopeDrawLinesInverse::handle_event(), VideoScopeShowIRELimits::handle_event(), VideoScopeShow601Limits::handle_event(), VideoScopeShow709Limits::handle_event(), TitleTimecode::handle_event(), TitleLoop::handle_event(), TitleStroke::handle_event(), TitleItalic::handle_event(), TitleBold::handle_event(), TimeFrontShowGrayscale::handle_event(), TimeFrontInvert::handle_event(), TimeAvgNoSubtract::handle_event(), TimeAvgParanoid::handle_event(), TimeAvgOr::handle_event(), TimeAvgAvg::handle_event(), TimeAvgAccum::handle_event(), ThresholdPlot::handle_event(), ShapeWipePreserveAspectRatio::handle_event(), ShapeWipeAntiAlias::handle_event(), RotateDrawPivot::handle_event(), RGB601Direction::handle_event(), ReverseVideoEnabled::handle_event(), ReverseAudioEnabled::handle_event(), ReframeRTInterpolate::handle_event(), ReframeRTDownsample::handle_event(), ReframeRTStretch::handle_event(), RadialBlurToggle::handle_event(), SharpenLuminance::handle_event(), SharpenHorizontal::handle_event(), SharpenInterlace::handle_event(), OilIntensity::handle_event(), NormalizeWindowSeparate::handle_event(), MotionDrawVectors::handle_event(), MotionRotate::handle_event(), MotionGlobal::handle_event(), AddTrackedFrameOffset::handle_event(), LinearBlurToggle::handle_event(), IVTCAuto::handle_event(), IVTCFieldOrder::handle_event(), InvertToggle::handle_event(), InvertVideoEnable::handle_event(), InterpolateVideoKeyframes::handle_event(), HistogramSplit::handle_event(), HistogramPlot::handle_event(), HistogramAuto::handle_event(), GammaPlot::handle_event(), GammaAuto::handle_event(), FreezeFrameToggle::handle_event(), FreeverbMode::handle_event(), FlipToggle::handle_event(), DownSampleToggle::handle_event(), DiffKeyDoValue::handle_event(), DenoiseVideoToggle::handle_event(), SelTempAvgStartKeyframe::handle_event(), SelTempAvgMask::handle_event(), SelTempAvgNoSubtract::handle_event(), SelTempAvgParanoid::handle_event(), SelTempAvgMethodRadial::handle_event(), SelTempAvgOffsetRadial::handle_event(), DenoiseMJPEGModeFast::handle_event(), DenoiseMJPEGModeInterlaced::handle_event(), DenoiseMJPEGModeProgressive::handle_event(), DenoiseMJPEGDeinterlace::handle_event(), DeInterlaceDominanceBottom::handle_event(), DeInterlaceDominanceTop::handle_event(), DeInterlaceAdaptive::handle_event(), CompressorSmooth::handle_event(), ColorBalanceLock::handle_event(), ColorBalancePreserve::handle_event(), ChromaKeyShowMask::handle_event(), ChromaKeyUseValue::handle_event(), BrightnessLuma::handle_event(), BlurB::handle_event(), BlurG::handle_event(), BlurR::handle_event(), BlurA::handle_event(), BlurHorizontal::handle_event(), BlurVertical::handle_event(), BC_CheckBox::handle_event(), VDeviceCheckBox::handle_event(), TipDisable::handle_event(), ScaleAspectAuto::handle_event(), ScaleData::handle_event(), ScaleConstrain::handle_event(), RecordToTracks::handle_event(), StillImageUseDuration::handle_event(), RecordSyncDrives::handle_event(), RecordSoftwareTimer::handle_event(), RecordRealTime::handle_event(), ReverseInterlace::handle_event(), RecordGUIMonitorAudio::handle_event(), RecordGUIMonitorVideo::handle_event(), RecordGUIFillFrames::handle_event(), PluginShow::handle_event(), PluginOn::handle_event(), PluginACLientToggle::handle_event(), PlaybackSubtitle::handle_event(), VideoEveryFrame::handle_event(), VideoAsynchronous::handle_event(), PlaybackWhiteBalanceRaw::handle_event(), PlaybackInterpolateRaw::handle_event(), PlaybackRealTime::handle_event(), PlaybackSoftwareTimer::handle_event(), PlaybackViewFollows::handle_event(), PrefsRenderFarmVFS::handle_event(), PrefsRenderFarmConsolidate::handle_event(), PrefsForceUniprocessor::handle_event(), PrefsRenderFarm::handle_event(), PrefsUseBRender::handle_event(), DrawPatchOld::handle_event(), RecordPatchOld::handle_event(), PlayPatchOld::handle_event(), NewAspectAuto::handle_event(), MeterShow::handle_event(), OverwriteReel::handle_event(), UseTipWindow::handle_event(), ViewThumbnails::handle_event(), GWindowToggle::handle_event(), FormatLOHI::handle_event(), FormatHILO::handle_event(), FormatSigned::handle_event(), FormatDither::handle_event(), FormatMultiple::handle_event(), FormatToTracks::handle_event(), FormatVideo::handle_event(), FormatAudio::handle_event(), PipeCheckBox::handle_event(), PNGUseAlpha::handle_event(), MOVConfigVideoCheckBox::handle_event(), MOVConfigAudioToggle::handle_event(), FileFormatSigned::handle_event(), EXRUseAlpha::handle_event(), LockLabelsButton::handle_event(), KeyFrameButton::handle_event(), CWindowMaskBeforePlugins::handle_event(), CPanelTitleSafe::handle_event(), CPanelToolWindow::handle_event(), AssetEditSigned::handle_event(), Interlaceautofix::handle_event(), OSSEnable::handle_event(), Interlaceautofix::showhideotherwidgets(), TimeBar::update_highlights(), and TimeBar::update_labels().
| int BC_Toggle::set_value | ( | int | value, | |
| int | draw = 1 | |||
| ) |
Definition at line 383 of file bctoggle.C.
References draw_face(), status, TOGGLE_CHECKED, TOGGLE_CHECKEDHI, TOGGLE_UP, and TOGGLE_UPHI.
Referenced by ResourcesOnly::handle_event(), EndofTracks::handle_event(), AppendNewTracks::handle_event(), NewConcatenate::handle_event(), NewTimeline::handle_event(), PipePreset::handle_event(), CPanelToolWindow::set_shown(), PatchGUI::toggle_behavior(), update(), PluginShow::update(), PluginOn::update(), GWindowToggle::update(), FormatMultiple::update(), and EditPanel::update().

| void BC_Toggle::set_select_drag | ( | int | value | ) |
Definition at line 160 of file bctoggle.C.
References select_drag.
Referenced by DrawPatch::DrawPatch(), ExpandPatch::ExpandPatch(), GangPatch::GangPatch(), MutePatch::MutePatch(), PlayPatch::PlayPatch(), and RecordPatch::RecordPatch().
| int BC_Toggle::update | ( | int | value, | |
| int | draw = 1 | |||
| ) |
Definition at line 415 of file bctoggle.C.
References set_value().
Referenced by ExpandPatch::button_press_event(), MutePatch::button_press_event(), DrawPatch::button_press_event(), GangPatch::button_press_event(), RecordPatch::button_press_event(), PlayPatch::button_press_event(), RecordMonitorGUI::close_event(), DrawPatchOld::cursor_moved_over(), RecordPatchOld::cursor_moved_over(), PlayPatchOld::cursor_moved_over(), WipeRight::handle_event(), WipeLeft::handle_event(), TimeAvgOr::handle_event(), TimeAvgAvg::handle_event(), TimeAvgAccum::handle_event(), SlideOut::handle_event(), SlideIn::handle_event(), SlideRight::handle_event(), SlideLeft::handle_event(), ShapeWipeB2W::handle_event(), ShapeWipeW2B::handle_event(), ReframeRTInterpolate::handle_event(), ReframeRTDownsample::handle_event(), ReframeRTStretch::handle_event(), AutomatedFn::handle_event(), PreviousFrameSameBlock::handle_event(), TrackPreviousFrame::handle_event(), TrackSingleFrame::handle_event(), IVTCPattern::handle_event(), IrisSquareOut::handle_event(), IrisSquareIn::handle_event(), FrameFieldBottom::handle_event(), FrameFieldTop::handle_event(), FieldFrameBottom::handle_event(), FieldFrameTop::handle_event(), SelTempAvgMethodRadial::handle_event(), SelTempAvgOffsetRadial::handle_event(), DeInterlaceDominanceBottom::handle_event(), DeInterlaceDominanceTop::handle_event(), BandWipeOut::handle_event(), BandWipeIn::handle_event(), BandSlideOut::handle_event(), BandSlideIn::handle_event(), VideoEveryFrame::handle_event(), PlaybackInterpolateRaw::handle_event(), DrawPatchOld::handle_event(), RecordPatchOld::handle_event(), PlayPatchOld::handle_event(), MeterVUInt::handle_event(), FormatLOHI::handle_event(), FormatHILO::handle_event(), VorbisVariableBitrate::handle_event(), VorbisFixedBitrate::handle_event(), SndFileLOHI::handle_event(), SndFileHILO::handle_event(), OGGTheoraFixedQuality::handle_event(), OGGTheoraFixedBitrate::handle_event(), OGGVorbisVariableBitrate::handle_event(), OGGVorbisFixedBitrate::handle_event(), MPEGFixedQuant::handle_event(), MPEGFixedBitrate::handle_event(), MOVConfigVideoFixQuant::handle_event(), MOVConfigVideoFixBitrate::handle_event(), FileFormatByteOrderHILO::handle_event(), FileFormatByteOrderLOHI::handle_event(), IBeamButton::handle_event(), ArrowButton::handle_event(), AssetEditByteOrderHILO::handle_event(), AssetEditByteOrderLOHI::handle_event(), Patch::load(), SharpenMain::read_data(), MWindow::set_auto_keyframes(), _720to480Window::set_direction(), _720to480Window::set_first_field(), _1080to540Window::set_first_field(), MWindow::set_labels_follow_edits(), DeInterlaceWindow::set_mode(), CPanel::set_operation(), TitleWindow::update(), RGB601Window::update(), HistogramWindow::update(), GammaWindow::update(), SetFormatThread::update(), PlaybackPrefs::update(), PatchGUI::update(), InterfacePrefs::update(), FormatTools::update(), EditPanel::update(), CWindowMaskGUI::update(), FormatTools::update_driver(), SharpenMain::update_gui(), OilEffect::update_gui(), TimeBar::update_highlights(), TitleWindow::update_justification(), TimeBar::update_labels(), PerspectiveWindow::update_mode(), MotionWindow::update_mode(), HistogramWindow::update_mode(), DenoiseMJPEGWindow::update_mode(), RenderWindow::update_range_type(), CompressorWindow::update_textboxes(), and RotateWindow::update_toggles().

| void BC_Toggle::reposition_window | ( | int | x, | |
| int | y | |||
| ) |
Definition at line 420 of file bctoggle.C.
References draw_face(), and BC_WindowBase::reposition_window().
Referenced by Patch::flip_vertical(), TrackCanvas::refresh_plugintoggles(), LabelGUI::reposition(), PatchGUI::reposition(), EditPanel::reposition_buttons(), CPanel::reposition_buttons(), FormatTools::reposition_window(), VideoScopeWindow::resize_event(), TitleWindow::resize_event(), RecordMonitorGUI::resize_event(), Patch::set_pixel(), PluginShow::update(), and PluginOn::update().

| void BC_Toggle::enable | ( | ) |
Definition at line 226 of file bctoggle.C.
References draw_face(), enabled, and BC_WindowBase::parent_window.
Referenced by IVTCPattern::handle_event(), VideoEveryFrame::handle_event(), and PlaybackInterpolateRaw::handle_event().

| void BC_Toggle::disable | ( | ) |
Definition at line 232 of file bctoggle.C.
References draw_face(), enabled, and BC_WindowBase::parent_window.
Referenced by IVTCWindow::create_objects(), PlaybackPrefs::create_objects(), IVTCPattern::handle_event(), VideoEveryFrame::handle_event(), PlaybackInterpolateRaw::handle_event(), PlaybackWhiteBalanceRaw::PlaybackWhiteBalanceRaw(), and VideoAsynchronous::VideoAsynchronous().

| void BC_Toggle::set_status | ( | int | value | ) |
Definition at line 238 of file bctoggle.C.
References status.
Referenced by ExpandPatch::button_press_event(), MutePatch::button_press_event(), DrawPatch::button_press_event(), GangPatch::button_press_event(),