#include <bctextbox.h>
Inherited by TitleText.

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_ScrollTextBoxText * | text |
| BC_ScrollTextBoxYScroll * | yscroll |
| BC_WindowBase * | parent_window |
| char * | default_text |
| int | x |
| int | y |
| int | w |
| int | rows |
Friends | |
| class | BC_ScrollTextBoxText |
| class | BC_ScrollTextBoxYScroll |
Definition at line 157 of file bctextbox.h.
| 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.
| 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().

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

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

| void BC_ScrollTextBox::reposition_window | ( | int | x, | |
| int | y, | |||
| int | w, | |||
| int | rows | |||
| ) |
Definition at line 1609 of file bctextbox.C.
References BC_TextBox::calculate_row_h(), BC_ScrollBar::get_span(), BC_TextBox::get_text_row(), BC_TextBox::get_text_rows(), parent_window, BC_ScrollBar::reposition_window(), BC_TextBox::reposition_window(), text, BC_ScrollBar::update_length(), and yscroll.
Referenced by TitleWindow::resize_event().

| 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 | ( | ) |
| int BC_ScrollTextBox::get_rows | ( | ) |
friend class BC_ScrollTextBoxText [friend] |
friend class BC_ScrollTextBoxYScroll [friend] |
BC_ScrollTextBoxText* BC_ScrollTextBox::text [private] |
Definition at line 183 of file bctextbox.h.
Referenced by create_objects(), get_text(), BC_ScrollTextBoxYScroll::handle_event(), reposition_window(), ~BC_ScrollTextBox(), and BC_ScrollTextBoxText::~BC_ScrollTextBoxText().
BC_ScrollTextBoxYScroll* BC_ScrollTextBox::yscroll [private] |
Definition at line 184 of file bctextbox.h.
Referenced by create_objects(), BC_ScrollTextBoxText::handle_event(), BC_ScrollTextBoxText::motion_event(), reposition_window(), update(), and ~BC_ScrollTextBox().
BC_WindowBase* BC_ScrollTextBox::parent_window [private] |
Definition at line 185 of file bctextbox.h.
Referenced by create_objects(), and reposition_window().
char* BC_ScrollTextBox::default_text [private] |
Definition at line 186 of file bctextbox.h.
int BC_ScrollTextBox::x [private] |
int BC_ScrollTextBox::y [private] |
int BC_ScrollTextBox::w [private] |
int BC_ScrollTextBox::rows [private] |
1.5.5