33 lines
650 B
Ucode
33 lines
650 B
Ucode
class GUILibraryItemsBox extends GUIListBoxBase;
|
|
|
|
var GUIShowLibList List;
|
|
|
|
function InitComponent( GUIController MyController, GUIComponent MyOwner )
|
|
{
|
|
Super.InitComponent(MyController,MyOwner);
|
|
|
|
if (DefaultListClass != "")
|
|
{
|
|
List = GUIShowLibList(AddComponent(DefaultListClass));
|
|
if (List == None)
|
|
{
|
|
log(Class$".InitComponent - Could not create default list ["$DefaultListClass$"]");
|
|
return;
|
|
}
|
|
|
|
}
|
|
|
|
if (List == None)
|
|
{
|
|
Warn("Could not initialize list!");
|
|
return;
|
|
}
|
|
InitBaseList(List);
|
|
}
|
|
|
|
defaultproperties
|
|
{
|
|
SectionStyleName="ItemBoxInfo"
|
|
DefaultListClass="KFGUI.GUIShowLibList"
|
|
}
|