#include <bctextbox.h>
Inherits BC_SubWindow.
Inherited by ADeviceIntBox, ADeviceTextBox, AssetEditFRate, AssetEditHeader, AssetEditILaceautofixoption, AssetEditILacefixmethod, AssetEditILacemode, AssetEditPathText, AssetEditRate, AssetEditReelName, AssetEditReelNumber, AssetEditTCStartTextBox, AVIVAttribute, BatchRenderEDLPath, BC_FileBoxDirectoryText, BC_FileBoxFilterText, BC_FileBoxTextBox, BC_PopupTextBoxText, BC_ScrollTextBoxText, BC_TumbleTextBoxText, BitsPopupText, ByteOrderText, CDRipTextValue, CDRipWindowDevice, ChannelEditEditSource, ChannelEditEditTitle, ClipEditComments, ClipEditTitle, CompressorDecay, CompressorReaction, CompressorTrigger, CompressorX, CompressorY, DayText, DBXGain, DBXSize, DecimateRate, DelayAudioTextBox, DelayVideoSlider, DenoiseVideoThreshold, EditPopupTitleText, ExportEDLPathText, FeatherEditsTextBox, FileFormatHeader, FileFormatRate, FormatChannels, FormatPathText, FormatPresetsText, FromTextBox, GammaText, IndexCount, IndexPathText, IndexSize, InterpolateVideoRate, IVTCAutoThreshold, IVTCOffset, LabelEditComments, LabelEditTitle, LengthTextBox, LoopAudioSamples, LoopVideoFrames, ManualGotoNumber, MaxText, MeterMaxDB, MeterMinDB, MotionBlockXText, MotionBlockYText, MPEGBitrate, NewAChannels, NewAspectH, NewAspectW, NewATracks, NewFrameRate, NewOutputH, NewOutputW, NewPresetsText, NewSampleRate, NewTrackH, NewTrackW, NewVChannels, NewVTracks, NormalizeWindowOverload, NudgePatch, OGGTheoraBitrate, OGGVorbisAvgBitrate, OGGVorbisMaxBitrate, OGGVorbisMinBitrate, PlaybackPreload, PluginGlobalPathText, PluginLocalPathText, PrefsRenderFarmEditNode, PrefsRenderFarmMountpoint, RecordFrameRate, RecordFrameRateText, RecordGUIDCOffsetText, RecordH, RecordNews, RecordPath, RecordSampleRate, RecordW, RecordWriteLength, ReFrameOutput, ResampleFraction, ResizeTrackHeight, ResizeTrackScaleH, ResizeTrackScaleW, ResizeTrackWidth, RotateText, ScaleAspectH, ScaleAspectText, ScaleAspectW, ScaleOffsetText, ScaleRatioText, ScaleRatioText, ScaleSizeText, ScaleSizeText, SelTempAvgGainValue, SelTempAvgOffsetValue, SelTempAvgThreshSlider, SetChannelsTextBox, SetFrameRateTextBox, SetSampleRateTextBox, ShapeWipeFilename, StillImageDuration, SynthBaseFreq, TimecodeOffset, TimeFormatFeetSetting, TimeTextBox, TitleFade, TitlePatch, TitlePatchOld, ToTextBox, TrackFrameNumber, VDeviceIntBox, VDeviceTextBox, VideoCaptureLength, VideoWriteLength, VorbisAvgBitrate, VorbisMaxBitrate, VorbisMinBitrate, and ZoomTextBox.

Public Member Functions | |
| BC_TextBox (int x, int y, int w, int rows, char *text, int has_border=1, int font=MEDIUMFONT) | |
| BC_TextBox (int x, int y, int w, int rows, int64_t text, int has_border=1, int font=MEDIUMFONT) | |
| BC_TextBox (int x, int y, int w, int rows, int text, int has_border=1, int font=MEDIUMFONT) | |
| BC_TextBox (int x, int y, int w, int rows, float text, int has_border=1, int font=MEDIUMFONT, int precision=4) | |
| virtual | ~BC_TextBox () |
| virtual int | handle_event () |
| virtual int | motion_event () |
| void | set_selection (int char1, int char2, int ibeam) |
| int | update (char *text) |
| int | update (int64_t value) |
| int | update (float value) |
| void | disable () |
| void | enable () |
| int | get_enabled () |
| int | initialize () |
| int | focus_in_event () |
| int | focus_out_event () |
| int | cursor_enter_event () |
| int | cursor_leave_event () |
| int | cursor_motion_event () |
| virtual int | button_press_event () |
| int | button_release_event () |
| int | repeat_event (int64_t repeat_id) |
| int | keypress_event () |
| int | activate () |
| int | deactivate () |
| char * | get_text () |
| int | get_text_rows () |
| void | set_text_row (int row) |
| int | get_text_row () |
| int | reposition_window (int x, int y, int w=-1, int rows=-1) |
| int | uses_text () |
| void | set_precision (int precision) |
| void | set_keypress_draw (int value) |
| int | get_ibeam_letter () |
| void | set_ibeam_letter (int number, int redraw=1) |
| int | get_last_keypress () |
| void | set_separators (char *separators) |
| int | select_whole_text (int select) |
| void | cycle_textboxes (int amout) |
Static Public Member Functions | |
| static int | calculate_h (BC_WindowBase *gui, int font, int has_border, int rows) |
| static int | calculate_row_h (int rows, BC_WindowBase *parent_window, int has_border=1, int font=MEDIUMFONT) |
| static int | pixels_to_rows (BC_WindowBase *window, int font, int pixels) |
Private Member Functions | |
| int | reset_parameters (int rows, int has_border, int font) |
| void | draw () |
| void | draw_border () |
| void | draw_cursor () |
| void | copy_selection (int clipboard_num) |
| void | paste_selection (int clipboard_num) |
| void | delete_selection (int letter1, int letter2, int text_len) |
| void | insert_text (char *string) |
| void | do_separators (int ibeam_left) |
| void | get_ibeam_position (int &x, int &y) |
| void | find_ibeam (int dispatch_event) |
| void | select_word (int &letter1, int &letter2, int ibeam_letter) |
| int | get_cursor_letter (int cursor_x, int cursor_y) |
| int | get_row_h (int rows) |
| void | default_keypress (int &dispatch_event, int &result) |
Private Attributes | |
| int | text_x |
| int | text_y |
| int | ibeam_x |
| int | ibeam_y |
| int | ibeam_letter |
| int | highlight_letter1 |
| int | highlight_letter2 |
| int | highlight_letter3 |
| int | highlight_letter4 |
| int | text_x1 |
| int | text_start |
| int | text_end |
| int | text_selected |
| int | word_selected |
| int | text_ascent |
| int | text_descent |
| int | text_height |
| int | left_margin |
| int | right_margin |
| int | top_margin |
| int | bottom_margin |
| int | has_border |
| int | font |
| int | rows |
| int | highlighted |
| int | high_color |
| int | back_color |
| int | background_color |
| char | text [BCTEXTLEN] |
| char | text_row [BCTEXTLEN] |
| char | temp_string [2] |
| int | active |
| int | enabled |
| int | precision |
| int | keypress_draw |
| Timer * | skip_cursor |
| int | last_keypress |
| char * | separators |
Definition at line 14 of file bctextbox.h.
| BC_TextBox::BC_TextBox | ( | int | x, | |
| int | y, | |||
| int | w, | |||
| int | rows, | |||
| char * | text, | |||
| int | has_border = 1, |
|||
| int | font = MEDIUMFONT | |||
| ) |
Definition at line 22 of file bctextbox.C.
References reset_parameters(), and skip_cursor.
Referenced by FormatTools::create_objects().

