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

BC_FileBox Class Reference

#include <bcfilebox.h>

Inheritance diagram for BC_FileBox:

BC_Window BC_WindowBase BC_RelocatableWidget List of all members.

Public Member Functions

 BC_FileBox (int x, int y, char *init_path, char *title, char *caption, int show_all_files=0, int want_directory=0, int multiple_files=0, int h_padding=0)
virtual ~BC_FileBox ()
virtual int create_objects ()
virtual int keypress_event ()
virtual int close_event ()
virtual int handle_event ()
void create_history ()
void update_history ()
int refresh ()
char * get_submitted_path ()
char * get_current_path ()
char * get_path (int selection)
int update_filter (char *filter)
virtual int resize_event (int w, int h)
char * get_newfolder_title ()
char * get_delete_title ()
void delete_files ()
BC_Buttonget_ok_button ()
BC_Buttonget_cancel_button ()

Public Attributes

FileSystemfs

Private Member Functions

int create_icons ()
int extract_extension (char *out, const char *in)
int create_tables ()
int delete_tables ()
int submit_dir (char *dir)
int submit_file (char *path, int use_this=0)
void move_column (int src, int dst)
int get_display_mode ()
int get_listbox_w ()
int get_listbox_h (int y)
void create_listbox (int x, int y, int mode)
BC_Pixmapget_icon (char *path, int is_dir)
int column_of_type (int type)

Static Private Member Functions

static char * columntype_to_text (int type)

Private Attributes

BC_Pixmapicons [TOTAL_ICONS]
BC_FileBoxRecentrecent_popup
BC_FileBoxTextBoxtextbox
BC_FileBoxListBoxlistbox
BC_FileBoxFilterTextfilter_text
BC_FileBoxFilterMenufilter_popup
BC_TextBoxdirectory_title
BC_Buttonicon_button
BC_Buttontext_button
BC_Buttonfolder_button
BC_Buttonupdir_button
BC_Buttondelete_button
BC_Buttonreload_button
BC_Buttonok_button
BC_Buttoncancel_button
BC_FileBoxUseThisusethis_button
char caption [BCTEXTLEN]
char current_path [BCTEXTLEN]
char submitted_path [BCTEXTLEN]
char directory [BCTEXTLEN]
char filename [BCTEXTLEN]
char string [BCTEXTLEN]
int want_directory
int select_multiple
int sort_column
int sort_order
char * column_titles [FILEBOX_COLUMNS]
ArrayList< BC_ListBoxItem * > filter_list
ArrayList< BC_ListBoxItem * > * list_column
int * column_type
int * column_width
int columns
char new_folder_title [BCTEXTLEN]
BC_NewFolderThreadnewfolder_thread
BC_DeleteThreaddelete_thread
int h_padding
ArrayList< BC_ListBoxItem * > recent_dirs

Friends

class BC_FileBoxCancel
class BC_FileBoxListBox
class BC_FileBoxTextBox
class BC_FileBoxText
class BC_FileBoxIcons
class BC_FileBoxNewfolder
class BC_FileBoxOK
class BC_NewFolderThread
class BC_FileBoxUpdir
class BC_FileBoxFilterText
class BC_FileBoxFilterMenu
class BC_FileBoxUseThis
class BC_DeleteThread
class BC_FileBoxDelete
class BC_FileBoxReload
class BC_FileBoxRecent

Detailed Description

Definition at line 177 of file bcfilebox.h.


Constructor & Destructor Documentation

BC_FileBox::BC_FileBox int  x,
int  y,
char *  init_path,
char *  title,
char *  caption,
int  show_all_files = 0,
int  want_directory = 0,
int  multiple_files = 0,
int  h_padding = 0
 

Definition at line 397 of file bcfilebox.C.

BC_FileBox::~BC_FileBox  )  [virtual]
 

Definition at line 488 of file bcfilebox.C.


Member Function Documentation

int BC_FileBox::close_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 692 of file bcfilebox.C.

int BC_FileBox::column_of_type int  type  )  [private]
 

Definition at line 866 of file bcfilebox.C.

char * BC_FileBox::columntype_to_text int  type  )  [static, private]
 

Definition at line 846 of file bcfilebox.C.

void BC_FileBox::create_history  ) 
 

Definition at line 1068 of file bcfilebox.C.

int BC_FileBox::create_icons  )  [private]
 

Definition at line 613 of file bcfilebox.C.

void BC_FileBox::create_listbox int  x,
int  y,
int  mode
[private]
 

Definition at line 1087 of file bcfilebox.C.

