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

GUI2K4.UT2K4SP_Injury

Extends
LargeWindow

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPage
            |   
            +-- XInterface.UT2K4GUIPage
               |   
               +-- GUI2K4.PopupPageBase
                  |   
                  +-- GUI2K4.FloatingWindow
                     |   
                     +-- GUI2K4.LargeWindow
                        |   
                        +-- GUI2K4.UT2K4SP_Injury

Variables Summary
GUIButtonbtnCancel
GUIButtonbtnTreat
UT2K4GameProfileGP
GUIImageimgPicture
GUIImageimgPictureBg
intInjuredPlayer
GUILabellblMessage
GUILabellblTitle
intTreatmentCost
Inherited Variables from GUI2K4.FloatingWindow
BLSizing, bMoveAllowed, bMoving, bResizeHeightAllowed, bResizeWidthAllowed, bResizing, BRSizing, BtSizing, b_ExitButton, DefaultHeight, DefaultLeft, DefaultTop, DefaultWidth, HeaderMouseCursorIndex, LSizing, MaxPageHeight, MaxPageWidth, MinPageHeight, MinPageWidth, RSizing, TLSizing, TRSizing, TSizing, t_WindowTitle, WindowName

Functions Summary
functionbool btnCancelOnClick (GUIComponent Sender)
functionbool btnTreatOnClick (GUIComponent Sender)
event HandleParameters (string Param1, string Param2)
Inherited Functions from GUI2K4.FloatingWindow
AddSystemMenu, AlignFrame, CheckBounds, FloatingHover, FloatingMousePressed, FloatingMouseRelease, FloatingPreDraw, FloatingRendered, HoveringBottomBorder, HoveringBottomLeft, HoveringLeftBorder, HoveringRightBorder, HoveringTopBorder, HoveringTopLeft, InitComponent, InternalOnCreateComponent, ResizeAllowed, ResizedBoth, ResizedHeight, ResizedWidth, ResolutionChanged, SaveCurrentPosition, SetDefaultPosition, SetFocus, SetMouseCursorIndex, SetPanelPosition, SystemMenuPreDraw, XButtonClicked


Variables Detail

btnCancel Source code

var automated GUIButton btnCancel;

btnTreat Source code

var automated GUIButton btnTreat;

GP Source code

var UT2K4GameProfile GP;

imgPicture Source code

var automated GUIImage imgPicture;

imgPictureBg Source code

var automated GUIImage imgPictureBg;

InjuredPlayer Source code

var int InjuredPlayer;
the offset in the GameProfile's botstats array, set in HandleParameters

lblMessage Source code

var automated GUILabel lblMessage;

lblTitle Source code

var automated GUILabel lblTitle;

TreatmentCost Source code

var int TreatmentCost;
price to heal the injured player


Functions Detail

btnCancelOnClick Source code

function bool btnCancelOnClick ( GUIComponent Sender )

btnTreatOnClick Source code

function bool btnTreatOnClick ( GUIComponent Sender )

HandleParameters Source code

event HandleParameters ( string Param1, string Param2 )


Defaultproperties

defaultproperties
{
     Begin Object Class=GUIImage Name=SPMimgPictureBg
         Image=Texture'2K4Menus.Controls.sectionback'
         ImageStyle=ISTY_Scaled
         ImageRenderStyle=MSTY_Normal
         WinTop=0.136499
         WinLeft=0.057750
         WinWidth=0.177000
         WinHeight=0.464500
         RenderWeight=0.200000
         bBoundToParent=True
     End Object
     imgPictureBg=GUIImage'GUI2K4.UT2K4SP_Injury.SPMimgPictureBg'

     Begin Object Class=GUIImage Name=SPMimgPicture
         Image=Texture'2K4Menus.Controls.thinpipe_b'
         ImageStyle=ISTY_Scaled
         ImageRenderStyle=MSTY_Normal
         WinTop=0.146500
         WinLeft=0.059000
         WinWidth=0.174500
         WinHeight=0.452000
         RenderWeight=0.300000
         bBoundToParent=True
     End Object
     imgPicture=GUIImage'GUI2K4.UT2K4SP_Injury.SPMimgPicture'

     Begin Object Class=GUIButton Name=SPMbtnCancel
         Caption="CANCEL"
         FontScale=FNS_Small
         WinTop=0.857292
         WinLeft=0.051563
         WinWidth=0.200000
         bBoundToParent=True
         OnClick=UT2K4SP_Injury.btnCancelOnClick
         OnKeyEvent=SPMbtnCancel.InternalOnKeyEvent
     End Object
     btnCancel=GUIButton'GUI2K4.UT2K4SP_Injury.SPMbtnCancel'

     Begin Object Class=GUIButton Name=SPMbtnTreat
         Caption="TREAT NOW"
         FontScale=FNS_Small
         WinTop=0.857292
         WinLeft=0.664063
         WinWidth=0.200000
         bBoundToParent=True
         OnClick=UT2K4SP_Injury.btnTreatOnClick
         OnKeyEvent=SPMbtnTreat.InternalOnKeyEvent
     End Object
     btnTreat=GUIButton'GUI2K4.UT2K4SP_Injury.SPMbtnTreat'

     Begin Object Class=GUILabel Name=SPLlblTitle
         Caption="Injury"
         TextAlign=TXTA_Center
         FontScale=FNS_Large
         StyleName="TextLabel"
         WinTop=0.051667
         WinLeft=0.028750
         WinWidth=0.661250
         WinHeight=0.072500
         bBoundToParent=True
     End Object
     lblTitle=GUILabel'GUI2K4.UT2K4SP_Injury.SPLlblTitle'

     Begin Object Class=GUILabel Name=SPLlblMessage
         Caption="%player% got injured in the last match.|%player%'s health is down to %health%%, treatment of the injuries costs %treatment%.|Balance: %balance%."
         bMultiLine=True
         StyleName="TextLabel"
         WinTop=0.176667
         WinLeft=0.372500
         WinWidth=0.373749
         WinHeight=0.391250
         bBoundToParent=True
     End Object
     lblMessage=GUILabel'GUI2K4.UT2K4SP_Injury.SPLlblMessage'

     DefaultLeft=0.150000
     DefaultTop=0.150000
     DefaultWidth=0.700000
     DefaultHeight=0.700000
     WinTop=0.150000
     WinLeft=0.150000
     WinWidth=0.700000
     WinHeight=0.700000
}

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