BC_ListBoxItem Class Reference

#include <bclistboxitem.h>

Inherited by AssetPicon, ColormodelItem, FormatPresetItem, InterlacefixmethodItem, InterlacemodeItem, LoadModeItem, NewPresetItem, and RenderProfileItem.

Collaboration diagram for BC_ListBoxItem:

Collaboration graph
[legend]

Public Member Functions

 BC_ListBoxItem ()
 BC_ListBoxItem (char *text, int color=-1)
 BC_ListBoxItem (char *text, BC_Pixmap *icon, int color=-1)
virtual ~BC_ListBoxItem ()
BC_ListBoxItemoperator= (BC_ListBoxItem &item)
void copy_from (BC_ListBoxItem *item)
void set_text (char *new_text)
char * get_text ()
void set_icon (BC_Pixmap *icon)
void set_icon_vframe (VFrame *icon_vframe)
int get_icon_x ()
int get_icon_y ()
int get_text_x ()
int get_text_y ()
void set_icon_x (int x)
void set_icon_y (int y)
void set_text_x (int x)
void set_text_y (int y)
void set_color (int color)
void set_searchable (int value)
int get_color ()
void set_selected (int value)
int set_autoplace_icon (int value)
int set_autoplace_text (int value)
void set_selectable (int value)
int get_selectable ()
ArrayList< BC_ListBoxItem * > * new_sublist (int columns)
ArrayList< BC_ListBoxItem * > * get_sublist ()
int get_columns ()
int get_expand ()
void set_expand (int value)

Private Member Functions

int initialize ()
int get_icon_w ()
int get_icon_h ()

Private Attributes

BC_Pixmapicon
VFrameicon_vframe
int icon_x
int icon_y
int text_x
int text_y
int autoplace_icon
int autoplace_text
char * text
int color
int selected
int searchable
ArrayList< BC_ListBoxItem * > * sublist
int columns
int expand
int selectable

Friends

class BC_ListBox

Detailed Description

Definition at line 12 of file bclistboxitem.h.


Constructor & Destructor Documentation

BC_ListBoxItem::BC_ListBoxItem (  ) 

Definition at line 11 of file bclistboxitem.C.

References color, BC_WindowBase::get_resources(), initialize(), BC_Resources::listbox_text, selectable, and text.

Here is the call graph for this function:

BC_ListBoxItem::BC_ListBoxItem ( char *  text,
int  color = -1 
)

Definition at line 36 of file bclistboxitem.C.

References BC_WindowBase::get_resources(), initialize(), BC_Resources::listbox_text, and selectable.

Here is the call graph for this function:

BC_ListBoxItem::BC_ListBoxItem ( char *  text,
BC_Pixmap icon,
int  color = -1 
)

Definition at line 21 of file bclistboxitem.C.

References BC_WindowBase::get_resources(), initialize(), BC_Resources::listbox_text, and selectable.

Here is the call graph for this function:

BC_ListBoxItem::~BC_ListBoxItem (  )  [virtual]

Definition at line 47 of file bclistboxitem.C.

References columns, sublist, and text.


Member Function Documentation

BC_ListBoxItem & BC_ListBoxItem::operator= ( BC_ListBoxItem item  ) 

Definition at line 203 of file bclistboxitem.C.

References copy_from().

Here is the call graph for this function:

void BC_ListBoxItem::copy_from ( BC_ListBoxItem item  ) 

Definition at line 209 of file bclistboxitem.C.

References ArrayList< TYPE >::append(), color, columns, copy_from(), get_sublist(), icon_x, icon_y, selectable, set_text(), sublist, text, text_x, text_y, ArrayList< TYPE >::total, and ArrayList< TYPE >::values.

Referenced by copy_from(), and operator=().

Here is the call graph for this function:

void BC_ListBoxItem::set_text ( char *  new_text  ) 

char * BC_ListBoxItem::get_text (  ) 

void BC_ListBoxItem::set_icon ( BC_Pixmap icon  ) 

Definition at line 182 of file bclistboxitem.C.

Referenced by AssetPicon::create_objects().

void BC_ListBoxItem::set_icon_vframe ( VFrame icon_vframe  ) 

Definition at line 187 of file bclistboxitem.C.

Referenced by AssetPicon::create_objects().

int BC_ListBoxItem::get_icon_x (  ) 

Definition at line 78 of file bclistboxitem.C.

References icon_x.

int BC_ListBoxItem::get_icon_y (  ) 

Definition at line 83 of file bclistboxitem.C.

References icon_y.

int BC_ListBoxItem::get_text_x (  ) 

Definition at line 88 of file bclistboxitem.C.

References text_x.

Referenced by BC_ListBox::dump().

