Mostly Harmless

UE2:UT2K4IRC_Panel (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIPanel >> UT2K4IRC_Panel
Package: 
GUI2K4

Specialized utility panel for use on the IRC status page. Contains combo boxes for servers & channels, buttons for join, leave, remove, etc.

Written by Ron Prestenback (c) 2003, Epic Games, Inc. All Rights Reserved

Properties

Property group 'UT2K4IRC_Panel'

bDirty

Type: bool

Modifiers: noexport, transient


ChannelHistory

Type: array<string>

Modifiers: globalconfig


ServerHistory

Type: array<string>

Modifiers: globalconfig


Default value, index 0: "irc.enterthegame.com"

Default value, index 1: "irc.utchat.com"

Internal variables

b_Connect

Type: GUIButton

Modifiers: automated


Default value: GUIButton'MyConnectButton'

b_JoinChannel

Type: GUIButton

Modifiers: automated


Default value: GUIButton'MyJoinChannelButton'

b_RemChannel

Type: GUIButton

Modifiers: automated


Default value: GUIButton'MyRemoveChannelButton'

b_RemServer

Type: GUIButton

Modifiers: automated


Default value: GUIButton'MyRemoveServerButton'

co_Channel

Type: moComboBox

Modifiers: automated


Default value: moComboBox'MyChannelCombo'

co_Server

Type: moComboBox

Modifiers: automated


Default value: moComboBox'MyServerCombo'

ConnectText

Type: string

Modifiers: localized


Default value: "CONNECT"

DisconnectText

Type: string

Modifiers: localized


Default value: "DISCONNECT"

LocalChannel

Type: string

Modifiers: localized


Default value: "#ut"

SizingButton

Type: GUIButton


tp_System

Type: UT2K4IRC_System


Default values

Property Value
OnPreDraw PositionButtons

Subobjects

MyChannelCombo

Class: XInterface.moComboBox

Property Value
bAutoSizeCaption True
bBoundToParent True
bHeightFromComponent False
bScaleToParent True
Caption "Channel"
CaptionWidth 0.25
RenderWeight 3.0
TabOrder 1
WinHeight 0.3
WinLeft 0.15
WinTop 0.5
WinWidth 0.4

MyConnectButton

Class: XInterface.GUIButton

Property Value
bBoundToParent True
bScaleToParent True
Caption "CONNECT"
OnClick InternalOnClick
RenderWeight 3.0
TabOrder 2
WinHeight 0.3
WinLeft 0.56
WinTop 0.1
WinWidth 0.2

MyJoinChannelButton

Class: XInterface.GUIButton

Property Value
bBoundToParent True
bScaleToParent True
Caption "JOIN"
OnClick InternalOnClick
RenderWeight 3.0
TabOrder 3
WinHeight 0.3
WinLeft 0.56
WinTop 0.5
WinWidth 0.2

MyRemoveChannelButton

Class: XInterface.GUIButton

Property Value
bBoundToParent True
bScaleToParent True
Caption "REMOVE"
OnClick InternalOnClick
RenderWeight 3.0
TabOrder 5
WinHeight 0.3
WinLeft 0.77
WinTop 0.5
WinWidth 0.2

MyRemoveServerButton

Class: XInterface.GUIButton

Property Value
bBoundToParent True
bScaleToParent True
Caption "REMOVE"
OnClick InternalOnClick
RenderWeight 3.0
TabOrder 4
WinHeight 0.3
WinLeft 0.77
WinTop 0.1
WinWidth 0.2

MyServerCombo

Class: XInterface.moComboBox

Property Value
bBoundToParent True
bHeightFromComponent False
bScaleToParent True
Caption "Server"
CaptionWidth 0.25
OnChange InternalOnChange
RenderWeight 3.0
TabOrder 0
WinHeight 0.3
WinLeft 0.15
WinTop 0.102967
WinWidth 0.4

Functions

Events

Free

event Free ()

Overrides: GUIMultiComponent.Free


InitComponent

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIPanel.InitComponent


Other instance functions

AddChannelToHistory

function bool AddChannelToHistory (string NewChannelName, optional int Position)


AddServerToHistory

function bool AddServerToHistory (string NewServerName, optional int Position)


FindChannelHistoryIndex

function int FindChannelHistoryIndex (string ChannelName)


FindServerHistoryIndex

function int FindServerHistoryIndex (string ServerName)


GetSizingButton

function GetSizingButton ()


InternalOnChange

function InternalOnChange (GUIComponent Sender)


InternalOnClick

function bool InternalOnClick (GUIComponent Sender)


IsCurrentServer

function bool IsCurrentServer (string ServerAddress)


LoadChannelHistory

function LoadChannelHistory ()


LoadServerHistory

function LoadServerHistory ()


PositionButtons

function bool PositionButtons (Canvas C)


RemoveChannelFromHistory

function bool RemoveChannelFromHistory (string ChannelName)


RemoveServerFromHistory

function bool RemoveServerFromHistory (string ServerName)


UpdateConnectionStatus

function UpdateConnectionStatus (bool NowConnected)