#include <bctextbox.h>
Inherits BC_RelocatableWidget.
Inherited by ALSADevice, AVIACodecList, AVIVCodecList, ChannelText, CompressPopup, MOVConfigAudioPopup, MOVConfigVideoPopup, PreferencesCategory, RecordBatch, RecordMode, RecordSource, TGACompression, TitleEncoding, TitleFont, TitleMotion, TitleSize, TitleTimecodeFormat, and VWindowSource.

Public Member Functions | |
| BC_PopupTextBox (BC_WindowBase *parent_window, ArrayList< BC_ListBoxItem * > *list_items, char *default_text, int x, int y, int text_w, int list_h) | |
| virtual | ~BC_PopupTextBox () |
| int | create_objects () |
| virtual int | handle_event () |
| char * | get_text () |
| int | get_number () |
| int | get_x () |
| int | get_y () |
| int | get_w () |
| int | get_h () |
| void | update (char *text) |
| void | update_list (ArrayList< BC_ListBoxItem * > *data) |
| int | reposition_widget (int x, int y, int w=-1, int h=-1) |
| void | reposition_window (int x, int y) |
Private Attributes | |
| int | x |
| int | y |
| int | text_w |
| int | list_h |
| char * | default_text |
| ArrayList< BC_ListBoxItem * > * | list_items |
| BC_PopupTextBoxText * | textbox |
| BC_PopupTextBoxList * | listbox |
| BC_WindowBase * | parent_window |
Friends | |
| class | BC_PopupTextBoxText |
| class | BC_PopupTextBoxList |
Definition at line 215 of file bctextbox.h.
| BC_PopupTextBox::BC_PopupTextBox | ( | BC_WindowBase * | parent_window, | |
| ArrayList< BC_ListBoxItem * > * | list_items, | |||
| char * | default_text, | |||
| int | x, | |||
| int | y, | |||
| int | text_w, | |||
| int | list_h | |||
| ) |
Definition at line 1758 of file bctextbox.C.
| BC_PopupTextBox::~BC_PopupTextBox | ( | ) | [virtual] |
Definition at line 1775 of file bctextbox.C.
References listbox, BC_PopupTextBoxText::popup, and textbox.
| int BC_PopupTextBox::create_objects | ( | ) |
Reimplemented in CompressPopup.
Definition at line 1785 of file bctextbox.C.
References BC_WindowBase::add_subwindow(), BC_PopupTextBoxList, BC_PopupTextBoxText, BC_WindowBase::get_w(), listbox, parent_window, textbox, x, and y.
Referenced by ADevicePrefs::create_alsa_objs(), TitleWindow::create_objects(), RecordGUI::create_objects(), TGAConfigVideo::create_objects(), MOVConfigVideo::create_objects(), MOVConfigAudio::create_objects(), AVIConfigVideo::create_objects(), AVIConfigAudio::create_objects(), and ChannelPicker::create_objects().

| int BC_PopupTextBox::handle_event | ( | ) | [virtual] |
Reimplemented in ALSADevice, ChannelText, AVIACodecList, AVIVCodecList, MOVConfigAudioPopup, MOVConfigVideoPopup, TGACompression, FormatCompress, PreferencesCategory, RecordBatch, RecordSource, RecordMode, VWindowSource, TitleSize, TitleEncoding, TitleMotion, TitleTimecodeFormat, and TitleFont.
Definition at line 1838 of file bctextbox.C.
Referenced by BC_PopupTextBoxList::handle_event(), and BC_PopupTextBoxText::handle_event().
| char * BC_PopupTextBox::get_text | ( | ) |
Definition at line 1808 of file bctextbox.C.
References BC_TextBox::get_text(), and textbox.
Referenced by TitleFont::handle_event(), TitleTimecodeFormat::handle_event(), TitleMotion::handle_event(), TitleEncoding::handle_event(), TitleSize::handle_event(), RecordMode::handle_event(), PreferencesCategory::handle_event(), TGACompression::handle_event(), MOVConfigVideoPopup::handle_event(), MOVConfigAudioPopup::handle_event(), AVIVCodecList::handle_event(), AVIACodecList::handle_event(), and ALSADevice::handle_event().

