#include <file_select.H>
Inheritance diagram for FileSelect:
Public Types | |
typedef void(* | file_cb_t )(void *, int, int, str_ptr, str_ptr) |
enum | icon_t { NO_ICON = -1, LOAD_ICON = 0, SAVE_ICON, DISC_ICON, JOT_ICON, ICON_NUM } |
enum | action_t { OK_ACTION = 0, CANCEL_ACTION } |
Public Member Functions | |
FileSelect () | |
virtual | ~FileSelect () |
virtual bool | set_title (Cstr_ptr &s) |
virtual bool | set_action (Cstr_ptr &s) |
virtual bool | set_icon (icon_t i) |
virtual bool | set_path (Cstr_ptr &s) |
virtual bool | set_file (Cstr_ptr &s) |
virtual bool | set_filter (Cstr_ptr &s) |
virtual bool | add_filter (Cstr_ptr &s) |
virtual bool | clear_title () |
virtual bool | clear_action () |
virtual bool | clear_icon () |
virtual bool | clear_path () |
virtual bool | clear_file () |
virtual bool | clear_filter () |
virtual bool | clear_filters () |
virtual str_ptr | get_title () |
virtual str_ptr | get_action () |
virtual icon_t | get_icon () |
virtual str_ptr | get_path () |
virtual str_ptr | get_file () |
virtual str_ptr | get_filter () |
virtual str_list | get_filters () |
virtual bool | is_displaying ()=0 |
virtual bool | display (bool blocking, file_cb_t cb, void *vp, int idx)=0 |
Protected Member Functions | |
virtual bool | undisplay (int button, str_ptr path, str_ptr file)=0 |
Protected Attributes | |
str_ptr | _title |
str_ptr | _action |
icon_t | _icon |
str_ptr | _path |
str_ptr | _file |
int | _filter |
str_list | _filters |
Definition at line 11 of file file_select.H.
|
Definition at line 32 of file file_select.H. |
|
Definition at line 24 of file file_select.H. |
|
Definition at line 15 of file file_select.H. |
|
Definition at line 53 of file file_select.H. |
|
Definition at line 58 of file file_select.H. |
|
Definition at line 68 of file file_select.H. References _filters, ARRAY< T >::add_uniquely(), and is_displaying(). Referenced by set_filter(). |
|
Definition at line 71 of file file_select.H. References _action, and is_displaying(). Referenced by GLUIFileSelect::undisplay(). |
|
Definition at line 74 of file file_select.H. References _file, and is_displaying(). Referenced by GLUIFileSelect::undisplay(). |
|
Definition at line 75 of file file_select.H. References is_displaying(), and set_filter(). Referenced by GLUIFileSelect::undisplay(). |
|
Definition at line 76 of file file_select.H. References _filters, ARRAY< T >::clear(), is_displaying(), and set_filter(). |
|
Definition at line 72 of file file_select.H. References _icon, is_displaying(), and NO_ICON. Referenced by GLUIFileSelect::undisplay(). |
|
Definition at line 73 of file file_select.H. References _path, is_displaying(), and Config::JOT_ROOT(). |
|
Definition at line 70 of file file_select.H. References _title, and is_displaying(). Referenced by GLUIFileSelect::undisplay(). |
|
|
|
Definition at line 79 of file file_select.H. References _action. |
|
Definition at line 82 of file file_select.H. References _file. |
|
Definition at line 83 of file file_select.H. |
|
Definition at line 84 of file file_select.H. References _filters. |
|
Definition at line 80 of file file_select.H. References _icon. |
|
Definition at line 81 of file file_select.H. References _path. |
|
Definition at line 78 of file file_select.H. References _title. |
|
Implemented in GLUIFileSelect. Referenced by add_filter(), clear_action(), clear_file(), clear_filter(), clear_filters(), clear_icon(), clear_path(), clear_title(), set_action(), set_file(), set_filter(), set_icon(), set_path(), and set_title(). |
|
Definition at line 63 of file file_select.H. References _action, and is_displaying(). |
|
Definition at line 66 of file file_select.H. References _file, and is_displaying(). |
|
Definition at line 67 of file file_select.H. References _filter, _filters, add_filter(), ARRAY< T >::get_index(), and is_displaying(). Referenced by clear_filter(), clear_filters(), load_cb(), and save_cb(). |
|
Definition at line 64 of file file_select.H. References _icon, and is_displaying(). |
|
Definition at line 65 of file file_select.H. References _path, and is_displaying(). |
|
Definition at line 62 of file file_select.H. References _title, and is_displaying(). |
|
Implemented in GLUIFileSelect. |
|
Definition at line 44 of file file_select.H. Referenced by GLUIFileSelect::build_glui(), clear_action(), get_action(), set_action(), and GLUIFileSelect::update_actions(). |
|
Definition at line 47 of file file_select.H. Referenced by GLUIFileSelect::button_cb(), clear_file(), get_file(), GLUIFileSelect::init(), set_file(), and GLUIFileSelect::undisplay(). |
|
Definition at line 48 of file file_select.H. Referenced by GLUIFileSelect::button_cb(), FileSelect(), GLUIFileSelect::generate_dir_contents(), get_filter(), GLUIFileSelect::listbox_cb(), set_filter(), and GLUIFileSelect::update_actions(). |
|
Definition at line 49 of file file_select.H. Referenced by add_filter(), GLUIFileSelect::button_cb(), clear_filters(), FileSelect(), GLUIFileSelect::generate_dir_contents(), get_filter(), get_filters(), set_filter(), and GLUIFileSelect::update_actions(). |
|
Definition at line 45 of file file_select.H. Referenced by GLUIFileSelect::build_glui(), clear_icon(), get_icon(), and set_icon(). |
|
Definition at line 46 of file file_select.H. Referenced by GLUIFileSelect::button_cb(), clear_path(), get_path(), GLUIFileSelect::init(), set_path(), and GLUIFileSelect::undisplay(). |
|
Definition at line 43 of file file_select.H. Referenced by GLUIFileSelect::build_glui(), clear_title(), get_title(), and set_title(). |