Overview | Package | Class | Source | Class tree | Glossary | Deus Ex 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 00099 00100 00101 00102 00103 |
//============================================================================= // ComputerScreenATMDisabled //============================================================================= class ComputerScreenATMDisabled extends ComputerUIWindow; var MenuUILabelWindow winLoginInfo; var MenuUIActionButtonWindow btnClose; var localized String ButtonLabelClose; var localized String LoginInfoText; var localized String StatusText; // ---------------------------------------------------------------------- // CreateControls() // ---------------------------------------------------------------------- function CreateControls() { Super.CreateControls(); btnClose = winButtonBar.AddButton(ButtonLabelClose, HALIGN_Right); CreateLoginInfoWindow(); winTitle.SetTitle(Title); winStatus.SetText(StatusText); } // ---------------------------------------------------------------------- // CreateLoginInfoWindow() // ---------------------------------------------------------------------- function CreateLoginInfoWindow() { winLoginInfo = MenuUILabelWindow(winClient.NewChild(Class'MenuUILabelWindow')); winLoginInfo.SetPos(10, 12); winLoginInfo.SetSize(377, 122); winLoginInfo.SetTextAlignments(HALIGN_Center, VALIGN_Center); winLoginInfo.SetTextMargins(0, 0); winLoginInfo.SetText(LoginInfoText); } // ---------------------------------------------------------------------- // SetNetworkTerminal() // ---------------------------------------------------------------------- function SetNetworkTerminal(NetworkTerminal newTerm) { Super.SetNetworkTerminal(newTerm); // Hide the Hack window if (winTerm != None) winTerm.CloseHackWindow(); } // ---------------------------------------------------------------------- // ButtonActivated() // ---------------------------------------------------------------------- function bool ButtonActivated( Window buttonPressed ) { local bool bHandled; bHandled = True; switch( buttonPressed ) { case btnClose: CloseScreen("EXIT"); break; default: bHandled = False; break; } if (bHandled) return True; else return Super.ButtonActivated(buttonPressed); } // ---------------------------------------------------------------------- // ---------------------------------------------------------------------- defaultproperties { ButtonLabelClose="Close" LoginInfoText="Sorry, this terminal is out of service (ERR 06MJ12)|n|nWe apologize for the inconvenience but would gladly service you at any of the other 231,000 PageNet Banking Terminals around the globe." StatusText="PNGBS//GLOBAL//PUB:3902.9571[dsbld]" Title="PageNet Global Banking System" ClientWidth=403 ClientHeight=211 verticalOffset=30 clientTextures(0)=Texture'DeusExUI.UserInterface.ComputerGBSDisabledBackground_1' clientTextures(1)=Texture'DeusExUI.UserInterface.ComputerGBSDisabledBackground_2' textureRows=1 textureCols=2 bAlwaysCenter=True statusPosY=186 } |
Overview | Package | Class | Source | Class tree | Glossary | Deus Ex UnrealScript Documentation |
previous class next class | frames no frames |