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

UE2:GUIScrollText (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UE2Runtime Object >> GUI >> GUIComponent >> GUIListBase >> GUIVertList >> GUIList >> GUIScrollText
Package: 
GUI
This class in other games:
UT2003, UT2004

null

Properties[edit]

bClickText[edit]

Type: bool

Upon clicking on this text box, fill in ClickedString field

bNewContent[edit]

Type: bool

Modifiers: protected

This is set when new text content has been set for the control

bNoTeletype[edit]

Type: bool

Dont do the teletyping effect at all

bRepeat[edit]

Type: bool

Should the sequence be repeated ?

bStopped[edit]

Type: bool

Modifiers: protected


CharDelay[edit]

Type: float

This is the delay between each char

Default value: 0.25

ClickedString[edit]

Type: string


Content[edit]

Type: string

Modifiers: protected

This is the content to display in 1 single string

EOLDelay[edit]

Type: float

This is the delay to use when reaching end of line

Default value: 0.75

InitialDelay[edit]

Type: float

Initial delay after new content was set

MaxHistory[edit]

Type: int

Maximum number of rows. Only used in conjunction with NewText. 0 indicates no limit.

NewText[edit]

Type: string

New text to add the end of

oldWidth[edit]

Type: int

Modifiers: protected

Last width of the diplay area

RepeatDelay[edit]

Type: float

This is used after all the text has been displayed and bRepeat is true

Default value: 3.0

ScrollState[edit]

Type: eScrollState

Modifiers: protected

What was the last action we did

Separator[edit]

Type: string

Separator to use

Default value: "|"

VisibleChars[edit]

Type: int

Modifiers: protected

How Many chars in the last displayed line are visible

VisibleLines[edit]

Type: int

Modifiers: protected

This is the number of visible lines

Default value: -1

Default values[edit]

Property Value
TextAlign TXTA_Left

Enums[edit]

eScrollState[edit]

STS_None 
STS_Initial 
STS_Char 
STS_EOL 
STS_Repeat 

Delegates[edit]

OnEndOfLine[edit]

delegate OnEndOfLine ()


Functions[edit]

Native functions[edit]

GetWordUnderCursor[edit]

native final function string GetWordUnderCursor ()


Events[edit]

Timer[edit]

event Timer ()

Overrides: GUIComponent.Timer


Other instance functions[edit]

EndScrolling[edit]

function EndScrolling ()


InitComponent[edit]

function InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIVertList.InitComponent


InternalOnClick[edit]

function bool InternalOnClick (GUIComponent Sender)

Overrides: GUIVertList.InternalOnClick


InternalOnKeyEvent[edit]

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

Overrides: GUIVertList.InternalOnKeyEvent


InternalOnKeyType[edit]

function bool InternalOnKeyType (out byte Key, optional string Unicode)

Overrides: GUIVertList.InternalOnKeyType


Restart[edit]

function Restart ()


SetContent[edit]

function SetContent (string NewContent, optional string sep)


SkipChar[edit]

function bool SkipChar ()


Stop[edit]

function Stop ()