I love the smell of UnrealEd crashing in the morning. – tarquin

UE2:GUINumericEdit (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UE2Runtime Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUINumericEdit

Contents

Package: 
GUI
This class in other games:
UT2003, UT2004

Class: GUI. UT2NumericEdit

A Combination of an EditBox and 2 spinners

Written by Joe Wilcox (c) 2002, Epic Games, Inc. All Rights Reserved

[edit] Properties

[edit] Property group 'Menu'

[edit] bLeftJustified

Type: bool


[edit] MaxValue

Type: int


[edit] MinValue

Type: int


[edit] Step

Type: int


Default value: 1

[edit] Value

Type: string


Default value: "0"

[edit] Internal variables

[edit] MyEditBox

Type: GUIEditBox

Modifiers: automated


Default value: GUIEditBox'cMyEditBox'

[edit] MyMinus

Type: GUISpinnerButton

Modifiers: automated


Default value: GUISpinnerButton'cMyMinus'

[edit] MyPlus

Type: GUISpinnerButton

Modifiers: automated


Default value: GUISpinnerButton'cMyPlus'

[edit] Default values

Property Value
bAcceptsInput True
PropagateVisibility True
WinHeight 0.06

[edit] Subobjects

[edit] cMyEditBox

Class: GUI.GUIEditBox

Property Value
bIntOnly True

[edit] cMyMinus

Class: GUI.GUISpinnerButton

Empty subobject definition.

[edit] cMyPlus

Class: GUI.GUISpinnerButton

Property Value
PlusButton True

[edit] Instance functions

[edit] CalcMaxLen

function CalcMaxLen ()


[edit] EditKeyEvent

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


[edit] EditOnChange

function EditOnChange (GUIComponent Sender)


[edit] InitComponent

function InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIMultiComponent.InitComponent


[edit] SetHint

function SetHint (string NewHint)

Overrides: GUIComponent.SetHint


[edit] SetValue

function SetValue (int V)


[edit] SpinnerMinusClick

function bool SpinnerMinusClick (GUIComponent Sender)


[edit] SpinnerPlusClick

function bool SpinnerPlusClick (GUIComponent Sender)