Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

GUI2K4.UT2K4IRC_Panel

Extends
GUIPanel

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPanel
            |   
            +-- GUI2K4.UT2K4IRC_Panel

Variables Summary
GUIButtonb_Connect
GUIButtonb_JoinChannel
GUIButtonb_RemChannel
GUIButtonb_RemServer
stringConnectText
moComboBoxco_Channel
moComboBoxco_Server
stringDisconnectText
stringLocalChannel
GUIButtonSizingButton
UT2K4IRC_Systemtp_System
UT2K4IRC_Panel
boolbDirty
array<string>ChannelHistory
array<string>ServerHistory
Inherited Variables from XInterface.GUIPanel
Background
Inherited Variables from XInterface.GUIMultiComponent
AnimationCount, bAlwaysAutomate, bDrawFocusedLast, bOldStyleMenus, Components, Controls, FocusedControl, PropagateVisibility

Functions Summary
functionbool AddChannelToHistory (string NewChannelName, optional int Position)
functionbool AddServerToHistory (string NewServerName, optional int Position)
functionint FindChannelHistoryIndex (string ChannelName)
functionint FindServerHistoryIndex (string ServerName)
event Free ()
function GetSizingButton ()
function InitComponent (GUIController MyController, GUIComponent MyOwner)
function InternalOnChange (GUIComponent Sender)
functionbool InternalOnClick (GUIComponent Sender)
functionbool IsCurrentServer (string ServerAddress)
function LoadChannelHistory ()
function LoadServerHistory ()
functionbool PositionButtons (Canvas C)
functionbool RemoveChannelFromHistory (string ChannelName)
functionbool RemoveServerFromHistory (string ServerName)
function UpdateConnectionStatus (bool NowConnected)
Inherited Functions from XInterface.GUIPanel
InitComponent
Inherited Functions from XInterface.GUIMultiComponent
AddComponent, AppendComponent, BeginAnimation, CanAcceptFocus, CenterMouse, CheckDuplicateTabOrder, CheckInvalidTabOrder, Closed, DebugTabOrder, DisableMe, EnableMe, EndAnimation, FindComponentIndex, FocusFirst, FocusLast, Free, InitComponent, InitializeControls, InsertComponent, InternalOnShow, LevelChanged, LoseFocus, NextControl, Opened, PrevControl, RemapComponents, RemoveComponent, SetFocus, SetFocusInstead, SetVisibility


Variables Detail

b_Connect Source code

var automated GUIButton b_Connect;

b_JoinChannel Source code

var automated GUIButton b_JoinChannel;

b_RemChannel Source code

var automated GUIButton b_RemChannel;

b_RemServer Source code

var automated GUIButton b_RemServer;

ConnectText Source code

var localized string ConnectText;

co_Channel Source code

var automated moComboBox co_Channel;

co_Server Source code

var automated moComboBox co_Server;

DisconnectText Source code

var localized string DisconnectText;

LocalChannel Source code

var localized string LocalChannel;

SizingButton Source code

var GUIButton SizingButton;

tp_System Source code

var UT2K4IRC_System tp_System;

UT2K4IRC_Panel

bDirty Source code

var(UT2K4IRC_Panel) noexport transient bool bDirty;

ChannelHistory Source code

var(UT2K4IRC_Panel) globalconfig array<string> ChannelHistory;

ServerHistory Source code

var(UT2K4IRC_Panel) globalconfig array<string> ServerHistory;


Functions Detail

AddChannelToHistory Source code

function bool AddChannelToHistory ( string NewChannelName, optional int Position )

AddServerToHistory Source code

function bool AddServerToHistory ( string NewServerName, optional int Position )

FindChannelHistoryIndex Source code

function int FindChannelHistoryIndex ( string ChannelName )

FindServerHistoryIndex Source code

function int FindServerHistoryIndex ( string ServerName )

Free Source code

event Free ( )

GetSizingButton Source code

function GetSizingButton ( )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner )

InternalOnChange Source code

function InternalOnChange ( GUIComponent Sender )

InternalOnClick Source code

function bool InternalOnClick ( GUIComponent Sender )

IsCurrentServer Source code

function bool IsCurrentServer ( string ServerAddress )

LoadChannelHistory Source code

function LoadChannelHistory ( )

LoadServerHistory Source code

function LoadServerHistory ( )

PositionButtons Source code

