// September 2015 // Levee Patroller / Dijk Patrouille // This source file is (c) by Deltares. This source file is open source but only available to select users. Do not redistribute without written permission of Stichting Deltares, Delft, The Netherlands. // This header has been automatically generated. //============================================================================= // // ------------------------------------------------------------ // © 2006, Geodelft // // Date Id Modification // 2006-10-09 The Created this header // 2006-10-09 The Implemented Dutch translations //============================================================================= class PerformWarn extends GUIPage; var GeoPlayerController GeoPC; var localized string NL_DialogText1, EN_DialogText1, NL_DialogText2, EN_DialogText2; //============================================================================= // Date Id Modification // 2006-10-09 The Created this header //============================================================================= function UpdateLanguage() { if (GeoPC.Dutch) { GUILabel(Controls[2]).Caption = NL_DialogText1; GUILabel(Controls[3]).Caption = NL_DialogText2; } else { GUILabel(Controls[2]).Caption = EN_DialogText1; GUILabel(Controls[3]).Caption = EN_DialogText2; } } //============================================================================= // Date Id Modification // 2006-10-09 The Created this header //============================================================================= function InitComponent(GUIController MyController, GUIComponent MyOwner) { Super.Initcomponent(MyController, MyOwner); GeoPC = GeoPlayerController(PlayerOwner()); UpdateLanguage(); } //============================================================================= // Date Id Modification // 2006-10-09 The Created this header //============================================================================= function bool InternalOnClick(GUIComponent Sender) { Controller.CloseMenu(false); return true; } //============================================================================= // Date Id Modification // 2006-10-09 The Created this header //============================================================================= defaultproperties { Begin Object Class=GUIButton name=DialogBackground WinWidth=1.0 WinHeight=1.0 WinTop=0 WinLeft=0 bAcceptsInput=false bNeverFocus=true StyleName="ListBox" bBoundToParent=true bScaleToParent=true End Object Controls(0)=GUIButton'DialogBackground' Begin Object Class=GUIButton Name=OkButton Caption="OK" WinWidth=0.2 WinHeight=0.04 WinLeft=0.4 WinTop=0.55 OnClick=InternalOnClick End Object Controls(1)=GUIButton'OkButton' Begin Object class=GUILabel Name=DialogText Caption="WARNING" TextALign=TXTA_Center TextColor=(R=220,G=180,B=0,A=255) TextFont="HeaderFont" WinWidth=1 WinLeft=0 WinTop=0.4 WinHeight=32 End Object Controls(2)=GUILabel'DialogText' Begin Object class=GUILabel Name=DialogText2 Caption="The change you made may adversely affect your performance." TextALign=TXTA_Center TextColor=(R=220,G=180,B=0,A=255) TextFont="MenuFont" WinWidth=1 WinLeft=0 WinTop=0.45 WinHeight=32 End Object Controls(3)=GUILabel'DialogText2' WinLeft=0 WinTop=0.375 WinWidth=1 WinHeight=0.25 bRequire640x480=false NL_DialogText1 = "WAARSCHUWING" NL_DialogText2 = "De aanpassing die je hebt gemaakt kan het spel trager maken." EN_DialogText1 = "WARNING" EN_DialogText2 = "The change you made may adversely affect your performance." }