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 00045 00046 00047 00048 00049 00050 00051 00052 |
//============================================================================== // UT2004 Style Question Page // // Written by Michiel Hendriks // (c) 2003, Epic Games, Inc. All Rights Reserved //============================================================================== class GUI2K4QuestionPage extends GUIQuestionPage; function bool ButtonClick(GUIComponent Sender) { local int T; T = GUIButton(Sender).Tag; ParentPage.InactiveFadeColor=ParentPage.Default.InactiveFadeColor; if ( NewOnButtonClick(T) ) Controller.CloseMenu( bool(T & (QBTN_Cancel|QBTN_Abort)) ); OnButtonClick(T); return true; } defaultproperties { Begin Object Class=GUIImage Name=imgBack Image=material'2K4Menus.NewControls.Display2' ImageStyle=ISTY_Stretched ImageRenderStyle=MSTY_Normal DropShadow=Material'2K4Menus.Controls.shadow' DropShadowX=0 DropShadowY=10 WinWidth=1.000000 WinHeight=0.401563 WinLeft=0.000000 WinTop=0.297917 End Object Begin Object Class=GUILabel Name=lblQuestion WinTop=0.45 WinLeft=0.15 WinHeight=0.2 WinWidth=0.7 bMultiLine=true StyleName="TextLabel" End Object Controls(0)=imgBack Controls(1)=lblQuestion WinTop=0.0 WinLeft=0.0 WinWidth=1.0 WinHeight=1.0 } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |