#include <statusbar.h>
Inherits BC_SubWindow.

Public Member Functions | |
| StatusBar (MWindow *mwindow, MWindowGUI *gui) | |
| ~StatusBar () | |
| void | set_message (char *text) |
| void | default_message () |
| int | create_objects () |
| void | resize_event () |
Data Fields | |
| MWindow * | mwindow |
| MWindowGUI * | gui |
| BC_ProgressBar * | main_progress |
| StatusBarCancel * | main_progress_cancel |
| BC_Title * | status_text |
Definition at line 10 of file statusbar.h.
| StatusBar::StatusBar | ( | MWindow * | mwindow, | |
| MWindowGUI * | gui | |||
| ) |
Definition at line 14 of file statusbar.C.
| StatusBar::~StatusBar | ( | ) |
Definition at line 24 of file statusbar.C.
| void StatusBar::set_message | ( | char * | text | ) |
Definition at line 83 of file statusbar.C.
References status_text, and BC_Title::update().

| void StatusBar::default_message | ( | ) |
Definition at line 88 of file statusbar.C.
References _, Theme::message_normal, mwindow, BC_Title::set_color(), status_text, MWindow::theme, and BC_Title::update().
Referenced by create_objects(), MWindow::load_filenames(), and MainProgressBar::stop_progress().

| int StatusBar::create_objects | ( | ) |
Definition at line 30 of file statusbar.C.
References BC_WindowBase::add_subwindow(), BC_WindowBase::BC_ProgressBar, BC_WindowBase::BC_Title, default_message(), BC_WindowBase::draw_top_background(), BC_WindowBase::flash(), BC_WindowBase::get_h(), BC_WindowBase::get_parent(), BC_WindowBase::get_w(), main_progress, main_progress_cancel, MEDIUMFONT, Theme::message_normal, Theme::mstatus_cancel_x, Theme::mstatus_cancel_y, Theme::mstatus_message_x, Theme::mstatus_message_y, Theme::mstatus_progress_w, Theme::mstatus_progress_x, Theme::mstatus_progress_y, mwindow, status_text, MWindow::theme, BC_WindowBase::x, and BC_WindowBase::y.
Referenced by MWindowGUI::create_objects().

| void StatusBar::resize_event | ( | ) |
Definition at line 61 of file statusbar.C.
References BC_WindowBase::draw_top_background(), BC_WindowBase::flash(), BC_WindowBase::get_h(), BC_WindowBase::get_parent(), BC_WindowBase::get_w(), main_progress, main_progress_cancel, Theme::mstatus_cancel_x, Theme::mstatus_cancel_y, Theme::mstatus_h, Theme::mstatus_message_x, Theme::mstatus_message_y, Theme::mstatus_progress_x, Theme::mstatus_progress_y, Theme::mstatus_w, Theme::mstatus_x, Theme::mstatus_y, mwindow, BC_Button::reposition_window(), BC_ProgressBar::reposition_window(), BC_WindowBase::reposition_window(), status_text, MWindow::theme, BC_WindowBase::x, and BC_WindowBase::y.
Referenced by MWindowGUI::resize_event().

Definition at line 21 of file statusbar.h.
Referenced by create_objects(), default_message(), and resize_event().
Definition at line 22 of file statusbar.h.
Definition at line 23 of file statusbar.h.
Referenced by create_objects(), resize_event(), and MainProgress::start_progress().
Definition at line 25 of file statusbar.h.
Referenced by create_objects(), default_message(), resize_event(), set_message(), and MWindowGUI::show_message().
1.5.5