Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

FileBrowser Class Reference

Inheritance diagram for FileBrowser:

ht_dialog ht_window ht_group ht_view Object List of all members.

Public Member Functions

virtual void init (bounds *b, bounds *clientarea, const char *title, const char *starturl)
virtual bool extract_url (char *buf)
virtual void listbox_changed ()

Protected Attributes

ht_strinputfieldname_input
FileBrowserVfsListboxlistbox

Member Function Documentation

bool FileBrowser::extract_url char *  buf  )  [virtual]
 

Definition at line 274 of file htapp.cc.

References bin2str(), buf, Vfs::canonicalize(), ht_view::databuf_get(), VfsListbox::getCurDir(), VfsListbox::getCurProto(), VfsListbox::getCurVfs(), ht_snprintf(), ht_strinputfield_data, listbox, name_input, and VFS_URL_MAX.

Referenced by file_chooser(), and file_open_dialog().

void FileBrowser::init bounds *  b,
bounds *  clientarea,
const char *  title,
const char *  starturl
[virtual]
 

Definition at line 218 of file htapp.cc.

References VfsListbox::changeURL(), find_atom(), FS_KILLER, FS_MOVE, FS_RESIZE, FS_TITLE, HISTATOM_FILE, FileBrowserVfsListbox::init(), ht_label::init(), ht_strinputfield::init(), Object::init(), ht_window::insert(), listbox, name_input, NULL, and virtual_fs_list.

Referenced by file_chooser(), and file_open_dialog().

void FileBrowser::listbox_changed  )  [virtual]
 

Definition at line 291 of file htapp.cc.

References byte, ht_view::databuf_get(), ht_view::databuf_set(), ht_text_listbox_item::extra_data, FileBrowserVfsListboxData, ht_strinputfield_data, listbox, vfs_extra::name, and name_input.

Referenced by FileBrowserVfsListbox::stateChanged().


Member Data Documentation

FileBrowserVfsListbox* FileBrowser::listbox [protected]
 

Definition at line 195 of file htapp.cc.

Referenced by extract_url(), init(), and listbox_changed().

ht_strinputfield* FileBrowser::name_input [protected]
 

Definition at line 194 of file htapp.cc.

Referenced by extract_url(), init(), and listbox_changed().


The documentation for this class was generated from the following file:
Generated on Fri May 7 21:15:56 2004 by doxygen 1.3.5