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 |
// ==================================================================== // (C) 2002, Epic Games // ==================================================================== class Ut2K4Community extends ModsAndDemosTabs; var automated GUIScrollTextBox CommunityNews; var bool GotNews; var localized string DefaultNews; var MasterServerClient MSC; var config int ModRevLevel; var config int LastModRevLevel; function InitComponent(GUIController MyController, GUIComponent MyOwner) { Super.InitComponent(MyController, MyOwner); CommunityNews.SetContent(DefaultNews); CommunityNews.MyScrollText.bClickText=true; CommunityNews.MyScrollText.OnDblClick=LaunchURL; } function bool LaunchURL(GUIComponent Sender) { local string ClickString; ClickString = StripColorCodes(CommunityNews.MyScrollText.ClickedString); Controller.LaunchURL(ClickString); return true; } defaultproperties { Begin Object class=GUIScrollTextBox Name=lbCommunityNews WinWidth=0.96 WinHeight=0.96 WinLeft=0.02 WinTop=0.02 TabOrder=0 bVisibleWhenEmpty=true bNoTeletype=true End Object CommunityNews=lbCommunityNews Tag=0 DefaultNews="Thank you for purchasing Unreal Tournament 2004||Attempting to retrieve the latest news from the Master Server, please stand by..." } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |