BC_RecentList Class Reference

#include <bcrecentlist.h>

Inherits BC_ListBox.

Collaboration diagram for BC_RecentList:

Collaboration graph
[legend]

Public Member Functions

 BC_RecentList (const char *type, BC_Hash *defaults, BC_TextBox *textbox, int max, int x, int y, int w, int h)
 BC_RecentList (const char *type, BC_Hash *defaults)
 BC_RecentList (const char *type, BC_Hash *defaults, BC_TextBox *textbox)
 ~BC_RecentList ()
int handle_event ()
int load_items (const char *prefix=NULL)
int add_item (const char *prefix, char *text)

Data Fields

ArrayList< BC_ListBoxItem * > items

Private Attributes

const char * type
BC_TextBoxtextbox
BC_Hashdefaults

Detailed Description

Definition at line 15 of file bcrecentlist.h.


Constructor & Destructor Documentation

BC_RecentList::BC_RecentList ( const char *  type,
BC_Hash defaults,
BC_TextBox textbox,
int  max,
int  x,
int  y,
int  w,
int  h 
)

Definition at line 10 of file bcrecentlist.C.

References BC_WindowBase::set_tooltip().

Here is the call graph for this function:

BC_RecentList::BC_RecentList ( const char *  type,
BC_Hash defaults 
)

Definition at line 33 of file bcrecentlist.C.

References NULL, and textbox.

BC_RecentList::BC_RecentList ( const char *  type,
BC_Hash defaults,
BC_TextBox textbox 
)

Definition at line 21 of file bcrecentlist.C.

References BC_WindowBase::set_tooltip().

Here is the call graph for this function:

BC_RecentList::~BC_RecentList (  ) 

Definition at line 41 of file bcrecentlist.C.

References items, and ArrayList< TYPE >::remove_all_objects().

Here is the call graph for this function:


Member Function Documentation

int BC_RecentList::handle_event (  )  [virtual]

Reimplemented from BC_ListBox.

Definition at line 45 of file bcrecentlist.C.

References BC_ListBox::get_selection(), BC_ListBoxItem::get_text(), BC_TextBox::handle_event(), BC_ProgressBox::text, textbox, and BC_TextBox::update().

Here is the call graph for this function:

int BC_RecentList::load_items ( const char *  prefix = NULL  ) 

int BC_RecentList::add_item ( const char *  prefix,
char *  text 
)


Field Documentation

const char* BC_RecentList::type [private]

Definition at line 33 of file bcrecentlist.h.

Referenced by add_item(), and load_items().

Definition at line 34 of file bcrecentlist.h.

Referenced by BC_RecentList(), handle_event(), and load_items().

Definition at line 35 of file bcrecentlist.h.

Referenced by add_item(), and load_items().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:15:15 2008 for Cinelerra by  doxygen 1.5.5