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=GUIButton Name=SPMbtnCancel
		Caption="CANCEL"
		WinWidth=0.200000
		WinHeight=0.040000
		WinLeft=0.051563
		WinTop=0.857292
		OnClick=btnCancelOnClick
		FontScale=FNS_Small
		bBoundToParent=true
	End Object
	btnCancel=SPMbtnCancel


	Begin Object Class=GUIButton Name=SPMbtnTreat
		Caption="TREAT NOW"
		WinWidth=0.200000
		WinHeight=0.040000
		WinLeft=0.664063
		WinTop=0.857292
		OnClick=btnTreatOnClick
		FontScale=FNS_Small
		bBoundToParent=true
	End Object
	btnTreat=SPMbtnTreat


	Begin Object class=GUIImage name=SPMimgPicture
		WinWidth=0.174500
		WinHeight=0.452000
		WinLeft=0.059000
		WinTop=0.146500
		Image=Material'2K4Menus.Controls.thinpipe_b'
		ImageColor=(R=255,G=255,B=255,A=255);
		ImageRenderStyle=MSTY_Normal
		ImageStyle=ISTY_Scaled
		RenderWeight=0.3
		bBoundToParent=true
	End Object
	imgPicture=SPMimgPicture


	Begin Object class=GUIImage name=SPMimgPictureBg
		WinWidth=0.177000
		WinHeight=0.464500
		WinLeft=0.057750
		WinTop=0.136499
		ImageRenderStyle=MSTY_Normal
		Image=Material'2K4Menus.Controls.sectionback'
		ImageStyle=ISTY_Scaled
		RenderWeight=0.2
		bBoundToParent=true
	End Object
	imgPictureBg=SPMimgPictureBg


	Begin Object Class=GUILabel Name=SPLlblTitle
		WinWidth=0.661250
		WinHeight=0.072500
		WinLeft=0.028750
		WinTop=0.051667
		Caption="Injury"
		StyleName="TextLabel"
		FontScale=FNS_Large
		TextAlign=TXTA_Center
		RenderWeight=0.4
		bBoundToParent=true
	End Object
	lblTitle=SPLlblTitle


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


	DefaultWidth=0.7
	DefaultHeight=0.7
	DefaultLeft=0.15
	DefaultTop=0.15


	WinWidth=0.7
	WinHeight=0.7
	WinLeft=0.15
	WinTop=0.15
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Do 14.8.2014 09:58:27.621 - Created with UnCodeX