Changeset View
Changeset View
Standalone View
Standalone View
source/gui/ObjectTypes/CList.cpp
Show First 20 Lines • Show All 406 Lines • ▼ Show 20 Lines | void CList::AddItem(const CGUIString& str, const CGUIString& data) | ||||
SetupText(true); | SetupText(true); | ||||
} | } | ||||
void CList::AddItem(const CGUIString& strAndData) | void CList::AddItem(const CGUIString& strAndData) | ||||
{ | { | ||||
AddItem(strAndData, strAndData); | AddItem(strAndData, strAndData); | ||||
} | } | ||||
bool CList::HandleAdditionalChildren(const XMBElement& child, CXeromyces* pFile) | bool CList::HandleAdditionalChildren(const XMBFile& file, const XMBElement& child) | ||||
{ | { | ||||
int elmt_item = pFile->GetElementID("item"); | int elmt_item = file.GetElementID("item"); | ||||
if (child.GetNodeName() == elmt_item) | if (child.GetNodeName() == elmt_item) | ||||
{ | { | ||||
CGUIString vlist; | CGUIString vlist; | ||||
vlist.SetValue(child.GetText().FromUTF8()); | vlist.SetValue(child.GetText().FromUTF8()); | ||||
AddItem(vlist, vlist); | AddItem(vlist, vlist); | ||||
return true; | return true; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 79 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator