// 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. class Tab_Acknowledgement extends GUITabPanel; var bool Dutch; var localized string EN_Label0, NL_Label0, EN_Label1, NL_Label1, EN_Label2, NL_Label2, EN_Label3, NL_Label3, EN_Label4, NL_Label4, EN_Label5, NL_Label5, EN_Label6, NL_Label6, EN_Label7, NL_Label7; function InitComponent(GUIController MyController, GUIComponent MyOwner) { Super.Initcomponent(MyController, MyOwner); GUIScrollText(Controls[5]).SelectedImage=None; MyOpenPage(); } function bool InternalOnClick(GUIComponent Sender) { return true; } //************************************** //LANGUAGE: IF IT IS IN GAME OR IN MENU'S //************************************** function bool SetLanguage() { if(PlayerOwner().IsA('GeoPlayerController')) { return GeoPlayerController(PlayerOwner()).Dutch; } else { warn("THIS PLAYER CONTROLLER DOESN'T SUPPORT LANGUAGE"); return true; } } function MyOpenPage() { Dutch=SetLanguage(); UpdateLanguage(); } function UpdateLanguage() { if(Dutch) { GUILabel(Controls[0]).Caption=NL_Label0; GUILabel(Controls[1]).Caption=NL_Label1; GUILabel(Controls[2]).Caption=NL_Label2; GUILabel(Controls[3]).Caption=NL_Label3; GUIScrollTextBox(Controls[4]).SetContent(NL_Label4); GUIScrollTextBox(Controls[5]).SetContent(NL_Label5); GUIScrollTextBox(Controls[6]).SetContent(NL_Label6); GUIScrollTextBox(Controls[7]).SetContent(NL_Label7); } else { GUILabel(Controls[0]).Caption=EN_Label0; GUILabel(Controls[1]).Caption=EN_Label1; GUILabel(Controls[2]).Caption=EN_Label2; GUILabel(Controls[3]).Caption=EN_Label3; GUIScrollTextBox(Controls[4]).SetContent(EN_Label4); GUIScrollTextBox(Controls[5]).SetContent(EN_Label5); GUIScrollTextBox(Controls[6]).SetContent(EN_Label6); GUIScrollTextBox(Controls[7]).SetContent(EN_Label7); } } defaultproperties { Begin Object class=GUILabel Name=Label0 Caption="***" TextALign=TXTA_Left TextColor=(R=255,G=255,B=255,A=255) TextFont="SmallFont" WinWidth=0.90 WinHeight=0.2 WinLeft=0.05 WinTop=0.05 bMultiLine=true End Object Controls(0)=GUILabel'Label0' Begin Object class=GUILabel Name=Label1 Caption="***" TextALign=TXTA_Left TextColor=(R=255,G=255,B=255,A=255) TextFont="SmallFont" WinWidth=0.90 WinHeight=0.2 WinLeft=0.05 WinTop=0.45 bMultiLine=true End Object Controls(1)=GUILabel'Label1' Begin Object class=GUILabel Name=Label2 Caption="***" TextALign=TXTA_Left TextColor=(R=255,G=255,B=255,A=255) TextFont="HeaderFont" WinWidth=0.90 WinHeight=0.2 WinLeft=0.05 WinTop=0.45 bVisible=false End Object Controls(2)=GUILabel'Label2' Begin Object class=GUILabel Name=Label3 Caption="***" TextALign=TXTA_Left TextColor=(R=255,G=255,B=255,A=255) TextFont="HeaderFont" WinWidth=0.90 WinHeight=0.2 WinLeft=0.05 WinTop=0.85 bMultiLine=true bVisible=false End Object Controls(3)=GUILabel'Label3' // Labels of Texts Begin Object Class=GUIScrollTextBox Name=Label4 WinWidth=0.7 WinHeight=0.26 WinLeft=0.05 WinTop=0.15 bNoTeletype=true bNeverFocus=true bVisibleWhenEmpty=True End Object Controls(4)=GUIScrollTextBox'Label4' Begin Object Class=GUIScrollTextBox Name=Label5 WinWidth=0.45 WinHeight=0.14 WinLeft=0.05 WinTop=0.37 CharDelay=0.0021 EOLDelay=0.001 bNeverFocus=true bVisibleWhenEmpty=False bVisible=false End Object Controls(5)=GUIScrollTextBox'Label5' Begin Object Class=GUIScrollTextBox Name=Label6 WinWidth=0.45 WinHeight=0.23 WinLeft=0.05 WinTop=0.60 CharDelay=0.0021 EOLDelay=0.001 bNeverFocus=true bVisibleWhenEmpty=False bVisible=false End Object Controls(6)=GUIScrollTextBox'Label6' Begin Object Class=GUIScrollTextBox Name=Label7 WinWidth=0.45 WinHeight=0.1 WinLeft=0.05 WinTop=0.90 CharDelay=0.0021 EOLDelay=0.001 bNeverFocus=true bVisibleWhenEmpty=False bVisible=false End Object Controls(7)=GUIScrollTextBox'Label7' //LOGOS // Begin Object Class=GUIImage Name=Logo1 // WinWidth=0.5 // WinHeight=0.30 // WinLeft=0 // WinTop=0.85 // Image=Material'AboutT.DelftCluster' // ImageColor=(R=255,G=255,B=255,A=240); // ImageStyle=ISTY_Justified // ImageRenderStyle=MSTY_Alpha // ImageAlign=IMGA_Center // End Object // Controls(8)=GUIImage'Logo1' // Begin Object Class=GUIImage Name=Logo2 // WinWidth=0.5 // WinHeight=0.30 // WinLeft=0.5 // WinTop=0.85 // Image=Material'AboutT.Delftland' // ImageColor=(R=255,G=255,B=255,A=240); // ImageStyle=ISTY_Justified // ImageRenderStyle=MSTY_Alpha // ImageAlign=IMGA_Center // End Object // Controls(9)=GUIImage'Logo2' // Begin Object Class=GUIImage Name=Logo3 // WinWidth=0.33 // WinHeight=0.20 // WinLeft=0.00 // WinTop=0.5 // Image=Material'AboutT.GeoDelft' // ImageColor=(R=255,G=255,B=255,A=240); // ImageStyle=ISTY_Justified // ImageRenderStyle=MSTY_Alpha // ImageAlign=IMGA_Center // End Object // Controls(10)=GUIImage'Logo3' // Begin Object Class=GUIImage Name=Logo4 // WinWidth=0.33 // WinHeight=0.20 // WinLeft=0.33 // WinTop=0.5 // Image=Material'AboutT.HollandseDelta' // ImageColor=(R=255,G=255,B=255,A=240); // ImageStyle=ISTY_Justified // ImageRenderStyle=MSTY_Alpha // ImageAlign=IMGA_Center // End Object // Controls(11)=GUIImage'Logo4' // Begin Object Class=GUIImage Name=Logo5 // WinWidth=0.33 // WinHeight=0.20 // WinLeft=0.66 // WinTop=0.7 // Image=Material'AboutT.Noorderkwartier' // ImageColor=(R=255,G=255,B=255,A=240); // ImageStyle=ISTY_Justified // ImageRenderStyle=MSTY_Alpha // ImageAlign=IMGA_Center // End Object // Controls(12)=GUIImage'Logo5' // Begin Object Class=GUIImage Name=Logo6 // WinWidth=0.33 // WinHeight=0.20 // WinLeft=0.66 // WinTop=0.5 // Image=Material'AboutT.Rivierenland' // ImageColor=(R=255,G=255,B=255,A=240); // ImageStyle=ISTY_Justified // ImageRenderStyle=MSTY_Alpha // ImageAlign=IMGA_Center // End Object // Controls(13)=GUIImage'Logo6' // Begin Object Class=GUIImage Name=Logo7 // WinWidth=0.33 // WinHeight=0.20 // WinLeft=0.0 // WinTop=0.7 // Image=Material'AboutT.SchielandenKrimpenerwaard' // ImageColor=(R=255,G=255,B=255,A=240); // ImageStyle=ISTY_Justified // ImageRenderStyle=MSTY_Alpha // ImageAlign=IMGA_Center // End Object // Controls(14)=GUIImage'Logo7' // Begin Object Class=GUIImage Name=Logo8 // WinWidth=0.33 // WinHeight=0.20 // WinLeft=0.33 // WinTop=0.7 // Image=Material'AboutT.TUDelft' // ImageColor=(R=255,G=255,B=255,A=240); // ImageStyle=ISTY_Justified // ImageRenderStyle=MSTY_Alpha // ImageAlign=IMGA_Center // End Object // Controls(15)=GUIImage'Logo8' EN_Label0="Special acknowledgement is given to the following organisations for their support and suggestions during development of Levee Patroller" NL_Label0="Speciale dank is verschuldigd aan de volgende organisaties, die een belangrijke bijdrage hebben geleverd aan de totstandkoming van Dijk Patrouille" EN_Label1="For the development of the simulator recent research on the behavior of levees by Delft Cluster has been used." NL_Label1="Verder is bij de totstandkoming van de simulator mede gebruik gemaakt van recent onderzoek over het gedrag van dijken door Delft Cluster. " EN_Label2="" NL_Label2="" EN_Label3="" NL_Label3="" EN_Label4=" Delft University of Technology | Hoogheemraadschap van Delfland| Hoogheemraadschap van Schieland en de Krimpenerwaard| Waterschap Rivierenland | Hoogheemraadschap Hollands Noorderkwartier| Waterschap Hollandse Delta" NL_Label4=" Technische Universiteit Delft| Hoogheemraadschap van Delfland| Hoogheemraadschap van Schieland en de Krimpenerwaard| Waterschap Rivierenland| Hoogheemraadschap Hollands Noorderkwartier| Waterschap Hollandse Delta" EN_Label5="" NL_Label5="" EN_Label6="" NL_Label6="" EN_Label7="" NL_Label7="" WinTop=0.15 WinLeft=0 WinWidth=1 WinHeight=0.72 bAcceptsInput=false }