BC_ScrollTextBox Class Reference

#include <bctextbox.h>

Inherited by TitleText.

Collaboration diagram for BC_ScrollTextBox:

Collaboration graph
[legend]

Public Member Functions

 BC_ScrollTextBox (BC_WindowBase *parent_window, int x, int y, int w, int rows, char *default_text)
virtual ~BC_ScrollTextBox ()
void create_objects ()
virtual int handle_event ()
char * get_text ()
void update (char *text)
void reposition_window (int x, int y, int w, int rows)
int get_x ()
int get_y ()
int get_w ()
int get_rows ()

Private Attributes

BC_ScrollTextBoxTexttext
BC_ScrollTextBoxYScrollyscroll
BC_WindowBaseparent_window
char * default_text
int x
int y
int w
int rows

Friends

class BC_ScrollTextBoxText
class BC_ScrollTextBoxYScroll

Detailed Description

Definition at line 157 of file bctextbox.h.


Constructor & Destructor Documentation

BC_ScrollTextBox::BC_ScrollTextBox ( BC_WindowBase parent_window,
int  x,
int  y,
int  w,
int  rows,
char *  default_text 
)

Definition at line 1538 of file bctextbox.C.

BC_ScrollTextBox::~BC_ScrollTextBox (  )  [virtual]

Definition at line 1553 of file bctextbox.C.

References BC_ScrollTextBoxText::gui, text, and yscroll.


Member Function Documentation

void BC_ScrollTextBox::create_objects (  ) 

Definition at line 1563 of file bctextbox.C.

References BC_WindowBase::add_subwindow(), BC_ScrollTextBoxText, BC_ScrollTextBoxYScroll, parent_window, text, and yscroll.

Referenced by TitleWindow::create_objects().

Here is the call graph for this function:

int BC_ScrollTextBox::handle_event (  )  [virtual]

Reimplemented in TitleText.

Definition at line 1570 of file bctextbox.C.

Referenced by BC_ScrollTextBoxText::handle_event().

char * BC_ScrollTextBox::get_text (  ) 

Definition at line 1596 of file bctextbox.C.

References BC_TextBox::get_text(), and text.

Referenced by TitleText::handle_event().

Here is the call graph for this function:

void BC_ScrollTextBox::update ( char *  text  ) 

Definition at line 1601 of file bctextbox.C.

References BC_ScrollBar::get_handlelength(), BC_ScrollBar::update_length(), and yscroll.

Referenced by TitleWindow::update().

Here is the call graph for this function:

void BC_ScrollTextBox::reposition_window ( int  x,
int  y,
int  w,
int  rows 
)

int BC_ScrollTextBox::get_x (  ) 

Definition at line 1575 of file bctextbox.C.

References x.

Referenced by TitleWindow::resize_event().

int BC_ScrollTextBox::get_y (  ) 

Definition at line 1580 of file bctextbox.C.

References y.

Referenced by TitleWindow::resize_event().

int BC_ScrollTextBox::get_w (  ) 

Definition at line 1585 of file bctextbox.C.

References w.

int BC_ScrollTextBox::get_rows (  ) 

Definition at line 1590 of file bctextbox.C.

References rows.


Friends And Related Function Documentation

friend class BC_ScrollTextBoxText [friend]

Definition at line 179 of file bctextbox.h.

Referenced by create_objects().

friend class BC_ScrollTextBoxYScroll [friend]

Definition at line 180 of file bctextbox.h.

Referenced by create_objects().


Field Documentation

Definition at line 185 of file bctextbox.h.

Referenced by create_objects(), and reposition_window().

Definition at line 186 of file bctextbox.h.

int BC_ScrollTextBox::x [private]

Definition at line 187 of file bctextbox.h.

Referenced by get_x().

int BC_ScrollTextBox::y [private]

Definition at line 187 of file bctextbox.h.

Referenced by get_y().

int BC_ScrollTextBox::w [private]

Definition at line 187 of file bctextbox.h.

Referenced by get_w().

int BC_ScrollTextBox::rows [private]

Definition at line 187 of file bctextbox.h.

Referenced by get_rows().


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

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