Add listitem support to the ui class generation tool

master
Martín Capello 2021-10-15 10:20:39 -03:00 committed by David Capello
parent e9e515c03f
commit d1e02cc3c1
1 changed files with 3 additions and 0 deletions

View File

@ -133,6 +133,9 @@ static Item convert_to_item(TiXmlElement* elem)
if (name == "listbox")
return item.typeIncl("ui::ListBox",
"ui/listbox.h");
if (name == "listitem")
return item.typeIncl("ui::ListItem",
"ui/listitem.h");
if (name == "panel")
return item.typeIncl("ui::Panel",
"ui/panel.h");