The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:UT2K4QuitPage (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
Package: 
GUI2K4

Confirmation page for quitting the game. Brings the user to an advertisement page if this is the demo version of the game.

Created by Ron Prestenback © 2003, Epic Games, Inc. All Rights Reserved

Properties[edit]

NoButton[edit]

Type: GUIButton

Modifiers: automated


Default value: GUIButton'cNoButton'

QuitDesc[edit]

Type: GUILabel

Modifiers: automated


Default value: GUILabel'cQuitDesc'

YesButton[edit]

Type: GUIButton

Modifiers: automated


Default value: GUIButton'cYesButton'

Default values[edit]

Property Value
OnKeyEvent InternalOnKeyEvent

Subobjects[edit]

cNoButton[edit]

Class: XInterface.GUIButton

Property Value
Caption "NO"
OnClick InternalOnClick
StyleName "SquareButton"
TabOrder 1
WinHeight 0.04
WinLeft 0.610937
WinTop 0.515625
WinWidth 0.2

cQuitDesc[edit]

Class: XInterface.GUILabel

Property Value
Caption "Are you sure you wish to quit?"
RenderWeight 4.0
TextAlign TXTA_Center
TextColor
Member Value
A 255
B 244
G 237
R 253
TextFont "UT2HeaderFont"
WinHeight 32.0
WinLeft 0.0
WinTop 0.426042
WinWidth 1.0

cYesButton[edit]

Class: XInterface.GUIButton

Property Value
Caption "YES"
OnClick InternalOnClick
StyleName "SquareButton"
TabOrder 0
WinHeight 0.04
WinLeft 0.164063
WinTop 0.515625
WinWidth 0.2

Instance functions[edit]

InternalOnClick[edit]

function bool InternalOnClick (GUIComponent Sender)


InternalOnKeyEvent[edit]

function bool InternalOnKeyEvent (out byte Key, out byte State, float Delta)