BC_PopupTextBox Class Reference

#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.

Collaboration diagram for BC_PopupTextBox:

Collaboration graph
[legend]

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_PopupTextBoxTexttextbox
BC_PopupTextBoxListlistbox
BC_WindowBaseparent_window

Friends

class BC_PopupTextBoxText
class BC_PopupTextBoxList

Detailed Description

Definition at line 215 of file bctextbox.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

int BC_PopupTextBox::create_objects (  ) 

int BC_PopupTextBox::handle_event (  )  [virtual]

char * BC_PopupTextBox::get_text (  ) 

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

void BC_PopupTextBox::update ( char *  text  ) 

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

void BC_PopupTextBox::reposition_window ( int  x,
int  y 
)


Friends And Related Function Documentation

friend class BC_PopupTextBoxText [friend]

Definition at line 239 of file bctextbox.h.

Referenced by create_objects().

friend class BC_PopupTextBoxList [friend]

Definition at line 240 of file bctextbox.h.

Referenced by create_objects().


Field Documentation

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.

Definition at line 244 of file bctextbox.h.

Definition at line 245 of file bctextbox.h.

Definition at line 248 of file bctextbox.h.

Referenced by create_objects().


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

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