#include <bcbar.h>
Inherits BC_SubWindow.

Public Member Functions | |
| BC_Bar (int x, int y, int w, VFrame *data=0) | |
| virtual | ~BC_Bar () |
| int | initialize () |
| void | set_image (VFrame *data) |
| void | draw () |
| int | reposition_window (int x, int y, int w) |
| int | resize_event (int w, int h) |
Data Fields | |
| BC_Pixmap * | image |
| VFrame * | data |
Definition at line 8 of file bcbar.h.
| int BC_Bar::initialize | ( | ) | [virtual] |
Reimplemented from BC_SubWindow.
Definition at line 21 of file bcbar.C.
References data, draw(), BC_WindowBase::get_resources(), BC_SubWindow::initialize(), and set_image().

| void BC_Bar::set_image | ( | VFrame * | data | ) |
Definition at line 35 of file bcbar.C.
References BC_WindowBase::BC_Pixmap, BC_WindowBase::h, and BC_WindowBase::parent_window.
Referenced by initialize().
| void BC_Bar::draw | ( | ) |
Definition at line 56 of file bcbar.C.
References BC_WindowBase::draw_3segmenth(), BC_WindowBase::draw_top_background(), BC_WindowBase::flash(), BC_WindowBase::h, BC_WindowBase::parent_window, and BC_WindowBase::w.
Referenced by initialize(), and reposition_window().

| int BC_Bar::reposition_window | ( | int | x, | |
| int | y, | |||
| int | w | |||
| ) |
Definition at line 42 of file bcbar.C.
References draw(), and BC_WindowBase::reposition_window().
Referenced by resize_event().

| int BC_Bar::resize_event | ( | int | w, | |
| int | h | |||
| ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 49 of file bcbar.C.
References BC_WindowBase::get_w(), reposition_window(), BC_WindowBase::x, and BC_WindowBase::y.

1.5.5