Exemplo n.º 1
0
LLScrollListItem* LLNameListCtrl::addElement(const LLSD& element, EAddPosition pos, void* userdata)
{
	LLNameListCtrl::NameItem item_params;
	LLParamSDParser::instance().readSD(element, item_params);
	item_params.userdata = userdata;
	return addNameItemRow(item_params, pos);
}
Exemplo n.º 2
0
// public
void LLNameListCtrl::addGroupNameItem(const LLUUID& group_id, EAddPosition pos,
									  BOOL enabled)
{
	NameItem item;
	item.value = group_id;
	item.enabled = enabled;
	item.target = GROUP;

	addNameItemRow(item, pos);
}
Exemplo n.º 3
0
// public
void LLNameListCtrl::addNameItem(const LLUUID& agent_id, EAddPosition pos,
								 BOOL enabled, const std::string& suffix)
{
	//llinfos << "LLNameListCtrl::addNameItem " << agent_id << llendl;

	NameItem item;
	item.value = agent_id;
	item.enabled = enabled;
	item.target = INDIVIDUAL;

	addNameItemRow(item, pos, suffix);
}
Exemplo n.º 4
0
// public
LLScrollListItem* LLNameListCtrl::addNameItem(const LLUUID& agent_id, EAddPosition pos,
								 BOOL enabled, const std::string& suffix, const std::string& prefix)
{
	//LL_INFOS() << "LLNameListCtrl::addNameItem " << agent_id << LL_ENDL;

	NameItem item;
	item.value = agent_id;
	item.enabled = enabled;
	item.target = INDIVIDUAL;

	return addNameItemRow(item, pos, suffix, prefix);
}
// public
void LLNameListCtrl::addGroupNameItem(const LLUUID& group_id, EAddPosition pos,
									  BOOL enabled)
{
	LLSD item;
	item["id"] = group_id;
	item["enabled"] = enabled;
	item["target"] = GROUP;
	LLSD& column = item["columns"][0];
	column["value"] = "";
	column["font"] = "SANSSERIF";
	column["column"] = "name";

	addNameItemRow(item, pos);
}
// public
LLScrollListItem* LLNameListCtrl::addNameItem(const LLUUID& agent_id, EAddPosition pos,
								 BOOL enabled, const std::string& suffix)
{
	//llinfos << "LLNameListCtrl::addNameItem " << agent_id << llendl;

	LLSD item;
	item["id"] = agent_id;
	item["enabled"] = enabled;
	item["target"] = INDIVIDUAL;
	item["suffix"] = suffix;
	LLSD& column = item["columns"][0];
	column["value"] = "";
	column["font"] = "SANSSERIF";
	column["column"] = "name";
	
	return addNameItemRow(item, pos);
}
Exemplo n.º 7
0
void LLNameListCtrl::addNameItem(LLNameListCtrl::NameItem& item, EAddPosition pos)
{
	item.target = INDIVIDUAL;
	addNameItemRow(item, pos);
}
Exemplo n.º 8
0
// public
void LLNameListCtrl::addGroupNameItem(LLNameListCtrl::NameItem& item, EAddPosition pos)
{
	item.target = GROUP;
	addNameItemRow(item, pos);
}
LLScrollListItem* LLNameListCtrl::addElement(const LLSD& value, EAddPosition pos, void* userdata)
{
	return addNameItemRow(value, pos, userdata);
}
Exemplo n.º 10
0
LLScrollListItem* LLNameListCtrl::addNameItem(LLSD& item, EAddPosition pos)
{
	item["target"] = INDIVIDUAL;
	return addNameItemRow(item, pos);
}
Exemplo n.º 11
0
// public
void LLNameListCtrl::addGroupNameItem(LLSD& item, EAddPosition pos)
{
	item["target"] = GROUP;
	addNameItemRow(item, pos);
}