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

# GUI.GUIStyles

Extends
  GUI
Modifiers
  PerObjectConfig Config ( GuiBase ) Native

    Core.Object
    |
    +-- GUI.GUI
       |
       +-- GUI.GUIStyles

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 | bExternalMultilining
bool | bLastBold
bool | bLastItalics
bool | bLastUnderlined
Color | LastColor
Font | LastFont
GUIStyles
array<string> | BoldFontNames
array<GUIFont> | BoldFonts
array<string> | BoldItalicFontNames
array<GUIFont> | BoldItalicFonts
array<sBorderOffset> | BorderOffsets
Name | EffectCategory
array<Color> | FontColors
array<string> | FontNames
array<GUIFont> | Fonts
array<Material> | Images
array<Color> | ImgColors
array<eImgStyle> | ImgStyle
array<string> | ItalicFontNames
array<GUIFont> | ItalicFonts
string | KeyName
array<EMenuRenderStyle> | RStyles
int | UnderlineWeight

Inherited Variables from GUI.GUI
Controller, QBTN_Abort, QBTN_AbortRetry, QBTN_Cancel, QBTN_Continue, QBTN_Ignore, QBTN_No, QBTN_Ok, QBTN_OkCancel, QBTN_Retry, QBTN_TimeOut, QBTN_Yes, QBTN_YesNo, QBTN_YesNoCancel

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

Enumerations Summary

Inherited Enumerations from GUI.GUI
eEditMask, eIconPosition, eImgAlign, eImgStyle, eListElemDisplay, EMenuRenderStyle, eMenuState, eProgressDirection, eTextAlign, eTextCase, eXControllerCodes

Inherited Enumerations from Core.Object
EAxis, ECamOrientation, ESheerAxis

Structures Summary
sBorderOffset LeftOffset, RightOffset, TopOffset, BottomOffset

Inherited Structures from GUI.GUI
ControlSpec, GUIListElem

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

Delegates Summary
| bool | OnDraw (Canvas Canvas, eMenuState MenuState, float left, float top, float width, float height)
| bool | OnDrawText (Canvas Canvas, eMenuState MenuState, float left, float top, float width, float height, eTextAlign Align, string Text, optional bool bParseCodes, optional bool bMultiline)

Functions Summary
|  | Draw (Canvas Canvas, eMenuState MenuState, float left, float top, float width, float height)
|  | DrawText (Canvas Canvas, eMenuState MenuState, float left, float top, float width, float height, eTextAlign Align, string Text, optional bool bParseCodes, optional bool bMultiline)
|  | Initialize ()))

Inherited Functions from GUI.GUI
CopyConfig, CreateElement, IsDigit, MakeColorCode, StripCodes

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

#### bExternalMultilining Source code

var bool bExternalMultilining;

#### bLastBold Source code

var bool bLastBold;

#### bLastItalics Source code

var bool bLastItalics;

#### bLastUnderlined Source code

var bool bLastUnderlined;

#### LastColor Source code

var Color LastColor;

#### LastFont Source code

var Font LastFont;

### GUIStyles

#### BoldFontNames Source code

var(GUIStyles) config editinline array<string> BoldFontNames;

> Holds the names of the 5 bold fonts to use

#### BoldFonts Source code

var(GUIStyles) EditConst editinline array<GUIFont> BoldFonts;

> Holds the bold fonts for each state

#### BoldItalicFontNames Source code

var(GUIStyles) config editinline array<string> BoldItalicFontNames;

> Holds the names of the 5 underline fonts to use

#### BoldItalicFonts Source code

var(GUIStyles) EditConst editinline array<GUIFont> BoldItalicFonts;

> Holds the underline fonts for each state

#### BorderOffsets Source code

var(GUIStyles) config editinline array<sBorderOffset> BorderOffsets;

> How thick is the border (offset in pixels at 1600x1200)

#### EffectCategory Source code

var(GUIStyles) config Name EffectCategory;

> The effect category GUIComponents of this style belong to; used for GUI effect events

#### FontColors Source code

var(GUIStyles) config editinline array<Color> FontColors;

> This array holds 1 font color for each state

#### FontNames Source code

var(GUIStyles) config editinline array<string> FontNames;

> Holds the names of the 5 fonts to use

#### Fonts Source code

var(GUIStyles) EditConst editinline array<GUIFont> Fonts;

> Holds the fonts for each state

#### Images Source code

var(GUIStyles) config editinline array<Material> Images;

> This array holds 1 material for each state (Blurry, Watched, Focused, Pressed, Disabled)

#### ImgColors Source code

var(GUIStyles) config editinline array<Color> ImgColors;

> This array holds 1 image color for each state

#### ImgStyle Source code

var(GUIStyles) config editinline array<eImgStyle> ImgStyle;

> How should each image for each state be drawn

#### ItalicFontNames Source code

var(GUIStyles) config editinline array<string> ItalicFontNames;

> Holds the names of the 5 italic fonts to use

#### ItalicFonts Source code

