Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 |
/** * Copyright 1998-2008 Epic Games, Inc. All Rights Reserved. * * Specific version of the menu list that draws an icon in addition to the menu text for the current faction. */ class UTUICharacterFactionMenuList extends UTUIIconMenuList; event SelectItem(int NewSelection) { local string OutValue; Super.SelectItem(NewSelection); // IconImage GetCellFieldString(self, 'IconImage', Selection, OutValue); IconImage = Texture2D(DynamicLoadObject(OutValue, class'Texture2D')); // IconU GetCellFieldString(self, 'IconU', Selection, OutValue); IconU = float(OutValue); // IconV GetCellFieldString(self, 'IconV', Selection, OutValue); IconV = float(OutValue); // IconUL GetCellFieldString(self, 'IconUL', Selection, OutValue); IconUL = float(OutValue); // IconVL GetCellFieldString(self, 'IconVL', Selection, OutValue); IconVL = float(OutValue); } defaultproperties { Begin Object Class=UIComp_Event Name=WidgetEventComponent ObjName=WidgetEventComponent Archetype=UIComp_Event'UTGame.Default__UTUIIconMenuList:WidgetEventComponent' ObjectArchetype=UIComp_Event'UTGame.Default__UTUIIconMenuList:WidgetEventComponent' End Object EventProvider=WidgetEventComponent Name="Default__UTUICharacterFactionMenuList" ObjectArchetype=UTUIIconMenuList'UTGame.Default__UTUIIconMenuList' } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |