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 00053 00054 00055 00056 00057 00058 00059 00060 00061 00062 00063 00064 00065 00066 00067 00068 00069 00070 00071 00072 00073 00074 00075 00076 00077 00078 00079 00080 00081 00082 00083 00084 00085 00086 00087 00088 00089 00090 00091 00092 00093 00094 00095 00096 00097 00098 |
// ==================================================================== // (C) 2002, Epic Games // ==================================================================== class UT2K4PerformWarn extends UT2K4GenericMessageBox; var automated moCheckbox ch_NeverShowAgain; function HandleParameters( string Param1, string Param2 ) { local float f; f = float(Param1); if ( f != 0.0 ) SetTimer(f); } function Timer() { Controller.CloseMenu(false); } function bool InternalOnClick(GUIComponent Sender) { Controller.CloseMenu(false); return true; } function CheckBoxClick(GUIComponent Sender) { class'Settings_Tabs'.default.bExpert = ch_NeverShowAgain.IsChecked(); class'Settings_Tabs'.static.StaticSaveConfig(); } function InternalOnLoadIni( GUIComponent Sender, string Value ) { ch_NeverShowAgain.Checked(class'Settings_Tabs'.default.bExpert); } defaultproperties { Begin Object Class=GUIButton Name=OkButton Caption="OK" WinWidth=0.121875 WinHeight=0.040000 WinLeft=0.439063 WinTop=0.550000 OnClick=InternalOnClick TabOrder=0 End Object b_Ok=OKButton Begin Object class=GUILabel Name=DialogText Caption="WARNING" TextALign=TXTA_Center StyleName="TextLabel" FontScale=FNS_Large WinWidth=1 WinLeft=0 WinTop=0.4 WinHeight=0.04 End Object l_Text=DialogText Begin Object class=GUILabel Name=DialogText2 Caption="The change you are making may adversely affect your performance." TextAlign=TXTA_Center StyleName="TextLabel" WinWidth=1 WinLeft=0 WinTop=0.45 WinHeight=0.04 End Object l_Text2=DialogText2 Begin Object Class=moCheckBox Name=HideCheckbox WinWidth=0.370000 WinHeight=0.030000 WinLeft=0.312500 WinTop=0.499479 Caption=" do not display this warning again" Hint="Check this to disable showing warning messages when adjusting properties in the Settings menu" IniOption="@Internal" OnLoadIni=InternalOnLoadIni OnChange=CheckBoxClick TabOrder=1 CaptionWidth=0.93 ComponentWidth=0.07 bFlipped=True ComponentJustification=TXTA_Left LabelJustification=TXTA_Left FontScale=FNS_Small End Object ch_NeverShowAgain=HideCheckbox OpenSound=sound'MenuSounds.SelectDshort' } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |