UE2:GUIStyles (UT2004)
- Package:
- XInterface
- Direct subclasses:
- STY_RosterButton, GUI2Styles, STYComboBox, STY_IRCEntry, STY_IRCText, STY_LadderButton, STY_ListSelection, STY_NoBackground, STY_Page, STY_RoundButton, STY_ScrollZone, STY_ServerBrowserGridHeader, STY_ServerBrowserGrid, STY_SliderCaption, STY_SquareButton, STY_TabButton, STY_TextButton, STY_TextLabel
- This class in other games:
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Class: UT2K4UI.GUIStyles
The GUIStyle is an object that is used to describe common visible components of the interface.
Written by Joe Wilcox (c) 2002, Epic Games, Inc. All Rights Reserved
Properties
Property group 'Style'
AlternateKeyName
Type: string
Array size: 2
Modifiers: const
BorderOffsets
Type: int
Array size: 4
Modifiers: noexport
How thick is the border
Default value, index 0: 10
Default value, index 1: 10
Default value, index 2: 10
Default value, index 3: 10
bTemporary
Type: bool
Modifiers: noexport
FontBKColors
Type: Object.Color
Array size: 5
Modifiers: noexport
This holds the Background Colors for each state
Default value, index 0:
Member | Value |
---|---|
A | 255 |
B | 0 |
G | 0 |
R | 0 |
Default value, index 1:
Member | Value |
---|---|
A | 255 |
B | 0 |
G | 0 |
R | 0 |
Default value, index 2:
Member | Value |
---|---|
A | 255 |
B | 0 |
G | 0 |
R | 0 |
Default value, index 3:
Member | Value |
---|---|
A | 255 |
B | 0 |
G | 0 |
R | 0 |
Default value, index 4:
Member | Value |
---|---|
A | 255 |
B | 0 |
G | 0 |
R | 0 |
FontColors
Type: Object.Color
Array size: 5
Modifiers: noexport
This array holds 1 font color for each state
Default value, index 0:
Member | Value |
---|---|
A | 255 |
B | 64 |
G | 0 |
R | 0 |
Default value, index 1:
Member | Value |
---|---|
A | 255 |
B | 64 |
G | 0 |
R | 0 |
Default value, index 2:
Member | Value |
---|---|
A | 255 |
B | 80 |
G | 32 |
R | 32 |
Default value, index 3:
Member | Value |
---|---|
A | 255 |
B | 80 |
G | 32 |
R | 32 |
Default value, index 4:
Member | Value |
---|---|
A | 255 |
B | 128 |
G | 0 |
R | 0 |
FontNames
Type: string
Array size: 15
Modifiers: noexport
Holds the names of the 5 fonts to use
Default value, index 0: "UT2SmallFont"
Default value, index 1: "UT2SmallFont"
Default value, index 10: "UT2LargeFont"
Default value, index 11: "UT2LargeFont"
Default value, index 12: "UT2LargeFont"
Default value, index 13: "UT2LargeFont"
Default value, index 14: "UT2LargeFont"
Default value, index 15: "UT2SmallFont"
Default value, index 16: "UT2SmallFont"
Default value, index 17: "UT2SmallFont"
Default value, index 18: "UT2MenuFont"
Default value, index 19: "UT2MenuFont"
Default value, index 20: "UT2MenuFont"
Default value, index 21: "UT2MenuFont"
Default value, index 22: "UT2MenuFont"
Fonts
Type: GUIFont
Array size: 15
Modifiers: noexport
Holds the fonts for each state
Images
Type: Material
Array size: 5
Modifiers: noexport
This array holds 1 material for each state (Blurry, Watched, Focused, Pressed, Disabled)
ImgColors
Type: Object.Color
Array size: 5
Modifiers: noexport
This array holds 1 image color for each state
Default value, index 0:
Member | Value |
---|---|
A | 255 |
B | 255 |
G | 255 |
R | 255 |
Default value, index 1:
Member | Value |
---|---|
A | 255 |
B | 255 |
G | 255 |
R | 255 |
Default value, index 2:
Member | Value |
---|---|
A | 255 |
B | 255 |
G | 255 |
R | 255 |
Default value, index 3:
Member | Value |
---|---|
A | 255 |
B | 255 |
G | 255 |
R | 255 |
Default value, index 4:
Member | Value |
---|---|
A | 255 |
B | 128 |
G | 128 |
R | 128 |
ImgHeights
Type: float
Array size: 5
Modifiers: noexport
-1 if full image
Default value, index 0: -1.0
Default value, index 1: -1.0
Default value, index 2: -1.0
Default value, index 3: -1.0
Default value, index 4: -1.0
ImgStyle
Type: GUI.eImgStyle
Array size: 5
Modifiers: noexport
How should each image for each state be drawed
Default value, index 0: ISTY_Stretched
Default value, index 1: ISTY_Stretched
Default value, index 2: ISTY_Stretched
Default value, index 3: ISTY_Stretched
Default value, index 4: ISTY_Stretched
ImgWidths
Type: float
Array size: 5
Modifiers: noexport
-1 if full image
Default value, index 0: -1.0
Default value, index 1: -1.0
Default value, index 2: -1.0
Default value, index 3: -1.0
Default value, index 4: -1.0
KeyName
Type: string
Modifiers: const
RStyles
Type: GUI.EMenuRenderStyle
Array size: 5
Modifiers: noexport
The render styles for each state
Default value, index 0: MSTY_Normal
Default value, index 1: MSTY_Normal
Default value, index 2: MSTY_Normal
Default value, index 3: MSTY_Normal
Default value, index 4: MSTY_Normal
Delegates
OnDraw
OnDrawText
Functions
Static native functions
Draw
DrawText
TextSize
Events
Initialize