#include <browsebutton.h>
Inherits BC_Button, and Thread.
Inherited by AssetEditPath.

Public Member Functions | |
| BrowseButton (MWindow *mwindow, BC_WindowBase *parent_window, BC_TextBox *textbox, int x, int y, char *init_directory, char *title, char *caption, int want_directory=0, const char *recent_prefix=NULL) | |
| ~BrowseButton () | |
| int | handle_event () |
| void | run () |
Data Fields | |
| int | want_directory |
| char | result [1024] |
| char * | title |
| char * | caption |
| char * | init_directory |
| BC_TextBox * | textbox |
| MWindow * | mwindow |
| BC_WindowBase * | parent_window |
| BrowseButtonWindow * | gui |
| Mutex * | startup_lock |
| int | x |
| int | y |
| const char * | recent_prefix |
Definition at line 11 of file browsebutton.h.
| BrowseButton::BrowseButton | ( | MWindow * | mwindow, | |
| BC_WindowBase * | parent_window, | |||
| BC_TextBox * | textbox, | |||
| int | x, | |||
| int | y, | |||
| char * | init_directory, | |||
| char * | title, | |||
| char * | caption, | |||
| int | want_directory = 0, |
|||
| const char * | recent_prefix = NULL | |||
| ) |
Definition at line 10 of file browsebutton.C.
References _, gui, BC_WindowBase::set_tooltip(), and startup_lock.

| BrowseButton::~BrowseButton | ( | ) |
Definition at line 36 of file browsebutton.C.
References gui, Thread::join(), Mutex::lock(), BC_WindowBase::lock_window(), BC_WindowBase::set_done(), startup_lock, Mutex::unlock(), and BC_WindowBase::unlock_window().

| int BrowseButton::handle_event | ( | ) | [virtual] |
Reimplemented from BC_Button.
Definition at line 50 of file browsebutton.C.
References BC_WindowBase::get_abs_cursor_x(), BC_WindowBase::get_abs_cursor_y(), gui, Mutex::lock(), BC_WindowBase::lock_window(), parent_window, BC_WindowBase::raise_window(), Thread::running(), Thread::start(), startup_lock, Mutex::unlock(), BC_WindowBase::unlock_window(), x, and y.

| void BrowseButton::run | ( | ) | [virtual] |
Implements Thread.
Definition at line 73 of file browsebutton.C.
References caption, BC_WindowBase::flush(), BC_TextBox::get_text(), gui, BC_TextBox::handle_event(), Mutex::lock(), mwindow, parent_window, startup_lock, textbox, title, Mutex::unlock(), BC_TextBox::update(), and want_directory.

| char BrowseButton::result[1024] |
Definition at line 29 of file browsebutton.h.
| char* BrowseButton::title |
Reimplemented from BC_WindowBase.
Definition at line 30 of file browsebutton.h.
Referenced by run().
| char* BrowseButton::caption |
Definition at line 32 of file browsebutton.h.
Reimplemented from BC_WindowBase.
Definition at line 35 of file browsebutton.h.
Referenced by handle_event(), and run().
Definition at line 36 of file browsebutton.h.
Referenced by BrowseButton(), handle_event(), run(), and ~BrowseButton().
Definition at line 37 of file browsebutton.h.
Referenced by BrowseButton(), handle_event(), run(), and ~BrowseButton().
| int BrowseButton::x |
Reimplemented from BC_WindowBase.
Definition at line 38 of file browsebutton.h.
Referenced by handle_event().
| int BrowseButton::y |
Reimplemented from BC_WindowBase.
Definition at line 38 of file browsebutton.h.
Referenced by handle_event().
| const char* BrowseButton::recent_prefix |
Definition at line 39 of file browsebutton.h.
1.5.5