int BC_ListBoxItem::get_text_y (  ) 

Definition at line 93 of file bclistboxitem.C.

References text_y.

Referenced by BC_ListBox::dump().

void BC_ListBoxItem::set_icon_x ( int  x  ) 

Definition at line 110 of file bclistboxitem.C.

References autoplace_icon, and icon_x.

Referenced by BC_ListBox::calculate_item_coords_recursive().

void BC_ListBoxItem::set_icon_y ( int  y  ) 

Definition at line 116 of file bclistboxitem.C.

References autoplace_icon, and icon_y.

Referenced by BC_ListBox::calculate_item_coords_recursive().

void BC_ListBoxItem::set_text_x ( int  x  ) 

Definition at line 144 of file bclistboxitem.C.

References autoplace_text, and text_x.

Referenced by BC_ListBox::calculate_item_coords_recursive().

void BC_ListBoxItem::set_text_y ( int  y  ) 

Definition at line 149 of file bclistboxitem.C.

References autoplace_text, and text_y.

Referenced by BC_ListBox::calculate_item_coords_recursive().

void BC_ListBoxItem::set_color ( int  color  ) 

Definition at line 192 of file bclistboxitem.C.

Referenced by BatchRenderGUI::create_list(), and RecordGUI::flash_batch().

void BC_ListBoxItem::set_searchable ( int  value  ) 

Definition at line 127 of file bclistboxitem.C.

References searchable.

Referenced by BC_FileBox::create_tables().

int BC_ListBoxItem::get_color (  ) 

Definition at line 197 of file bclistboxitem.C.

References color.

Referenced by BC_FileBoxListBox::evaluate_query().

void BC_ListBoxItem::set_selected ( int  value  ) 

int BC_ListBoxItem::set_autoplace_icon ( int  value  ) 

Definition at line 98 of file bclistboxitem.C.

References autoplace_icon.

Referenced by AWindowGUI::sort_picons().

int BC_ListBoxItem::set_autoplace_text ( int  value  ) 

Definition at line 104 of file bclistboxitem.C.

References autoplace_text.

Referenced by AWindowGUI::copy_picons(), and AWindowGUI::sort_picons().

void BC_ListBoxItem::set_selectable ( int  value  ) 

Definition at line 132 of file bclistboxitem.C.

References selectable.

int BC_ListBoxItem::get_selectable (  ) 

Definition at line 137 of file bclistboxitem.C.

References selectable.

ArrayList< BC_ListBoxItem * > * BC_ListBoxItem::new_sublist ( int  columns  ) 

Definition at line 237 of file bclistboxitem.C.

References sublist.

ArrayList< BC_ListBoxItem * > * BC_ListBoxItem::get_sublist (  ) 

int BC_ListBoxItem::get_columns (  ) 

int BC_ListBoxItem::get_expand (  ) 

void BC_ListBoxItem::set_expand ( int  value  ) 

Definition at line 259 of file bclistboxitem.C.

References expand.

int BC_ListBoxItem::initialize (  )  [private]

int BC_ListBoxItem::get_icon_w (  )  [private]

Definition at line 155 of file bclistboxitem.C.

References BC_Pixmap::get_w(), and icon.

Here is the call graph for this function:

int BC_ListBoxItem::get_icon_h (  )  [private]

Definition at line 160 of file bclistboxitem.C.

References BC_Pixmap::get_h(), and icon.

Here is the call graph for this function:


Friends And Related Function Documentation

friend class BC_ListBox [friend]

Definition at line 31 of file bclistboxitem.h.


Field Documentation

Reimplemented in AssetPicon.

Definition at line 74 of file bclistboxitem.h.

Referenced by BC_ListBox::drag_start_event(), and initialize().

int BC_ListBoxItem::icon_x [private]

int BC_ListBoxItem::icon_y [private]

int BC_ListBoxItem::text_x [private]

Definition at line 78 of file bclistboxitem.h.

Referenced by copy_from(), BC_ListBox::get_item_x(), get_text_x(), initialize(), and set_text_x().

int BC_ListBoxItem::text_y [private]

char* BC_ListBoxItem::text [private]

int BC_ListBoxItem::color [private]

int BC_ListBoxItem::selected [private]

Definition at line 88 of file bclistboxitem.h.

Referenced by initialize(), and set_searchable().

Definition at line 92 of file bclistboxitem.h.

Referenced by copy_from(), get_sublist(), initialize(), new_sublist(), and ~BC_ListBoxItem().

int BC_ListBoxItem::columns [private]

Definition at line 94 of file bclistboxitem.h.

Referenced by copy_from(), get_columns(), initialize(), and ~BC_ListBoxItem().

int BC_ListBoxItem::expand [private]


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

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