Mostly Harmless

Legacy:GUIStyles

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 :: Object >> GUI >> GUIStyles (Package: XInterface)

The GUIStyle is an object that is used to describe common visible components of the interface.

Properties[edit]

string KeyName 
This is the name of the style used for lookup.
EMenuRenderStyle RStyles[5] 
The render styles for each state.
Material Images[5] 
This array holds 1 material for each state ( Blurry, Watched, Focused, Pressed, Disabled ).
eImgStyle ImgStyle[5] 
How should each image for each state be drawed.
Color FontColors[5] 
This array holds 1 font color for each state.
Color ImgColors[5] 
This array holds 1 image color for each state.
GUIFont Fonts[5] 
Holds the fonts for each state.
int BorderOffsets[4] 
How thick is the border.
string FontNames[5] 
Holds the names of the 5 fonts to use.
bool bRegistered 
Used as Default only. Tells if Controller has this style registered.

Methods[edit]

Function[edit]

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 ) 

Events[edit]

Initialize() 

Delegates[edit]

bool OnDraw( Canvas Canvas, eMenuState MenuState, float left, float top, float width, float height ) 
Can be used to draw. Return true to skip the default draw method.
bool OnDrawText( Canvas Canvas, eMenuState MenuState, float left, float top, float width, float height, eTextAlign Align, string Text ) 
Can be used to draw. Return true to skip the default draw method.

Known Subclasses[edit]

Related Topics[edit]