Core.Object | +--UWindow.UWindowBase | +--UWindow.UWindowWindow | +--UWindow.UWindowClientWindow | +--UWindow.UWindowDialogClientWindow | +--UMenu.UMenuDialogClientWindow | +--UTMenu.UTWeaponPriorityInfoArea
UWindowDynamicTextArea
Description
UWindowControlFrame
Frame
void
BeforePaint(Canvas C, float X, float Y)
Created()
00001 class UTWeaponPriorityInfoArea expands UMenuDialogClientWindow; 00002 00003 var UWindowDynamicTextArea Description; 00004 var UWindowControlFrame Frame; 00005 00006 function Created() 00007 { 00008 Description = UWindowDynamicTextArea(CreateControl(class'UWindowDynamicTextArea', 0, 0, 100, 100)); 00009 Description.SetTextColor(LookAndFeel.EditBoxTextColor); 00010 Description.bTopCentric = True; 00011 Frame = UWindowControlFrame(CreateWindow(class'UWindowControlFrame', 0, 0, 100, 100)); 00012 Frame.SetFrame(Description); 00013 } 00014 00015 function BeforePaint(Canvas C, float X, float Y) 00016 { 00017 Frame.SetSize(WinWidth - 10, WinHeight - 10); 00018 Frame.WinTop = 5; 00019 Frame.WinLeft = 5; 00020 } 00021 00022 defaultproperties 00023 { 00024 }