int BC_FileBox::create_objects  )  [virtual]
 

Definition at line 504 of file bcfilebox.C.

int BC_FileBox::create_tables  )  [private]
 

Definition at line 720 of file bcfilebox.C.

void BC_FileBox::delete_files  ) 
 

Definition at line 1160 of file bcfilebox.C.

int BC_FileBox::delete_tables  )  [private]
 

Definition at line 811 of file bcfilebox.C.

int BC_FileBox::extract_extension char *  out,
const char *  in
[private]
 

Definition at line 703 of file bcfilebox.C.

BC_Button * BC_FileBox::get_cancel_button  ) 
 

Definition at line 1183 of file bcfilebox.C.

char * BC_FileBox::get_current_path  ) 
 

Definition at line 1124 of file bcfilebox.C.

char * BC_FileBox::get_delete_title  ) 
 

Definition at line 1145 of file bcfilebox.C.

int BC_FileBox::get_display_mode  )  [private]
 

Definition at line 1082 of file bcfilebox.C.

BC_Pixmap * BC_FileBox::get_icon char *  path,
int  is_dir
[private]
 

Definition at line 820 of file bcfilebox.C.

int BC_FileBox::get_listbox_h int  y  )  [private]
 

Definition at line 600 of file bcfilebox.C.

int BC_FileBox::get_listbox_w  )  [private]
 

Definition at line 595 of file bcfilebox.C.

char * BC_FileBox::get_newfolder_title  ) 
 

Definition at line 1130 of file bcfilebox.C.

BC_Button * BC_FileBox::get_ok_button  ) 
 

Definition at line 1178 of file bcfilebox.C.

char * BC_FileBox::get_path int  selection  ) 
 

Definition at line 1100 of file bcfilebox.C.

char * BC_FileBox::get_submitted_path  ) 
 

Definition at line 1119 of file bcfilebox.C.

int BC_FileBox::handle_event  )  [virtual]
 

Definition at line 698 of file bcfilebox.C.

int BC_FileBox::keypress_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 680 of file bcfilebox.C.

void BC_FileBox::move_column int  src,
int  dst
[private]
 

Definition at line 902 of file bcfilebox.C.

int BC_FileBox::refresh  ) 
 

Definition at line 875 of file bcfilebox.C.

int BC_FileBox::resize_event int  w,
int  h
[virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 624 of file bcfilebox.C.

int BC_FileBox::submit_dir char *  dir  )  [private]
 

Definition at line 959 of file bcfilebox.C.

int BC_FileBox::submit_file char *  path,
int  use_this = 0
[private]
 

Definition at line 975 of file bcfilebox.C.

int BC_FileBox::update_filter char *  filter  ) 
 

Definition at line 891 of file bcfilebox.C.

void BC_FileBox::update_history  ) 
 

Definition at line 1024 of file bcfilebox.C.


Friends And Related Function Documentation

friend class BC_DeleteThread [friend]
 

Definition at line 205 of file bcfilebox.h.

friend class BC_FileBoxCancel [friend]
 

Definition at line 193 of file bcfilebox.h.

friend class BC_FileBoxDelete [friend]
 

Definition at line 206 of file bcfilebox.h.

friend class BC_FileBoxFilterMenu [friend]
 

Definition at line 203 of file bcfilebox.h.

friend class BC_FileBoxFilterText [friend]
 

Definition at line 202 of file bcfilebox.h.

friend class BC_FileBoxIcons [friend]
 

Definition at line 197 of file bcfilebox.h.

friend class BC_FileBoxListBox [friend]
 

Definition at line 194 of file bcfilebox.h.

friend class BC_FileBoxNewfolder [friend]
 

Definition at line 198 of file bcfilebox.h.

friend class BC_FileBoxOK [friend]
 

Definition at line 199 of file bcfilebox.h.

friend class BC_FileBoxRecent [friend]
 

Definition at line 208 of file bcfilebox.h.

friend class BC_FileBoxReload [friend]
 

Definition at line 207 of file bcfilebox.h.

friend class BC_FileBoxText [friend]
 

Definition at line 196 of file bcfilebox.h.

friend class BC_FileBoxTextBox [friend]
 

Definition at line 195 of file bcfilebox.h.

friend class BC_FileBoxUpdir [friend]
 

Definition at line 201 of file bcfilebox.h.

friend class BC_FileBoxUseThis [friend]
 

Definition at line 204 of file bcfilebox.h.

friend class BC_NewFolderThread [friend]
 

Definition at line 200 of file bcfilebox.h.


Member Data Documentation

