vgui/base/COptionVarList.cpp
int COptionVarList::AddItem( Panel *panel )
{
	InvalidateLayout();

	DATAITEM *newitem = new DATAITEM;
	newitem->panel = panel;
	panel->SetParent( _embedded );
	return _dataItems.PutElement( newitem );
}
//-----------------------------------------------------------------------------
// Purpose: adds an item to the view
//			data->GetName() is used to uniquely identify an item
//			data sub items are matched against column header name to be used in the table
// Input  : *item - 
//-----------------------------------------------------------------------------
adds an item to the view
data->GetName() is used to uniquely identify an item
data sub items are matched against column header name to be used in the table
Input  : *item
adds an item to the view data - > GetName () is used to uniquely identify an item data sub items are matched against column header name to be used in the table Input : * item
int COptionVarList::AddItem( Panel *panel )
{
	InvalidateLayout();
	DATAITEM *newitem = new DATAITEM;
	newitem->panel = panel;
	panel->SetParent( _embedded );
	return _dataItems.PutElement( newitem );
}
int COptionVarList :: AddItem ( Panel * panel ) { InvalidateLayout ( ) ; DATAITEM * newitem = new DATAITEM ; newitem -> panel = panel ; panel -> SetParent ( _embedded ) ; return _dataItems . PutElement ( newitem ) ; }
Purpose: adds an item to the view
data->GetName() is used to uniquely identify an item
data sub items are matched against column header name to be used in the table
Input  : *item
Purpose : adds an item to the view data - > GetName () is used to uniquely identify an item data sub items are matched against column header name to be used in the table Input : * item