Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

# TribesGUI.LabelElement

Extends
  HUDElement
Modifiers
  native

    Core.Object
    |
    +-- TribesGUI.HUDElement
       |
       +-- TribesGUI.LabelElement

#### Direct Known Subclasses:

> HUDChatEntry

Constants Summary

Inherited Contants from Core.Object
MaxInt, Pi, RF_NotForClient, RF_NotForEdit, RF_NotForServer, RF_Public, RF_Transactional, RF_Transient, RF_Unnamed

Variables Summary
bool | bAutoSize
int | firstVisibleLineIndex
Array<string> | textLineArray
Label
bool | bAutoScrollText
bool | bAutoWrapText
bool | bCentered
bool | bHTMLEncoded
bool | bShadowed
int | hangingIndent
ETextAlignment | justification
Color | shadowColor
int | shadowPixelOffset
String | text
float | textInsetX
float | textInsetY

Inherited Variables from TribesGUI.HUDElement
alpha, aspectRatio, backgroundTexture, BaseScript, bFlashing, bIsLayingOut, bNeedsLayout, borderBottom, borderLeft, borderRight, borderTop, bRelativePositioning, bRenderedOnce, bUseResFonts, bVisible, defaultDrawColor, FlashAlphaMax, FlashAlphaMin, FlashDuration, FlashPeriod, FlashStartTime, FlashSwitchTime, foregroundTexture, Height, HelpFont, HelpFontName, HelpLabel, horizontalAlignment, horizontalFill, iniOverride, initialHeight, initialPosX, initialPosY, initialWidth, insetX, insetY, LocalData, nextSibling, offsetX, offsetY, ParentElement, posX, posY, previousSibling, RelativeHeight, RelativePosX, RelativePosY, RelativeWidth, resFontNames, resFonts, screenHeight, screenWidth, TargetAlpha, textColor, textFont, textFontName, timeSeconds, verticalAlignment, verticalFill, Width

Inherited Variables from Core.Object
Class, Name, ObjectFlags, ObjectInternal[6], Outer

Enumerations Summary
ETextAlignment ALIGN_Left, ALIGN_Center, ALIGN_Right

Inherited Enumerations from TribesGUI.HUDElement
EHorizontalAlignment, EHorizontalFill, ELayoutDirection, EVerticalAlignment, EVerticalFill

Inherited Enumerations from Core.Object
EAxis, ECamOrientation, ESheerAxis

Structures Summary

Inherited Structures from TribesGUI.HUDElement
HUDMaterial

Inherited Structures from Core.Object
BoundingVolume, Box, Color, CompressedPosition, Coords, GameSpyServerData, Guid, IntegerRange, InterpCurve, InterpCurvePoint, MatCoords, Matrix, Plane, Quat, Range, RangeVector, Rotator, Scale, Vector

Functions Summary
| String | GetText ()))
|  | SetText (String newText))

Inherited Functions from TribesGUI.HUDElement
Construct, CreateClonedElement, CreateHUDElement, DoLayout, EncodeColor, EncodePlayerName, FlashElement, ForceNeedsLayout, GetAlpha, GetHeight, GetMaximumRelativeX, GetMaximumRelativeY, GetMaximumX, GetMaximumY, GetScreenPos, GetWidth, GetX, GetY, InitElement, InitElementHeirachy, InternalHeight, InternalLeft, InternalTop, InternalWidth, KeyEvent, KeyType, Layout, LoadConfig, LoadFont, LoadFonts, MakeHUDMaterial, MaterialHeight, MaterialWidth, NativeRenderElement, OnMouseClicked, OnMouseDoubleClicked, OnMouseEntered, OnMouseExited, PointInElement, PointInRegion, Render, RenderElement, RenderHUDMaterial, ResetFont, ResetHUDMaterial, ResizeForWidth, RootHUDScript, SetAlpha, SetColor, SetHeight, SetNeedsLayout, SetWidth, SetX, SetY, StaticCreateHUDElement, UpdateData