BC_Button * BC_FileBox::cancel_button [private]
 

Definition at line 270 of file bcfilebox.h.

char BC_FileBox::caption[BCTEXTLEN] [private]
 

Definition at line 272 of file bcfilebox.h.

char* BC_FileBox::column_titles[FILEBOX_COLUMNS] [private]
 

Definition at line 284 of file bcfilebox.h.

int* BC_FileBox::column_type [private]
 

Definition at line 287 of file bcfilebox.h.

int* BC_FileBox::column_width [private]
 

Definition at line 288 of file bcfilebox.h.

int BC_FileBox::columns [private]
 

Definition at line 290 of file bcfilebox.h.

char BC_FileBox::current_path[BCTEXTLEN] [private]
 

Definition at line 273 of file bcfilebox.h.

BC_Button * BC_FileBox::delete_button [private]
 

Definition at line 269 of file bcfilebox.h.

BC_DeleteThread* BC_FileBox::delete_thread [private]
 

Definition at line 294 of file bcfilebox.h.

char BC_FileBox::directory[BCTEXTLEN] [private]
 

Definition at line 275 of file bcfilebox.h.

BC_TextBox* BC_FileBox::directory_title [private]
 

Definition at line 268 of file bcfilebox.h.

char BC_FileBox::filename[BCTEXTLEN] [private]
 

Definition at line 276 of file bcfilebox.h.

ArrayList<BC_ListBoxItem*> BC_FileBox::filter_list [private]
 

Definition at line 285 of file bcfilebox.h.

BC_FileBoxFilterMenu* BC_FileBox::filter_popup [private]
 

Definition at line 267 of file bcfilebox.h.

BC_FileBoxFilterText* BC_FileBox::filter_text [private]
 

Definition at line 266 of file bcfilebox.h.

BC_Button * BC_FileBox::folder_button [private]
 

Definition at line 269 of file bcfilebox.h.

FileSystem* BC_FileBox::fs
 

Definition at line 239 of file bcfilebox.h.

int BC_FileBox::h_padding [private]
 

Definition at line 295 of file bcfilebox.h.

BC_Button* BC_FileBox::icon_button [private]
 

Definition at line 269 of file bcfilebox.h.

BC_Pixmap* BC_FileBox::icons[TOTAL_ICONS] [private]
 

Definition at line 262 of file bcfilebox.h.

ArrayList<BC_ListBoxItem*>* BC_FileBox::list_column [private]
 

Definition at line 286 of file bcfilebox.h.

BC_FileBoxListBox* BC_FileBox::listbox [private]
 

Definition at line 265 of file bcfilebox.h.

char BC_FileBox::new_folder_title[BCTEXTLEN] [private]
 

Definition at line 292 of file bcfilebox.h.

BC_NewFolderThread* BC_FileBox::newfolder_thread [private]
 

Definition at line 293 of file bcfilebox.h.

BC_Button* BC_FileBox::ok_button [private]
 

Definition at line 270 of file bcfilebox.h.

ArrayList<BC_ListBoxItem*> BC_FileBox::recent_dirs [private]
 

Definition at line 296 of file bcfilebox.h.

BC_FileBoxRecent* BC_FileBox::recent_popup [private]
 

Definition at line 263 of file bcfilebox.h.

BC_Button * BC_FileBox::reload_button [private]
 

Definition at line 269 of file bcfilebox.h.

int BC_FileBox::select_multiple [private]
 

Definition at line 279 of file bcfilebox.h.

int BC_FileBox::sort_column [private]
 

Definition at line 281 of file bcfilebox.h.

int BC_FileBox::sort_order [private]
 

Definition at line 282 of file bcfilebox.h.

char BC_FileBox::string[BCTEXTLEN] [private]
 

Definition at line 277 of file bcfilebox.h.

char BC_FileBox::submitted_path[BCTEXTLEN] [private]
 

Definition at line 274 of file bcfilebox.h.

BC_Button * BC_FileBox::text_button [private]
 

Definition at line 269 of file bcfilebox.h.

BC_FileBoxTextBox* BC_FileBox::textbox [private]
 

Definition at line 264 of file bcfilebox.h.

BC_Button * BC_FileBox::updir_button [private]
 

Definition at line 269 of file bcfilebox.h.

BC_FileBoxUseThis* BC_FileBox::usethis_button [private]
 

Definition at line 271 of file bcfilebox.h.

int BC_FileBox::want_directory [private]
 

Definition at line 278 of file bcfilebox.h.


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:26:37 2006 for Guicast-svn by  doxygen 1.4.4