| BC_TextBox::BC_TextBox | ( | int | x, | |
| int | y, | |||
| int | w, | |||
| int | rows, | |||
| int64_t | text, | |||
| int | has_border = 1, |
|||
| int | font = MEDIUMFONT | |||
| ) |
Definition at line 36 of file bctextbox.C.
References reset_parameters(), and skip_cursor.

| BC_TextBox::BC_TextBox | ( | int | x, | |
| int | y, | |||
| int | w, | |||
| int | rows, | |||
| int | text, | |||
| int | has_border = 1, |
|||
| int | font = MEDIUMFONT | |||
| ) |
Definition at line 66 of file bctextbox.C.
References reset_parameters(), and skip_cursor.

| BC_TextBox::BC_TextBox | ( | int | x, | |
| int | y, | |||
| int | w, | |||
| int | rows, | |||
| float | text, | |||
| int | has_border = 1, |
|||
| int | font = MEDIUMFONT, |
|||
| int | precision = 4 | |||
| ) |
Definition at line 50 of file bctextbox.C.
References reset_parameters(), and skip_cursor.

| BC_TextBox::~BC_TextBox | ( | ) | [virtual] |
| virtual int BC_TextBox::handle_event | ( | ) | [inline, virtual] |
Reimplemented in ADeviceTextBox, ADeviceIntBox, AssetEditPathText, AssetEditRate, AssetEditFRate, AssetEditILaceautofixoption, AssetEditILacemode, AssetEditILacefixmethod, AssetEditHeader, AssetEditReelName, AssetEditReelNumber, AssetEditTCStartTextBox, BatchRenderEDLPath, BitsPopupText, ByteOrderText, ChannelEditEditTitle, ChannelEditEditSource, ClipEditTitle, ClipEditComments, EditPopupTitleText, ExportEDLPathText, FeatherEditsTextBox, AVIVAttribute, FileFormatRate, FileFormatHeader, MPEGBitrate, OGGVorbisMinBitrate, OGGVorbisMaxBitrate, OGGVorbisAvgBitrate, OGGTheoraBitrate, VorbisMinBitrate, VorbisMaxBitrate, VorbisAvgBitrate, FormatPresetsText, FormatPathText, FormatChannels, IndexPathText, IndexSize, IndexCount, TimeFormatFeetSetting, MeterMinDB, MeterMaxDB, LabelEditTitle, LabelEditComments, ManualGotoNumber, NewATracks, NewAChannels, NewSampleRate, NewVTracks, NewVChannels, NewFrameRate, NewTrackW, NewTrackH, NewOutputW, NewOutputH, NewAspectW, NewAspectH, NewPresetsText, TitlePatchOld, TitlePatch, NudgePatch, PrefsRenderFarmMountpoint, PrefsRenderFarmEditNode, PlaybackPreload, TimecodeOffset, PluginGlobalPathText, PluginLocalPathText, RecordPath, RecordNews, RecordGUIDCOffsetText, RecordWriteLength, RecordSampleRate, VideoWriteLength, VideoCaptureLength, RecordW, RecordH, RecordFrameRate, RecordFrameRateText, StillImageDuration, ResizeTrackWidth, ResizeTrackHeight, ResizeTrackScaleW, ResizeTrackScaleH, ScaleSizeText, ScaleOffsetText, ScaleRatioText, ScaleAspectW, ScaleAspectH, SetSampleRateTextBox, SetChannelsTextBox, SetFrameRateTextBox, ScaleSizeText, ScaleRatioText, ScaleAspectText, DayText, TimeTextBox, VDeviceTextBox, VDeviceIntBox, ZoomTextBox, FromTextBox, LengthTextBox, ToTextBox, BC_FileBoxTextBox, BC_FileBoxDirectoryText, BC_FileBoxFilterText, BC_ScrollTextBoxText, BC_PopupTextBoxText, BC_TumbleTextBoxText, CDRipTextValue, CDRipWindowDevice, CompressorReaction, CompressorX, CompressorY, CompressorTrigger, CompressorDecay, DecimateRate, DelayAudioTextBox, DelayVideoSlider, SelTempAvgThreshSlider, SelTempAvgOffsetValue, SelTempAvgGainValue, DenoiseVideoThreshold, MaxText, GammaText, InterpolateVideoRate, IVTCOffset, IVTCAutoThreshold, LoopAudioSamples, LoopVideoFrames, TrackFrameNumber, MotionBlockXText, MotionBlockYText, NormalizeWindowOverload, ReFrameOutput, ResampleFraction, RotateText, ShapeWipeFilename, SynthBaseFreq, and TitleFade.
Definition at line 49 of file bctextbox.h.
Referenced by BC_FTumbler::handle_down_event(), BC_ITumbler::handle_down_event(), CaptureLengthTumbler::handle_down_event(), BC_RecentList::handle_event(), AspectPulldown::handle_event(), FrameSizePulldown::handle_event(), FrameRatePulldown::handle_event(), SampleRatePulldown::handle_event(), BC_FTumbler::handle_up_event(), BC_ITumbler::handle_up_event(), CaptureLengthTumbler::handle_up_event(), keypress_event(), and BrowseButton::run().
| virtual int BC_TextBox::motion_event | ( | ) | [inline, virtual] |
Reimplemented in BC_ScrollTextBoxText.
Definition at line 51 of file bctextbox.h.
Referenced by find_ibeam().
| void BC_TextBox::set_selection | ( | int | char1, | |
| int | char2, | |||
| int | ibeam | |||
| ) |
Definition at line 169 of file bctextbox.C.
References draw(), highlight_letter1, highlight_letter2, and ibeam_letter.
Referenced by ClipEditWindow::create_objects(), and FormatTools::update_extension().