function bool PositionButtons ( Canvas C )

RemoveChannelFromHistory Source code

function bool RemoveChannelFromHistory ( string ChannelName )

RemoveServerFromHistory Source code

function bool RemoveServerFromHistory ( string ServerName )

UpdateConnectionStatus Source code

function UpdateConnectionStatus ( bool NowConnected )


Defaultproperties

defaultproperties
{
     Begin Object Class=moComboBox Name=MyServerCombo
         CaptionWidth=0.250000
         Caption="Server"
         OnCreateComponent=MyServerCombo.InternalOnCreateComponent
         WinTop=0.102967
         WinLeft=0.150000
         WinWidth=0.400000
         WinHeight=0.300000
         RenderWeight=3.000000
         TabOrder=0
         bBoundToParent=True
         bScaleToParent=True
         OnChange=UT2k4IRC_Panel.InternalOnChange
     End Object
     co_Server=moComboBox'GUI2K4.UT2k4IRC_Panel.MyServerCombo'

     Begin Object Class=moComboBox Name=MyChannelCombo
         CaptionWidth=0.250000
         Caption="Channel"
         OnCreateComponent=MyChannelCombo.InternalOnCreateComponent
         WinTop=0.500000
         WinLeft=0.150000
         WinWidth=0.400000
         WinHeight=0.300000
         RenderWeight=3.000000
         TabOrder=1
         bBoundToParent=True
         bScaleToParent=True
     End Object
     co_Channel=moComboBox'GUI2K4.UT2k4IRC_Panel.MyChannelCombo'

     Begin Object Class=GUIButton Name=MyConnectButton
         Caption="CONNECT"
         WinTop=0.100000
         WinLeft=0.560000
         WinWidth=0.200000
         WinHeight=0.300000
         RenderWeight=3.000000
         TabOrder=2
         bBoundToParent=True
         bScaleToParent=True
         OnClick=UT2k4IRC_Panel.InternalOnClick
         OnKeyEvent=MyConnectButton.InternalOnKeyEvent
     End Object
     b_Connect=GUIButton'GUI2K4.UT2k4IRC_Panel.MyConnectButton'

     Begin Object Class=GUIButton Name=MyRemoveServerButton
         Caption="REMOVE"
         WinTop=0.100000
         WinLeft=0.770000
         WinWidth=0.200000
         WinHeight=0.300000
         RenderWeight=3.000000
         TabOrder=4
         bBoundToParent=True
         bScaleToParent=True
         OnClick=UT2k4IRC_Panel.InternalOnClick
         OnKeyEvent=MyRemoveServerButton.InternalOnKeyEvent
     End Object
     b_RemServer=GUIButton'GUI2K4.UT2k4IRC_Panel.MyRemoveServerButton'

     Begin Object Class=GUIButton Name=MyJoinChannelButton
         Caption="JOIN"
         WinTop=0.500000
         WinLeft=0.560000
         WinWidth=0.200000
         WinHeight=0.300000
         RenderWeight=3.000000
         TabOrder=3
         bBoundToParent=True
         bScaleToParent=True
         OnClick=UT2k4IRC_Panel.InternalOnClick
         OnKeyEvent=MyJoinChannelButton.InternalOnKeyEvent
     End Object
     b_JoinChannel=GUIButton'GUI2K4.UT2k4IRC_Panel.MyJoinChannelButton'

     Begin Object Class=GUIButton Name=MyRemoveChannelButton
         Caption="REMOVE"
         WinTop=0.500000
         WinLeft=0.770000
         WinWidth=0.200000
         WinHeight=0.300000
         RenderWeight=3.000000
         TabOrder=5
         bBoundToParent=True
         bScaleToParent=True
         OnClick=UT2k4IRC_Panel.InternalOnClick
         OnKeyEvent=MyRemoveChannelButton.InternalOnKeyEvent
     End Object
     b_RemChannel=GUIButton'GUI2K4.UT2k4IRC_Panel.MyRemoveChannelButton'

     ServerHistory(0)="irc.enterthegame.com"
     ServerHistory(1)="irc.utchat.com"
     ConnectText="CONNECT"
     DisconnectText="DISCONNECT"
     LocalChannel="#ut"
     OnPreDraw=UT2k4IRC_Panel.PositionButtons
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Wed 7/2/2007 19:16:22.656 - Created with UnCodeX