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

XInterface.GUIQuestionPage

Extends
GUIPage

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPage
            |   
            +-- XInterface.GUIQuestionPage

Direct Known Subclasses:

GUI2K4QuestionPage

Variables Summary
array<string>ButtonNames
array<GUIButton>Buttons
GUIButtonCancelButton
GUIButtonDefaultButton
GUILabellMessage
MaterialMessageIcon
Inherited Variables from XInterface.GUIPage
Background, BackgroundColor, BackgroundRStyle, bAllowedAsLast, bCaptureInput, bCheckResolution, bDisconnectOnOpen, bPauseIfPossible, bPersistent, bRenderWorld, bRequire640x480, bRestorable, CloseSound, InactiveFadeColor, OpenSound, ParentPage, Timers
Inherited Variables from XInterface.GUIMultiComponent
AnimationCount, bAlwaysAutomate, bDrawFocusedLast, bOldStyleMenus, Components, Controls, FocusedControl, PropagateVisibility

Delegates Summary
delegatebool NewOnButtonClick (byte bButton))
delegate OnButtonClick (byte bButton)
Inherited Delegates from XInterface.GUIPage
OnCanClose, OnClose, OnOpen, OnReOpen
Inherited Delegates from XInterface.GUIMultiComponent
HandleContextMenuClose, HandleContextMenuOpen, NotifyContextSelect, OnCreateComponent

Functions Summary
functionGUIButton AddButton (coerce byte idesc))
functionbool ButtonClick (GUIComponent Sender))
function InitComponent (GUIController pMyController, GUIComponent MyOwner))
functionbool InternalOnPreDraw (Canvas C))
function LayoutButtons (byte ActiveButton))
function RemoveButtons ()))
functionstring Replace (string Src, string Tag, string Value))
function SetupQuestion (string Question, coerce byte bButtons, optional byte ActiveButton, optional bool bClearFirst ))
Inherited Functions from XInterface.GUIPage
AllowOpen, ChangeHint, CheckResolution, Closed, Free, GetDataString, GetRestoreParams, HandleObject, HandleParameters, InitComponent, IsOpen, NotifyLevelChange, PlayCloseSound, PlayOpenSound, SetDataString, SetFocus
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

ButtonNames Source code

var localized array<string> ButtonNames;

Buttons Source code

var array<GUIButton> Buttons;

CancelButton Source code

var GUIButton CancelButton;

DefaultButton Source code

var GUIButton DefaultButton;

lMessage Source code

var GUILabel lMessage;

MessageIcon Source code

var Material MessageIcon;


Delegates Detail

NewOnButtonClick Source code

delegate bool NewOnButtonClick ( byte bButton) )

OnButtonClick Source code

delegate OnButtonClick ( byte bButton )


Functions Detail

AddButton Source code

function GUIButton AddButton ( coerce byte idesc) )

ButtonClick Source code

function bool ButtonClick ( GUIComponent Sender) )

InitComponent Source code

function InitComponent ( GUIController pMyController, GUIComponent MyOwner) )

InternalOnPreDraw Source code

function bool InternalOnPreDraw ( Canvas C) )

LayoutButtons Source code

function LayoutButtons ( byte ActiveButton) )

RemoveButtons Source code

function RemoveButtons ( ) )

Replace Source code

function string Replace ( string Src, string Tag, string Value) )

SetupQuestion Source code

function SetupQuestion ( string Question, coerce byte bButtons, optional byte ActiveButton, optional bool bClearFirst ) )


Defaultproperties

defaultproperties
{
	OnPreDraw=InternalOnPreDraw


	Begin Object Class=GUIImage Name=imgBack
		Image=Material'InterfaceContent.Menu.SquareBoxA'
		ImageStyle=ISTY_Stretched
		WinTop=0.0
		WinLeft0.0
		WinHeight=1.0
		WinWidth=1.0
		bScaleToParent=true
		bBoundToParent=true
	End Object


	Begin Object Class=GUILabel Name=lblQuestion
		WinTop=0.2
		WinLeft=0.1
		WinHeight=0.4
		WinWidth=0.8
		bMultiLine=true
	End Object
	Controls(0)=imgBack
	Controls(1)=lblQuestion


	bCaptureInput=True
	bRequire640x480=False
	bRenderWorld=True


	WinTop=0.25
	WinHeight=0.5
	BackgroundColor=(R=64,G=64,B=64,A=255)
	BackgroundRStyle=MSTY_Alpha


	ButtonNames(0)="Ok"
	ButtonNames(1)="Cancel"
	ButtonNames(2)="Retry"
	ButtonNames(3)="Continue"
	ButtonNames(4)="Yes"
	ButtonNames(5)="No"
	ButtonNames(6)="Abort"
	ButtonNames(7)="Ignore"
	
}

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