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

GUI2K4.UT2K4SP_PictureMessage


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
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
//==============================================================================
// General message page to display "ladder completed" messages, simple title
// with picture
//
// Written by Michiel Hendriks
// (c) 2003, Epic Games, Inc.  All Rights Reserved
//==============================================================================

class UT2K4SP_PictureMessage extends LargeWindow;

var automated GUIImage	imgPictureBg, imgPicture;
var automated GUIButton btnOk;
var automated GUILabel lblTitle;

function bool btnOkOnClick(GUIComponent Sender)
{
	Controller.CloseMenu(false);
	return true;
}

/**
	param1 = title, param2 = image
*/
event HandleParameters(string Param1, string Param2)
{
	local Material img;
	Super.HandleParameters(Param1, Param2);
	lblTitle.Caption = Param1;
	img = Material(DynamicLoadObject(Param2, class'Material'));
	if (img != none) imgPicture.Image = img;
}

defaultproperties
{
/*	Begin Object class=GUIImage name=SPMimgBackground
		WinWidth=0.7
		WinHeight=0.7
		WinLeft=0.15
		WinTop=0.15
		RenderWeight=0.1
		Image=Material'2K4Menus.Controls.sectionback'
		DropShadow=Material'2K4Menus.Controls.shadow'
		DropShadowX=6
		DropShadowY=6
		ImageStyle=ISTY_Scaled
		ImageRenderStyle=MSTY_Normal
		bVisible=true
	End Object
	imgBackground=SPMimgBackground
*/
	Begin Object Class=GUIButton Name=SPMbtnOk
		Caption="OK"
		WinWidth=0.200000
		WinHeight=0.040000
		WinLeft=0.401563
		WinTop=0.765625
		OnClick=btnOkOnClick
		FontScale=FNS_Small
	End Object
	btnOk=SPMbtnOk

	Begin Object class=GUIImage name=SPMimgPicture
		WinWidth=0.518750
		WinHeight=0.435000
		WinLeft=0.240000
		WinTop=0.292500
		X1=0
		Y1=0
		X2=1023
		Y2=767
		Image=Material'2K4Menus.Controls.sectionback'
		ImageColor=(R=255,G=255,B=255,A=255);
		ImageRenderStyle=MSTY_Normal
		ImageStyle=ISTY_Scaled
		RenderWeight=0.3
	End Object
	imgPicture=SPMimgPicture

	Begin Object class=GUIImage name=SPMimgPictureBg
		WinWidth=0.520750
		WinHeight=0.463250
		WinLeft=0.239000
		WinTop=0.278166
		Image=Material'2K4Menus.Controls.sectionback'
		ImageColor=(R=255,G=255,B=255,A=255);
		ImageRenderStyle=MSTY_Normal
		ImageStyle=ISTY_Scaled
		RenderWeight=0.2
	End Object
	imgPictureBg=SPMimgPictureBg

	Begin Object Class=GUILabel Name=SPLlblTitle
		WinWidth=0.680000
		WinHeight=0.078750
		WinLeft=0.160000
		WinTop=0.176667
		Caption="no title"
		StyleName="TextLabel"
		FontScale=FNS_Large
		TextAlign=TXTA_Center
		RenderWeight=0.4
	End Object
	lblTitle=SPLlblTitle

	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
Class file time: Di 5.9.2006 22:28:52.000 - Creation time: Do 14.8.2014 09:58:54.100 - Created with UnCodeX