var(GUIStyles) EditConst editinline array<GUIFont> ItalicFonts;

> Holds the italic fonts for each state

#### KeyName Source code

var(GUIStyles) config string KeyName;

> This is the name of the style used for lookup

#### RStyles Source code

var(GUIStyles) config editinline array<EMenuRenderStyle> RStyles;

> The render styles for each state

#### UnderlineWeight Source code

var(GUIStyles) config int UnderlineWeight;

> Number of pixels in height to be used for underlining

Structures Detail

#### sBorderOffset Source code

struct sBorderOffset
{

> var(GUIStyles) config float BottomOffset;
> var(GUIStyles) config float LeftOffset;
> var(GUIStyles) config float RightOffset;
> var(GUIStyles) config float TopOffset;

};

> BottomOffset:

> > The offset from the bottom of the component

> LeftOffset:

> > The offset from the left of the component

> RightOffset:

> > The offset from the right of the component

> TopOffset:

> > The offset from the top of the component

Delegates Detail

#### OnDraw Source code

delegate bool OnDraw ( Canvas Canvas, eMenuState MenuState, float left, float top, float width, float height )

#### OnDrawText Source code

delegate bool OnDrawText ( Canvas Canvas, eMenuState MenuState, float left, float top, float width, float height, eTextAlign Align, string Text, optional bool bParseCodes, optional bool bMultiline )

Functions Detail

#### Draw Source code

native function Draw ( Canvas Canvas, eMenuState MenuState, float left, float top, float width, float height )

#### DrawText Source code

native function DrawText ( Canvas Canvas, eMenuState MenuState, float left, float top, float width, float height, eTextAlign Align, string Text, optional bool bParseCodes, optional bool bMultiline )

#### Initialize Source code

event Initialize ( ) )

Defaultproperties

    defaultproperties
    {
    	RStyles(0)=MSTY_Normal;
    	RStyles(1)=MSTY_Normal;
    	RStyles(2)=MSTY_Normal;
    	RStyles(3)=MSTY_Normal;
    	RStyles(4)=MSTY_Normal;

    	ImgStyle(0)=ISTY_Scaled
    	ImgStyle(1)=ISTY_Scaled
    	ImgStyle(2)=ISTY_Scaled
    	ImgStyle(3)=ISTY_Scaled
    	ImgStyle(4)=ISTY_Scaled

    	Images(0)=None
    	Images(1)=None
    	Images(2)=None
    	Images(3)=None
    	Images(4)=None

    	ImgColors(0)=(R=255,G=255,B=255,A=255)
    	ImgColors(1)=(R=255,G=255,B=255,A=255)
    	ImgColors(2)=(R=255,G=255,B=255,A=255)
    	ImgColors(3)=(R=255,G=255,B=255,A=255)
    	ImgColors(4)=(R=128,G=128,B=128,A=255)

    	FontColors(0)=(R=255,G=255,B=255,A=255)
    	FontColors(1)=(R=255,G=255,B=255,A=255)
    	FontColors(2)=(R=255,G=255,B=255,A=255)
    	FontColors(3)=(R=255,G=255,B=255,A=255)
    	FontColors(4)=(R=128,G=128,B=128,A=255)

    	FontNames(0)="MenuFont"
    	FontNames(1)="MenuFont"
    	FontNames(2)="MenuFont"
    	FontNames(3)="MenuFont"
    	FontNames(4)="MenuFont"

    	BoldFontNames(0)="MenuFont"
    	BoldFontNames(1)="MenuFont"
    	BoldFontNames(2)="MenuFont"
    	BoldFontNames(3)="MenuFont"
    	BoldFontNames(4)="MenuFont"

    	ItalicFontNames(0)="MenuFont"
    	ItalicFontNames(1)="MenuFont"
    	ItalicFontNames(2)="MenuFont"
    	ItalicFontNames(3)="MenuFont"
    	ItalicFontNames(4)="MenuFont"

    	BoldItalicFontNames(0)="MenuFont"
    	BoldItalicFontNames(1)="MenuFont"
    	BoldItalicFontNames(2)="MenuFont"
    	BoldItalicFontNames(3)="MenuFont"
    	BoldItalicFontNames(4)="MenuFont"

    	BorderOffsets(0)=(LeftOffset=15.0,RightOffset=-15.0,TopOffset=0.0,BottomOffset=0.0)
    	BorderOffsets(1)=(LeftOffset=15.0,RightOffset=-15.0,TopOffset=0.0,BottomOffset=0.0)
    	BorderOffsets(2)=(LeftOffset=15.0,RightOffset=-15.0,TopOffset=0.0,BottomOffset=0.0)
    	BorderOffsets(3)=(LeftOffset=15.0,RightOffset=-15.0,TopOffset=0.0,BottomOffset=0.0)
    	BorderOffsets(4)=(LeftOffset=15.0,RightOffset=-15.0,TopOffset=0.0,BottomOffset=0.0)

        UnderlineWeight=2
    }

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

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