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

GUI.GUIEditBox

Extends
GUIButton
Modifiers
HideCategories ( Menu , Object ) Native

Core.Object
|   
+-- GUI.GUI
   |   
   +-- GUI.GUIComponent
      |   
      +-- GUI.GUITextComponent
         |   
         +-- GUI.GUIButton
            |   
            +-- GUI.GUIEditBox

Variables Summary
boolbMouseDownTrapped
boolbMouseUpTrapped
floatDelayTime
byteLastKey
GUIEditBox
stringAllowedCharSet
boolbConvertSpaces
boolbFloatOnly
boolbIncludeSign
boolbIntOnly
boolbMaskText
intBorderOffsets[4]
boolbReadOnly
intCaretPos
ColorCursorColor
MaterialCursorImage
intFirstVis
ColorHighlightColor
intHighlightEnd
MaterialHighlightImage
intHighlightStart
intLastCaret
intLastLength
stringMaskedChar
intMaxWidth
eTextCaseTextCase
stringTextStr
stringVisibleText
Inherited Variables from GUI.GUIButton
bAllowMultiLine, ClickKeyCode, Value
Inherited Variables from GUI.GUITextComponent
bDontCenterVertically, bMultiLine, Caption, TextAlign

Delegates Summary
delegate OnEntryCancelled (GUIComponent Sender)
delegate OnEntryCompleted (GUIComponent Sender)

Functions Summary
function Change ()))
functionstring ConvertIllegal (string inputstr))
event DblClick ()))
function DeleteChar ()))
functionString GetText ()))
function InitComponent (GUIComponent MyOwner))
functionbool InternalOnKeyEvent (out byte Key, out byte State, float delta))
functionbool InternalOnKeyType (out byte Key, optional string Unicode))
event MousePressed ()))
event MouseReleased ()))
event SetText (string NewText))
function SetVisibleText ()))
event Show ()))
Inherited Functions from GUI.GUIButton
InitComponent, InternalOnKeyEvent, InternalOnXControllerEvent
Inherited Functions from GUI.GUITextComponent
GetCaption, InitComponent, SetCaption


Variables Detail

bMouseDownTrapped Source code

var bool bMouseDownTrapped;

bMouseUpTrapped Source code

var bool bMouseUpTrapped;

DelayTime Source code

var float DelayTime;

LastKey Source code

var byte LastKey;

GUIEditBox

AllowedCharSet Source code

var(GUIEditBox) config string AllowedCharSet;
Only Allow these characters

bConvertSpaces Source code

var(GUIEditBox) config bool bConvertSpaces;
Do we want to convert Spaces to _

bFloatOnly Source code

var(GUIEditBox) config bool bFloatOnly;
Only Allow Float Numeric entry

bIncludeSign Source code

var(GUIEditBox) config bool bIncludeSign;
Do we need to allow a -/+ sign

bIntOnly Source code

var(GUIEditBox) config bool bIntOnly;
Only Allow Interger Numeric entry

bMaskText Source code

var(GUIEditBox) config bool bMaskText;
Displays the text as a string of masked chars

BorderOffsets[4] Source code

var(GUIEditBox) editinline config int BorderOffsets[4];
How far in from the edit is the edit area

bReadOnly Source code

var(GUIEditBox) config bool bReadOnly;
Can't actually edit this box

CaretPos Source code

var(GUIEditBox) editconst int CaretPos;

CursorColor Source code

var(GUIEditBox) config Color CursorColor;
Color to draw the cursor in (alpha disregarded)

CursorImage Source code

var(GUIEditBox) config Material CursorImage;
The Material to Render for the cursor

FirstVis Source code

var(GUIEditBox) editconst int FirstVis;

HighlightColor Source code

var(GUIEditBox) config Color HighlightColor;
Color to draw the highlight in (alpha disregarded)

HighlightEnd Source code

var(GUIEditBox) editconst int HighlightEnd;

HighlightImage Source code

var(GUIEditBox) config Material HighlightImage;
The Material to Render for the highlight

HighlightStart Source code

var(GUIEditBox) editconst int HighlightStart;

LastCaret Source code

var(GUIEditBox) editconst int LastCaret;

LastLength Source code

var(GUIEditBox) editconst int LastLength;

MaskedChar Source code

var(GUIEditBox) config string MaskedChar;
Char to display instead of the actual chars if bMaskText

MaxWidth Source code

var(GUIEditBox) config int MaxWidth;
Holds the maximum width (in chars) of the string - 0 = No Max

TextCase Source code

var(GUIEditBox) config eTextCase TextCase;
Controls forcing case, etc

TextStr Source code

var(GUIEditBox) config protected string TextStr;
Holds the current string

VisibleText Source code

var(GUIEditBox) editconst string VisibleText;
Holds the current visible string


Delegates Detail

OnEntryCancelled Source code

delegate OnEntryCancelled ( GUIComponent Sender )

OnEntryCompleted Source code

delegate OnEntryCompleted ( GUIComponent Sender )


Functions Detail

Change Source code

function Change ( ) )

ConvertIllegal Source code

function string ConvertIllegal ( string inputstr) )

DblClick Source code

event DblClick ( ) )

DeleteChar Source code

function DeleteChar ( ) )

GetText Source code

function String GetText ( ) )

InitComponent Source code

function InitComponent ( GUIComponent MyOwner) )

InternalOnKeyEvent Source code

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

InternalOnKeyType Source code

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

MousePressed Source code

event MousePressed ( ) )

MouseReleased Source code

event MouseReleased ( ) )

SetText Source code

event SetText ( string NewText) )

SetVisibleText Source code

private function SetVisibleText ( ) )

Show Source code

event Show ( ) )


Defaultproperties

defaultproperties
{
	bNeverFocus=false
	StyleName="STY_SquareButton"
	MaxWidth=0
	TextCase=TXTC_None
	TextAlign=TXTA_Left
	LastCaret=-1
	LastLength=-1
	WinHeight=0.06
	bCaptureMouse=True
	OnClickSound=CS_Edit
	MaskedChar="*"
	CursorColor=(R=255,G=255,B=0,A=255)
	CursorImage=Texture'GUITribes.BorderBright'
	HighlightImage=Texture'GUITribes.BorderBright'
	HighlightColor=(R=112,G=112,B=112,A=255)
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: st 23.5.2018 00:10:30.174 - Created with UnCodeX