| int BC_TextBox::update | ( | char * | text | ) |
Definition at line 177 of file bctextbox.C.
References draw(), highlight_letter1, highlight_letter2, and ibeam_letter.
Referenced by AssetEditInterlacemodePulldown::AssetEditInterlacemodePulldown(), CompressorTrigger::button_press_event(), CompressorDecay::button_press_event(), CompressorReaction::button_press_event(), BatchRenderGUI::change_job(), ChannelEditEditThread::change_source(), ColormodelPulldown::ColormodelPulldown(), FileYUV::get_parameters(), BC_FTumbler::handle_down_event(), BC_ITumbler::handle_down_event(), DayTumbler::handle_down_event(), CaptureLengthTumbler::handle_down_event(), SynthFreqPot::handle_event(), ShapeWipeBrowseButton::handle_event(), MotionBlockY::handle_event(), MotionBlockX::handle_event(), InterpolateVideoRateMenu::handle_event(), GammaColorPicker::handle_event(), GammaSlider::handle_event(), MaxSlider::handle_event(), DecimateRateMenu::handle_event(), BC_PopupTextBoxList::handle_event(), BC_RecentList::handle_event(), BC_FileBoxFilterMenu::handle_event(), BC_FileBoxDirectoryText::handle_event(), FormatSwapExtents::handle_event(), ResizeTrackSwap::handle_event(), DeleteRenderProfileButton::handle_event(), RenderProfileListBox::handle_event(), PrefsRenderFarmNodes::handle_event(), NewSwapExtents::handle_event(), InterlacemodePulldown::handle_event(), ColormodelPulldown::handle_event(), AspectPulldown::handle_event(), FrameSizePulldown::handle_event(), FrameRatePulldown::handle_event(), SampleRatePulldown::handle_event(), LoadModeListBox::handle_event(), FormatFormat::handle_event(), FormatPresetsPulldown::handle_event(), PipePreset::handle_event(), ChannelEditEditInputItem::handle_event(), ByteOrderList::handle_event(), BitsPopupMenu::handle_event(), AssetEditInterlacemodePulldown::handle_event(), InterlacefixmethodPulldown::handle_event(), BC_FTumbler::handle_up_event(), BC_ITumbler::handle_up_event(), DayTumbler::handle_up_event(), CaptureLengthTumbler::handle_up_event(), InterlacefixmethodPulldown::InterlacefixmethodPulldown(), InterlacemodePulldown::InterlacemodePulldown(), Patch::load(), ManualGotoNumber::reshape_update(), DC_Offset::run(), BrowseButton::run(), BC_FileBoxListBox::selection_changed(), ChannelEditEditThread::set_freqtable(), Patch::set_title(), Interlaceautofix::showhideotherwidgets(), ChannelEditEditThread::source_down(), ChannelEditEditThread::source_up(), BC_FileBox::submit_dir(), BC_FileBox::submit_file(), TitleWindow::update(), GammaWindow::update(), BC_TumbleTextBox::update(), BC_PopupTextBox::update(), update(), TimeEntry::update(), SetFormatThread::update(), ResizeTrackWindow::update(), NudgePatch::update(), PatchGUI::update(), InterlacemodePulldown::update(), NewWindow::update(), FormatTools::update(), SetFormatThread::update_aspect(), ScaleThread::update_aspect(), NewThread::update_aspect(), AVIConfigVideo::update_attribute(), ZoomBar::update_autozoom(), RecordGUI::update_batch_tools(), FormatTools::update_driver(), FormatTools::update_extension(), SynthWindow::update_gui(), DelayVideoWindow::update_gui(), DelayAudioWindow::update_gui(), ToTextBox::update_position(), LengthTextBox::update_position(), FromTextBox::update_position(), RotateWindow::update_text(), CompressorWindow::update_textboxes(), SetFormatThread::update_window(), and ScaleThread::update_window().

| int BC_TextBox::update | ( | int64_t | value | ) |
Definition at line 193 of file bctextbox.C.
References BCTEXTLEN, and update().

| int BC_TextBox::update | ( | float | value | ) |
Definition at line 203 of file bctextbox.C.
References BCTEXTLEN, precision, and update().

| void BC_TextBox::disable | ( | ) |
Definition at line 212 of file bctextbox.C.
References active, BC_WindowBase::deactivate(), draw(), enabled, and BC_WindowBase::top_level.
Referenced by IVTCWindow::create_objects(), SelTempAvgWindow::create_objects(), CompressorWindow::create_objects(), ReelWindow::create_objects(), YUVConfigVideo::create_objects(), PreviousFrameSameBlock::handle_event(), TrackPreviousFrame::handle_event(), IVTCPattern::handle_event(), OverwriteReel::handle_event(), PipeCheckBox::handle_event(), Interlaceautofix::showhideotherwidgets(), TrackFrameNumber::TrackFrameNumber(), InterpolateVideoWindow::update_enabled(), and CompressorWindow::update_textboxes().