| int BC_PopupTextBox::get_number | ( | ) |
Definition at line 1813 of file bctextbox.C.
References BC_ListBox::get_selection_number(), and listbox.
Referenced by RecordSource::handle_event(), ChannelText::handle_event(), TitleWindow::next_font(), and TitleWindow::previous_font().

| int BC_PopupTextBox::get_x | ( | ) |
Definition at line 1818 of file bctextbox.C.
References x.
Referenced by ChannelPicker::reposition(), and TitleWindow::resize_event().
| int BC_PopupTextBox::get_y | ( | ) |
Definition at line 1823 of file bctextbox.C.
References y.
Referenced by ChannelPicker::reposition(), and TitleWindow::resize_event().
| int BC_PopupTextBox::get_w | ( | ) | [virtual] |
Reimplemented from BC_RelocatableWidget.
Definition at line 1828 of file bctextbox.C.
References BC_ListBox::get_w(), BC_WindowBase::get_w(), listbox, and textbox.
Referenced by ADevicePrefs::create_alsa_objs(), RecordGUI::create_objects(), and ChannelPicker::create_objects().

| int BC_PopupTextBox::get_h | ( | ) | [virtual] |
Reimplemented from BC_RelocatableWidget.
Definition at line 1833 of file bctextbox.C.
References BC_WindowBase::get_h(), and textbox.
Referenced by AVIConfigVideo::create_objects(), and AVIConfigAudio::create_objects().

| void BC_PopupTextBox::update | ( | char * | text | ) |
Definition at line 1794 of file bctextbox.C.
References textbox, and BC_TextBox::update().
Referenced by TitleWindow::next_font(), TitleWindow::previous_font(), Record::set_channel(), PrefsChannelPicker::set_channel(), TitleSize::update(), TitleWindow::update(), RecordGUI::update_batch_tools(), and RecordMonitor::update_channel().

| void BC_PopupTextBox::update_list | ( | ArrayList< BC_ListBoxItem * > * | data | ) |
Definition at line 1799 of file bctextbox.C.
References listbox, and BC_ListBox::update().
Referenced by RecordGUI::update_batch_sources(), and ChannelPicker::update_channel_list().

| int BC_PopupTextBox::reposition_widget | ( | int | x, | |
| int | y, | |||
| int | w = -1, |
|||
| int | h = -1 | |||
| ) | [virtual] |
Reimplemented from BC_RelocatableWidget.
Definition at line 1843 of file bctextbox.C.
References reposition_window().

| void BC_PopupTextBox::reposition_window | ( | int | x, | |
| int | y | |||
| ) |
Definition at line 1848 of file bctextbox.C.
References BC_WindowBase::get_w(), listbox, BC_ListBox::reposition_window(), BC_TextBox::reposition_window(), and textbox.
Referenced by ChannelPicker::reposition(), reposition_widget(), and TitleWindow::resize_event().

friend class BC_PopupTextBoxText [friend] |
friend class BC_PopupTextBoxList [friend] |
int BC_PopupTextBox::x [private] |
Reimplemented in CompressPopup.
Definition at line 243 of file bctextbox.h.
Referenced by create_objects(), and get_x().
int BC_PopupTextBox::y [private] |
Reimplemented in CompressPopup.
Definition at line 243 of file bctextbox.h.
Referenced by create_objects(), and get_y().
int BC_PopupTextBox::text_w [private] |
Definition at line 243 of file bctextbox.h.
int BC_PopupTextBox::list_h [private] |
Definition at line 243 of file bctextbox.h.
char* BC_PopupTextBox::default_text [private] |
Definition at line 244 of file bctextbox.h.
ArrayList<BC_ListBoxItem*>* BC_PopupTextBox::list_items [private] |
Definition at line 245 of file bctextbox.h.
BC_PopupTextBoxText* BC_PopupTextBox::textbox [private] |
Definition at line 246 of file bctextbox.h.
Referenced by create_objects(), get_h(), get_text(), get_w(), BC_PopupTextBoxList::handle_event(), reposition_window(), update(), ~BC_PopupTextBox(), and BC_PopupTextBoxText::~BC_PopupTextBoxText().
BC_PopupTextBoxList* BC_PopupTextBox::listbox [private] |
Definition at line 247 of file bctextbox.h.
Referenced by create_objects(), get_number(), get_w(), reposition_window(), update_list(), and ~BC_PopupTextBox().
BC_WindowBase* BC_PopupTextBox::parent_window [private] |
1.5.5