Inherited Functions from Core.Object
!, !=, $, $=, %, &, &&, *, **, *=, +, ++, +=, -, --, -=, / , /=, <, <<, <=, ==, >, >=, >>, >>>, @, @=, Abs, Acos, AllClasses, AllEditableProperties, Allocate, AllProperties, AppSeconds, Asc, Asin, AssertWithDescription, Atan, BeginState, CanSLog, Caps, Chr, Clamp, ClassConstruct, ClassIsChildOf, ClockwiseFrom, CommonBase, Construct, Cos, Cross, DecodeFromURL, Disable, Div, Dot, DynamicFindObject, DynamicLoadObject, Enable, EncodeForURL, EndState, Eval, Exp, FClamp, FindObject, FlushConfig, FMax, FMin, FRand, GetAxes, GetBuildNumber, GetEnum, GetMinCompatibleBuildNumber, GetPropertyText, GetStateName, GetSuperClass, GetUnAxes, GotoState, Hash, HasUnicode, InStr, InterpCurveEval, InterpCurveGetInputDomain, InterpCurveGetOutputRange, Inverse, Invert, IsA, IsInState, IsNearlyZero, IsUTracing, IsValidForURL, IsZero, Left, Len, Lerp, Localize, Locs, Log, Loge, LogGuardStack, Max, Mid, Min, MirrorVectorByNormal, Normal, Normalize, NullReferences, OrthoRotation, QuatFindBetween, QuatFromAxisAndAngle, QuatFromRotator, QuatInvert, QuatProduct, QuatRotateVector, QuatToRotator, Rand, RandRange, Repl, replaceStr, ResetConfig, Right, RotRand, SaveConfig, SetPropertyText, SetUTracing, Sin, Sleep, SLog, Smerp, Split, Sqrt, Square, StaticSaveConfig, StrCmp, Tan, VDist, VDistSquared, VRand, VSize, VSize2D, VSizeSquared, VSizeSquared2D, Warn, ^, ^^, |, ||, ~, ~=

Variables Detail

#### bAutoSize Source code

var bool bAutoSize;

#### firstVisibleLineIndex Source code

var int firstVisibleLineIndex;

#### textLineArray Source code

var Array<string> textLineArray;

### Label

#### bAutoScrollText Source code

var(Label) config bool bAutoScrollText;

> Whether the text should be scrolled to the left autmatically if it is too long

#### bAutoWrapText Source code

var(Label) config bool bAutoWrapText;

> Whether the text in the label should be auto wrapped

#### bCentered Source code

var(Label) config bool bCentered;

> Whether the label is centered

#### bHTMLEncoded Source code

var(Label) config bool bHTMLEncoded;

> Whether the string could be HTML encoded

#### bShadowed Source code

var(Label) config bool bShadowed;

> Whether the text of the label should be shadowed

#### hangingIndent Source code

var(Label) config int hangingIndent;

> Hanging indent value (in pixels)

#### justification Source code

var(Label) config ETextAlignment justification;

> justification to use

#### shadowColor Source code

var(Label) config Color shadowColor;

> Color to use for the shadow text, if shadowed

#### shadowPixelOffset Source code

var(Label) config int shadowPixelOffset;

> Offset of the shadowed text

#### text Source code

var(Label) config private String text;

> The text for the label

#### textInsetX Source code

var(Label) config float textInsetX;

> absolute text inset X

#### textInsetY Source code

var(Label) config float textInsetY;

> absolute text inset Y

Enumerations Detail

#### ETextAlignment Source code

enum ETextAlignment
{

> ALIGN_Left, ALIGN_Center, ALIGN_Right

};

Functions Detail

#### GetText Source code

function String GetText ( ) )

#### SetText Source code

function SetText ( String newText) )

Defaultproperties

    defaultproperties
    {
    	text				= ""
    	textFont			= font'Engine_res.SmallFont'
    	bShadowed			= false
    	shadowPixelOffset	= 1
    	bAutoWrapText		= true
    	bAutoScrollText		= false
    	bAutoSize			= true
    	bHTMLEncoded		= false

    	textColor			= (R=255,G=255,B=255,A=255)
    	shadowColor			= (R=120,G=120,B=120,A=120)
    }

Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

Creation time: st 23.5.2018 00:10:31.704 - Created with UnCodeX