| void BC_TextBox::enable | ( | ) |
Definition at line 225 of file bctextbox.C.
References draw(), enabled, and BC_WindowBase::top_level.
Referenced by TrackSingleFrame::handle_event(), IVTCPattern::handle_event(), OverwriteReel::handle_event(), PipePreset::handle_event(), PipeCheckBox::handle_event(), Interlaceautofix::showhideotherwidgets(), InterpolateVideoWindow::update_enabled(), and CompressorWindow::update_textboxes().

| int BC_TextBox::get_enabled | ( | ) |
Definition at line 237 of file bctextbox.C.
References enabled.
Referenced by CompressorWindow::update_textboxes().
| int BC_TextBox::initialize | ( | ) | [virtual] |
Reimplemented from BC_SubWindow.
Definition at line 109 of file bctextbox.C.
References back_color, BC_WindowBase::bg_color, bottom_margin, draw(), find_ibeam(), font, BC_WindowBase::get_resources(), get_row_h(), BC_WindowBase::get_text_ascent(), BC_WindowBase::get_text_descent(), BC_WindowBase::h, has_border, high_color, HORIZONTAL_MARGIN, HORIZONTAL_MARGIN_NOBORDER, IBEAM_CURSOR, ibeam_letter, BC_SubWindow::initialize(), left_margin, BC_WindowBase::resources, right_margin, rows, BC_WindowBase::set_cursor(), skip_cursor, text, text_ascent, BC_Resources::text_background, BC_Resources::text_background_hi, BC_Resources::text_background_noborder_hi, text_descent, text_height, text_x, text_y, top_margin, Timer::update(), VERTICAL_MARGIN, and VERTICAL_MARGIN_NOBORDER.

| int BC_TextBox::focus_in_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 455 of file bctextbox.C.
References draw().

| int BC_TextBox::focus_out_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 461 of file bctextbox.C.
References draw().

| int BC_TextBox::cursor_enter_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 467 of file bctextbox.C.
References draw_border(), enabled, BC_WindowBase::event_win, BC_WindowBase::flash(), BC_WindowBase::flush(), highlighted, BC_WindowBase::tooltip_done, BC_WindowBase::top_level, and BC_WindowBase::win.

| int BC_TextBox::cursor_leave_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 484 of file bctextbox.C.
References draw_border(), BC_WindowBase::flash(), BC_WindowBase::flush(), BC_WindowBase::hide_tooltip(), and highlighted.

| int BC_TextBox::cursor_motion_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 569 of file bctextbox.C.
References active, copy_selection(), BC_WindowBase::cursor_x, BC_WindowBase::cursor_y, draw(), find_ibeam(), get_cursor_letter(), highlight_letter1, highlight_letter2, highlight_letter3, highlight_letter4, ibeam_letter, PRIMARY_SELECTION, select_word(), text, text_selected, BC_WindowBase::top_level, and word_selected.

| int BC_TextBox::button_press_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Reimplemented in NudgePatch, ZoomTextBox, BC_TumbleTextBoxText, CompressorReaction, CompressorTrigger, and CompressorDecay.
Definition at line 497 of file bctextbox.C.
References activate(), active, copy_selection(), BC_WindowBase::cursor_x, BC_WindowBase::cursor_y, BC_WindowBase::deactivate(), draw(), enabled, BC_WindowBase::event_win, BC_WindowBase::get_buttonpress(), get_cursor_letter(), BC_WindowBase::get_double_click(), BC_WindowBase::hide_tooltip(), highlight_letter1, highlight_letter2, highlight_letter3, highlight_letter4, ibeam_letter, paste_selection(), PRIMARY_SELECTION, select_word(), text, text_selected, BC_WindowBase::top_level, BC_WindowBase::win, and word_selected.
Referenced by CompressorTrigger::button_press_event(), CompressorDecay::button_press_event(), CompressorReaction::button_press_event(), BC_TumbleTextBoxText::button_press_event(), ZoomTextBox::button_press_event(), and NudgePatch::button_press_event().

| int BC_TextBox::button_release_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 555 of file bctextbox.C.
References active, BC_WindowBase::hide_tooltip(), text_selected, and word_selected.

| int BC_TextBox::repeat_event | ( | int64_t | repeat_id | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 627 of file bctextbox.C.
References active, BC_Resources::blink_rate, draw_cursor(), BC_WindowBase::flash(), BC_WindowBase::flush(), Timer::get_difference(), BC_WindowBase::get_has_focus(), BC_WindowBase::get_resources(), highlighted, BC_WindowBase::show_tooltip(), skip_cursor, BC_Resources::tooltip_delay, BC_WindowBase::tooltip_done, BC_WindowBase::tooltip_text, and BC_WindowBase::top_level.

| int BC_TextBox::keypress_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Reimplemented in ManualGotoNumber.
Definition at line 707 of file bctextbox.C.
References active, BACKSPACE, copy_selection(), BC_WindowBase::ctrl_down(), cycle_textboxes(), BC_WindowBase::deactivate(), default_keypress(), DELETE, delete_selection(), BC_WindowBase::dispatch_event(), DOWN, draw(), enabled, END, ESC, find_ibeam(), get_cursor_letter(), BC_WindowBase::get_h(), BC_WindowBase::get_keypress(), handle_event(), highlight_letter1, highlight_letter2, HOME, ibeam_letter, ibeam_x, ibeam_y, keypress_draw, last_keypress, LEFT, LEFTTAB, paste_selection(), PGDN, PGUP, RETURN, RIGHT, rows, SECONDARY_SELECTION, BC_WindowBase::shift_down(), skip_cursor, TAB, text, text_height, text_x, text_y, BC_WindowBase::top_level, UP, and Timer::update().
Referenced by ManualGotoNumber::keypress_event().

| int BC_TextBox::activate | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Reimplemented in ManualGotoNumber.
Definition at line 610 of file bctextbox.C.
References active, BC_WindowBase::active_subwindow, BC_Resources::blink_rate, draw(), BC_WindowBase::get_resources(), BC_WindowBase::set_repeat(), and BC_WindowBase::top_level.
Referenced by ManualGotoNumber::activate(), button_press_event(), LabelEditWindow::create_objects(), ClipEditWindow::create_objects(), and ClipEdit::run().

| int BC_TextBox::deactivate | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Reimplemented in ManualGotoNumber.
Definition at line 619 of file bctextbox.C.
References active, BC_Resources::blink_rate, draw(), BC_WindowBase::get_resources(), BC_WindowBase::top_level, and BC_WindowBase::unset_repeat().
Referenced by ManualGotoNumber::deactivate().

| char * BC_TextBox::get_text | ( | ) |
Definition at line 260 of file bctextbox.C.
References text.
Referenced by NudgePatch::button_press_event(), PatchGUI::calculate_nudge_text(), ClipEditWindow::create_objects(), ManualGotoWindow::get_entered_position_sec(), FileYUV::get_parameters(), BC_TumbleTextBox::get_text(), BC_PopupTextBox::get_text(), BC_ScrollTextBox::get_text(), BC_NewFolder::get_text(), NewFolder::get_text(), BC_FTumbler::handle_down_event(), BC_ITumbler::handle_down_event(), CaptureLengthTumbler::handle_down_event(), TitleFade::handle_event(), SynthBaseFreq::handle_event(), ShapeWipeBrowseButton::handle_event(), ShapeWipeFilename::handle_event(), RotateText::handle_event(), ReFrameOutput::handle_event(), NormalizeWindowOverload::handle_event(), TrackFrameNumber::handle_event(), MotionBlockYText::handle_event(), MotionBlockXText::handle_event(), LoopVideoFrames::handle_event(), LoopAudioSamples::handle_event(), IVTCAutoThreshold::handle_event(), IVTCOffset::handle_event(), InterpolateVideoRate::handle_event(), GammaText::handle_event(), MaxText::handle_event(), DenoiseVideoThreshold::handle_event(), SelTempAvgGainValue::handle_event(), SelTempAvgOffsetValue::handle_event(), SelTempAvgThreshSlider::handle_event(), DelayVideoSlider::handle_event(), DelayAudioTextBox::handle_event(), DecimateRate::handle_event(), CompressorTrigger::handle_event(), CompressorY::handle_event(), CompressorX::handle_event(), CompressorDecay::handle_event(), CompressorReaction::handle_event(), CDRipWindowDevice::handle_event(), CDRipTextValue::handle_event(), BC_FileBoxOK::handle_event(), BC_FileBoxUseThis::handle_event(), BC_FileBoxFilterText::handle_event(), BC_FileBoxDirectoryText::handle_event(), BC_FileBoxListBox::handle_event(), ZoomTextBox::handle_event(), VDeviceIntBox::handle_event(), VDeviceTextBox::handle_event(), TimeTextBox::handle_event(), DayText::handle_event(), ScaleAspectText::handle_event(), SetFrameRateTextBox::handle_event(), SetChannelsTextBox::handle_event(), SetSampleRateTextBox::handle_event(), ScaleAspectH::handle_event(), ScaleAspectW::handle_event(), ScaleRatioText::handle_event(), ScaleOffsetText::handle_event(), ScaleSizeText::handle_event(), ResizeTrackScaleH::handle_event(), ResizeTrackScaleW::handle_event(), ResizeTrackHeight::handle_event(), ResizeTrackWidth::handle_event(), ResampleFraction::handle_event(), DeleteRenderProfileButton::handle_event(), SaveRenderProfileButton::handle_event(), StillImageDuration::handle_event(), VideoCaptureLength::handle_event(), VideoWriteLength::handle_event(), RecordFrameRate::handle_event(), RecordH::handle_event(), RecordW::handle_event(), RecordSampleRate::handle_event(), RecordWriteLength::handle_event(), RecordPath::handle_event(), PluginLocalPathText::handle_event(), PluginGlobalPathText::handle_event(), TimecodeOffset::handle_event(), PlaybackPreload::handle_event(), PrefsRenderFarmMountpoint::handle_event(), PrefsRenderFarmDelNode::handle_event(), PrefsRenderFarmReplaceNode::handle_event(), PrefsRenderFarmNewNode::handle_event(), NudgePatch::handle_event(), TitlePatch::handle_event(), TitlePatchOld::handle_event(), NewAspectH::handle_event(), NewAspectW::handle_event(), NewOutputH::handle_event(), NewOutputW::handle_event(), NewFrameRate::handle_event(), NewVChannels::handle_event(), NewVTracks::handle_event(), NewSampleRate::handle_event(), NewAChannels::handle_event(), NewATracks::handle_event(), LabelEditComments::handle_event(), MeterMaxDB::handle_event(), MeterMinDB::handle_event(), TimeFormatFeetSetting::handle_event(), IndexCount::handle_event(), IndexSize::handle_event(), IndexPathText::handle_event(), FormatChannels::handle_event(), FormatFormat::handle_event(), FormatPathText::handle_event(), VorbisAvgBitrate::handle_event(), VorbisMaxBitrate::handle_event(), VorbisMinBitrate::handle_event(), OGGTheoraBitrate::handle_event(), OGGVorbisAvgBitrate::handle_event(), OGGVorbisMaxBitrate::handle_event(), OGGVorbisMinBitrate::handle_event(), MPEGBitrate::handle_event(), FileFormatHeader::handle_event(), FileFormatRate::handle_event(), AVIVAttribute::handle_event(), FeatherEditsTextBox::handle_event(), ExportEDLPathText::handle_event(), EditPopupTitle::handle_event(), ClipEditComments::handle_event(), ClipEditTitle::handle_event(), ChannelEditEditSource::handle_event(), ChannelEditEditTitle::handle_event(), ByteOrderText::handle_event(), BitsPopupText::handle_event(), BatchRenderEDLPath::handle_event(), AssetEditTCStartTextBox::handle_event(), AssetEditReelNumber::handle_event(), AssetEditReelName::handle_event(), AssetEditPathText::handle_event(), AssetEditHeader::handle_event(), AssetEditILacefixmethod::handle_event(), AssetEditILacemode::handle_event(), AssetEditILaceautofixoption::handle_event(), AssetEditFRate::handle_event(), AssetEditRate::handle_event(), ADeviceIntBox::handle_event(), ADeviceTextBox::handle_event(), BC_FTumbler::handle_up_event(), BC_ITumbler::handle_up_event(), CaptureLengthTumbler::handle_up_event(), ManualGotoNumber::keypress_event(), ManualGotoNumber::reshape_update(), BrowseButton::run(), ZoomBar::set_selection(), and CompressorWindow::update_textboxes().
| int BC_TextBox::get_text_rows | ( | ) |
Definition at line 265 of file bctextbox.C.
References text.
Referenced by BC_ScrollTextBoxText::handle_event(), BC_ScrollTextBoxText::motion_event(), and BC_ScrollTextBox::reposition_window().
| void BC_TextBox::set_text_row | ( | int | row | ) |
Definition at line 1346 of file bctextbox.C.
References draw(), text_height, text_y, and top_margin.
Referenced by BC_ScrollTextBoxYScroll::handle_event().

| int BC_TextBox::get_text_row | ( | ) |
Definition at line 1352 of file bctextbox.C.
References text_height, text_y, and top_margin.
Referenced by BC_ScrollTextBoxText::handle_event(), BC_ScrollTextBoxText::motion_event(), and BC_ScrollTextBox::reposition_window().
| int BC_TextBox::reposition_window | ( | int | x, | |
| int | y, | |||
| int | w = -1, |
|||
| int | rows = -1 | |||
| ) |
Reimplemented from BC_WindowBase.
Definition at line 282 of file bctextbox.C.
References draw(), BC_WindowBase::get_h(), get_row_h(), BC_WindowBase::get_w(), BC_WindowBase::get_x(), BC_WindowBase::get_y(), and BC_WindowBase::reposition_window().
Referenced by BC_FileBox::create_objects(), Patch::flip_vertical(), VPatchGUI::reposition(), PatchGUI::reposition(), APatchGUI::reposition(), BC_TumbleTextBox::reposition_window(), BC_PopupTextBox::reposition_window(), BC_ScrollTextBox::reposition_window(), TimeEntry::reposition_window(), RenderProfile::reposition_window(), LoadMode::reposition_window(), FormatTools::reposition_window(), TitleWindow::resize_event(), BC_FileBox::resize_event(), BatchRenderGUI::resize_event(), and Patch::set_pixel().

| int BC_TextBox::uses_text | ( | ) | [virtual] |
| int BC_TextBox::calculate_h | ( | BC_WindowBase * | gui, | |
| int | font, | |||
| int | has_border, | |||
| int | rows | |||
| ) | [static] |
Definition at line 154 of file bctextbox.C.
References BC_WindowBase::get_text_ascent(), BC_WindowBase::get_text_descent(), VERTICAL_MARGIN, and VERTICAL_MARGIN_NOBORDER.
Referenced by RenderProfile::calculate_h(), LoadMode::calculate_h(), RecordGUI::create_objects(), and CWindowCropGUI::create_objects().

| int BC_TextBox::calculate_row_h | ( | int | rows, | |
| BC_WindowBase * | parent_window, | |||
| int | has_border = 1, |
|||
| int | font = MEDIUMFONT | |||
| ) | [static] |
Definition at line 249 of file bctextbox.C.
References BC_WindowBase::get_text_ascent(), and BC_WindowBase::get_text_descent().
Referenced by BC_ScrollTextBox::reposition_window().

| int BC_TextBox::pixels_to_rows | ( | BC_WindowBase * | window, | |
| int | font, | |||
| int | pixels | |||
| ) | [static] |
Definition at line 242 of file bctextbox.C.
References BC_WindowBase::get_text_ascent(), and BC_WindowBase::get_text_descent().
Referenced by LabelEditWindow::create_objects(), ClipEditWindow::create_objects(), and TitleWindow::resize_event().

| void BC_TextBox::set_precision | ( | int | precision | ) |
Definition at line 164 of file bctextbox.C.
Referenced by BC_TumbleTextBox::create_objects(), MotionBlockXText::MotionBlockXText(), MotionBlockYText::MotionBlockYText(), and RotateText::RotateText().
| void BC_TextBox::set_keypress_draw | ( | int | value | ) |
| int BC_TextBox::get_ibeam_letter | ( | ) |
Definition at line 1504 of file bctextbox.C.
References ibeam_letter.
Referenced by ManualGotoNumber::keypress_event().
| void BC_TextBox::set_ibeam_letter | ( | int | number, | |
| int | redraw = 1 | |||
| ) |
Definition at line 1509 of file bctextbox.C.
References draw(), and ibeam_letter.

| int BC_TextBox::get_last_keypress | ( | ) |
| void BC_TextBox::set_separators | ( | char * | separators | ) |
Definition at line 1518 of file bctextbox.C.
Referenced by TimeEntry::create_objects(), and ZoomBar::update_formatting().
| int BC_TextBox::select_whole_text | ( | int | select | ) |
Definition at line 679 of file bctextbox.C.
References draw(), find_ibeam(), highlight_letter1, highlight_letter2, ibeam_letter, keypress_draw, text, text_selected, and word_selected.
Referenced by ManualGotoNumber::activate(), ManualGotoNumber::keypress_event(), and ManualGotoNumber::reshape_update().

| void BC_TextBox::cycle_textboxes | ( | int | amout | ) |
Reimplemented from BC_WindowBase.
Definition at line 702 of file bctextbox.C.
References BC_WindowBase::cycle_textboxes(), and BC_WindowBase::top_level.
Referenced by keypress_event(), and ManualGotoNumber::keypress_event().

| int BC_TextBox::reset_parameters | ( | int | rows, | |
| int | has_border, | |||
| int | font | |||
| ) | [private] |
Definition at line 85 of file bctextbox.C.
References active, enabled, highlight_letter1, highlight_letter2, highlight_letter3, highlight_letter4, highlighted, ibeam_letter, keypress_draw, last_keypress, precision, separators, skip_cursor, text_end, text_selected, text_start, text_x, and word_selected.
Referenced by BC_TextBox().
| void BC_TextBox::draw | ( | ) | [private] |
Definition at line 344 of file bctextbox.C.
References active, back_color, background_color, bottom_margin, draw_border(), BC_WindowBase::draw_box(), draw_cursor(), BC_WindowBase::draw_text(), enabled, BC_WindowBase::flash(), BC_WindowBase::flush(), font, BC_WindowBase::get_h(), BC_WindowBase::get_has_focus(), BC_WindowBase::get_resources(), BC_WindowBase::get_text_width(), BC_WindowBase::get_w(), BC_WindowBase::h, has_border, high_color, highlight_letter1, highlight_letter2, highlighted, ibeam_letter, ibeam_x, ibeam_y, MEGREY, BC_WindowBase::resources, BC_WindowBase::set_color(), BC_WindowBase::set_font(), text, text_ascent, BC_Resources::text_background, BC_Resources::text_default, text_height, BC_Resources::text_highlight, BC_Resources::text_inactive_highlight, text_row, text_x, text_y, top_margin, and BC_WindowBase::w.
Referenced by activate(), button_press_event(), cursor_motion_event(), deactivate(), default_keypress(), disable(), enable(), focus_in_event(), focus_out_event(), initialize(), keypress_event(), reposition_window(), select_whole_text(), set_ibeam_letter(), set_selection(), set_text_row(), and update().

| void BC_TextBox::draw_border | ( | ) | [private] |
Definition at line 305 of file bctextbox.C.
References background_color, BC_Resources::button_highlighted, BC_Resources::button_light, BC_Resources::button_shadow, BC_Resources::button_uphighlighted, BC_WindowBase::draw_3d_border(), BC_WindowBase::draw_box(), BC_WindowBase::get_h(), BC_WindowBase::get_resources(), BC_WindowBase::get_w(), BC_WindowBase::h, has_border, highlighted, left_margin, BC_WindowBase::resources, right_margin, BC_WindowBase::set_color(), BC_Resources::text_border1, BC_Resources::text_border2, BC_Resources::text_border3, BC_Resources::text_border4, and BC_WindowBase::w.
Referenced by cursor_enter_event(), cursor_leave_event(), and draw().

| void BC_TextBox::draw_cursor | ( | ) | [private] |
Definition at line 330 of file bctextbox.C.
References BCCURSORW, BC_WindowBase::draw_box(), ibeam_x, ibeam_y, BC_WindowBase::set_color(), BC_WindowBase::set_inverse(), BC_WindowBase::set_opaque(), text_height, text_x, text_y, and WHITE.
Referenced by draw(), and repeat_event().

| void BC_TextBox::copy_selection | ( | int | clipboard_num | ) | [private] |
Definition at line 1468 of file bctextbox.C.
References BC_WindowBase::get_clipboard(), highlight_letter1, highlight_letter2, text, and BC_Clipboard::to_clipboard().
Referenced by button_press_event(), cursor_motion_event(), and keypress_event().

| void BC_TextBox::paste_selection | ( | int | clipboard_num | ) | [private] |
Definition at line 1483 of file bctextbox.C.
References BC_Clipboard::clipboard_len(), BC_Clipboard::from_clipboard(), BC_WindowBase::get_clipboard(), and insert_text().
Referenced by button_press_event(), and keypress_event().

| void BC_TextBox::delete_selection | ( | int | letter1, | |
| int | letter2, | |||
| int | text_len | |||
| ) | [private] |
Definition at line 1216 of file bctextbox.C.
References do_separators(), and text.
Referenced by insert_text(), and keypress_event().

| void BC_TextBox::insert_text | ( | char * | string | ) | [private] |
Definition at line 1229 of file bctextbox.C.
References delete_selection(), do_separators(), highlight_letter1, highlight_letter2, ibeam_letter, and text.
Referenced by default_keypress(), and paste_selection().

| void BC_TextBox::do_separators | ( | int | ibeam_left | ) | [private] |
Definition at line 1254 of file bctextbox.C.
References ibeam_letter, separators, and text.
Referenced by delete_selection(), and insert_text().
| void BC_TextBox::get_ibeam_position | ( | int & | x, | |
| int & | y | |||
| ) | [private] |
Definition at line 1309 of file bctextbox.C.
References font, BC_WindowBase::get_text_width(), ibeam_letter, text, text_height, and text_row.
Referenced by find_ibeam().

| void BC_TextBox::find_ibeam | ( | int | dispatch_event | ) | [private] |
Definition at line 1357 of file bctextbox.C.
References BCCURSORW, bottom_margin, BC_WindowBase::get_h(), get_ibeam_position(), BC_WindowBase::get_w(), left_margin, motion_event(), right_margin, text_height, text_x, text_y, top_margin, BC_WindowBase::x, and BC_WindowBase::y.
Referenced by cursor_motion_event(), default_keypress(), initialize(), keypress_event(), and select_whole_text().

| void BC_TextBox::select_word | ( | int & | letter1, | |
| int & | letter2, | |||
| int | ibeam_letter | |||
| ) | [private] |
Definition at line 1446 of file bctextbox.C.
References text.
Referenced by button_press_event(), and cursor_motion_event().
| int BC_TextBox::get_cursor_letter | ( | int | cursor_x, | |
| int | cursor_y | |||
| ) | [private] |
Definition at line 1396 of file bctextbox.C.
References BC_WindowBase::done, font, BC_WindowBase::get_text_width(), text, text_height, text_row, text_x, and text_y.
Referenced by button_press_event(), cursor_motion_event(), and keypress_event().

| int BC_TextBox::get_row_h | ( | int | rows | ) | [private] |
Definition at line 277 of file bctextbox.C.
References bottom_margin, text_height, and top_margin.
Referenced by initialize(), and reposition_window().
| void BC_TextBox::default_keypress | ( | int & | dispatch_event, | |
| int & | result | |||
| ) | [private] |
Definition at line 659 of file bctextbox.C.
References draw(), find_ibeam(), BC_WindowBase::get_keypress(), insert_text(), RETURN, temp_string, and BC_WindowBase::top_level.
Referenced by keypress_event().

int BC_TextBox::text_x [private] |
Definition at line 122 of file bctextbox.h.
Referenced by draw(), draw_cursor(), find_ibeam(), get_cursor_letter(), initialize(), keypress_event(), and reset_parameters().
int BC_TextBox::text_y [private] |
Definition at line 122 of file bctextbox.h.
Referenced by draw(), draw_cursor(), find_ibeam(), get_cursor_letter(), get_text_row(), initialize(), keypress_event(), and set_text_row().
int BC_TextBox::ibeam_x [private] |
Definition at line 124 of file bctextbox.h.
Referenced by draw(), draw_cursor(), and keypress_event().
int BC_TextBox::ibeam_y [private] |
Definition at line 124 of file bctextbox.h.
Referenced by draw(), draw_cursor(), and keypress_event().
int BC_TextBox::ibeam_letter [private] |
Definition at line 126 of file bctextbox.h.
Referenced by button_press_event(), cursor_motion_event(), do_separators(), draw(), get_ibeam_letter(), get_ibeam_position(), initialize(), insert_text(), keypress_event(), reset_parameters(), select_whole_text(), set_ibeam_letter(), set_selection(), and update().
int BC_TextBox::highlight_letter1 [private] |
Definition at line 127 of file bctextbox.h.
Referenced by button_press_event(), copy_selection(), cursor_motion_event(), draw(), insert_text(), keypress_event(), reset_parameters(), select_whole_text(), set_selection(), and update().
int BC_TextBox::highlight_letter2 [private] |
Definition at line 127 of file bctextbox.h.
Referenced by button_press_event(), copy_selection(), cursor_motion_event(), draw(), insert_text(), keypress_event(), reset_parameters(), select_whole_text(), set_selection(), and update().
int BC_TextBox::highlight_letter3 [private] |
Definition at line 128 of file bctextbox.h.
Referenced by button_press_event(), cursor_motion_event(), and reset_parameters().
int BC_TextBox::highlight_letter4 [private] |
Definition at line 128 of file bctextbox.h.
Referenced by button_press_event(), cursor_motion_event(), and reset_parameters().
int BC_TextBox::text_x1 [private] |
Definition at line 129 of file bctextbox.h.
int BC_TextBox::text_start [private] |
int BC_TextBox::text_end [private] |
int BC_TextBox::text_selected [private] |
Definition at line 129 of file bctextbox.h.
Referenced by button_press_event(), button_release_event(), cursor_motion_event(), reset_parameters(), and select_whole_text().
int BC_TextBox::word_selected [private] |
Definition at line 129 of file bctextbox.h.
Referenced by button_press_event(), button_release_event(), cursor_motion_event(), reset_parameters(), and select_whole_text().
int BC_TextBox::text_ascent [private] |
int BC_TextBox::text_descent [private] |
int BC_TextBox::text_height [private] |
Definition at line 130 of file bctextbox.h.
Referenced by draw(), draw_cursor(), find_ibeam(), get_cursor_letter(), get_ibeam_position(), get_row_h(), get_text_row(), initialize(), keypress_event(), and set_text_row().
int BC_TextBox::left_margin [private] |
Definition at line 131 of file bctextbox.h.
Referenced by draw_border(), find_ibeam(), and initialize().
int BC_TextBox::right_margin [private] |
Definition at line 131 of file bctextbox.h.
Referenced by draw_border(), find_ibeam(), and initialize().
int BC_TextBox::top_margin [private] |
Definition at line 131 of file bctextbox.h.
Referenced by draw(), find_ibeam(), get_row_h(), get_text_row(), initialize(), and set_text_row().
int BC_TextBox::bottom_margin [private] |
Definition at line 131 of file bctextbox.h.
Referenced by draw(), find_ibeam(), get_row_h(), and initialize().
int BC_TextBox::has_border [private] |
int BC_TextBox::font [private] |
Definition at line 133 of file bctextbox.h.
Referenced by draw(), get_cursor_letter(), get_ibeam_position(), and initialize().
int BC_TextBox::rows [private] |
int BC_TextBox::highlighted [private] |
Definition at line 135 of file bctextbox.h.
Referenced by cursor_enter_event(), cursor_leave_event(), draw(), draw_border(), repeat_event(), and reset_parameters().
int BC_TextBox::high_color [private] |
int BC_TextBox::back_color [private] |
int BC_TextBox::background_color [private] |
char BC_TextBox::text[BCTEXTLEN] [private] |
Definition at line 138 of file bctextbox.h.
Referenced by button_press_event(), copy_selection(), cursor_motion_event(), delete_selection(), do_separators(), draw(), get_cursor_letter(), get_ibeam_position(), get_text(), get_text_rows(), AssetEditReelNumber::handle_event(), initialize(), insert_text(), keypress_event(), ManualGotoNumber::reshape_update(), select_whole_text(), and select_word().
char BC_TextBox::text_row[BCTEXTLEN] [private] |
Definition at line 138 of file bctextbox.h.
Referenced by draw(), get_cursor_letter(), and get_ibeam_position().
char BC_TextBox::temp_string[2] [private] |
int BC_TextBox::active [private] |
Definition at line 139 of file bctextbox.h.
Referenced by activate(), button_press_event(), button_release_event(), cursor_motion_event(), deactivate(), disable(), draw(), keypress_event(), repeat_event(), and reset_parameters().
int BC_TextBox::enabled [private] |
Definition at line 140 of file bctextbox.h.
Referenced by button_press_event(), cursor_enter_event(), disable(), draw(), enable(), get_enabled(), keypress_event(), and reset_parameters().
int BC_TextBox::precision [private] |
int BC_TextBox::keypress_draw [private] |
Definition at line 142 of file bctextbox.h.
Referenced by keypress_event(), reset_parameters(), select_whole_text(), and set_keypress_draw().
Timer* BC_TextBox::skip_cursor [private] |
Definition at line 145 of file bctextbox.h.
Referenced by BC_TextBox(), initialize(), keypress_event(), repeat_event(), reset_parameters(), and ~BC_TextBox().
int BC_TextBox::last_keypress [private] |
Definition at line 147 of file bctextbox.h.
Referenced by get_last_keypress(), keypress_event(), and reset_parameters().
char* BC_TextBox::separators [private] |
1.5.5