Barotrauma Client Doc
|
Public Member Functions | |
GUIComponentStyle (ContentXElement element, UIStyleFile file, GUIComponentStyle parent=null) | |
Sprite | GetDefaultSprite () |
Sprite | GetSprite (GUIComponent.ComponentState state) |
void | RefreshSize () |
override void | Dispose () |
Public Member Functions inherited from Barotrauma.GUIPrefab | |
GUIPrefab (ContentXElement element, UIStyleFile file) | |
Public Member Functions inherited from Barotrauma.Prefab | |
Prefab (ContentFile file, Identifier identifier) | |
Prefab (ContentFile file, ContentXElement element) | |
Static Public Member Functions | |
static GUIComponentStyle | FromHierarchy (IReadOnlyList< Identifier > hierarchy) |
static Identifier[] | ToHierarchy (GUIComponentStyle style) |
Static Public Member Functions inherited from Barotrauma.Prefab | |
static void | DisallowCallFromConstructor () |
Public Attributes | |
readonly Vector4 | Padding |
readonly Color | Color |
readonly Color | HoverColor |
readonly Color | SelectedColor |
readonly Color | PressedColor |
readonly Color | DisabledColor |
readonly Color | TextColor |
readonly Color | HoverTextColor |
readonly Color | SelectedTextColor |
readonly Color | DisabledTextColor |
readonly float | SpriteCrossFadeTime |
readonly float | ColorCrossFadeTime |
readonly TransitionMode | TransitionMode |
readonly Identifier | Font |
readonly bool | ForceUpperCase |
readonly Color | OutlineColor |
readonly ContentXElement | Element |
readonly Dictionary< GUIComponent.ComponentState, List< UISprite > > | Sprites |
SpriteFallBackState | FallBackState |
readonly GUIComponentStyle | ParentStyle |
readonly Dictionary< Identifier, GUIComponentStyle > | ChildStyles |
readonly string | Name |
Public Attributes inherited from Barotrauma.Prefab | |
readonly Identifier | Identifier |
readonly ContentFile | ContentFile |
Properties | |
int? | Width [get] |
int? | Height [get] |
Properties inherited from Barotrauma.Prefab | |
ContentPackage? | ContentPackage [get] |
ContentPath | FilePath [get] |
Additional Inherited Members | |
Static Public Attributes inherited from Barotrauma.Prefab | |
static readonly ImmutableHashSet< Type > | Types |
Protected Member Functions inherited from Barotrauma.GUIPrefab | |
override Identifier | DetermineIdentifier (XElement element) |
int | ParseSize (XElement element, string attributeName) |
Definition at line 20 of file ComponentStyle.cs.
Barotrauma.GUIComponentStyle.GUIComponentStyle | ( | ContentXElement | element, |
UIStyleFile | file, | ||
GUIComponentStyle | parent = null |
||
) |
Definition at line 82 of file ComponentStyle.cs.
|
virtual |
Implements Barotrauma.Prefab.
Definition at line 211 of file ComponentStyle.cs.
|
static |
Definition at line 53 of file ComponentStyle.cs.
Sprite Barotrauma.GUIComponentStyle.GetDefaultSprite | ( | ) |
Definition at line 172 of file ComponentStyle.cs.
Sprite Barotrauma.GUIComponentStyle.GetSprite | ( | GUIComponent.ComponentState | state | ) |
Definition at line 176 of file ComponentStyle.cs.
void Barotrauma.GUIComponentStyle.RefreshSize | ( | ) |
Definition at line 181 of file ComponentStyle.cs.
|
static |
Definition at line 65 of file ComponentStyle.cs.
readonly Dictionary<Identifier, GUIComponentStyle> Barotrauma.GUIComponentStyle.ChildStyles |
Definition at line 51 of file ComponentStyle.cs.
readonly Color Barotrauma.GUIComponentStyle.Color |
Definition at line 24 of file ComponentStyle.cs.
readonly float Barotrauma.GUIComponentStyle.ColorCrossFadeTime |
Definition at line 36 of file ComponentStyle.cs.
readonly Color Barotrauma.GUIComponentStyle.DisabledColor |
Definition at line 28 of file ComponentStyle.cs.
readonly Color Barotrauma.GUIComponentStyle.DisabledTextColor |
Definition at line 33 of file ComponentStyle.cs.
readonly ContentXElement Barotrauma.GUIComponentStyle.Element |
Definition at line 44 of file ComponentStyle.cs.
SpriteFallBackState Barotrauma.GUIComponentStyle.FallBackState |
Definition at line 48 of file ComponentStyle.cs.
readonly Identifier Barotrauma.GUIComponentStyle.Font |
Definition at line 39 of file ComponentStyle.cs.
readonly bool Barotrauma.GUIComponentStyle.ForceUpperCase |
Definition at line 40 of file ComponentStyle.cs.
readonly Color Barotrauma.GUIComponentStyle.HoverColor |
Definition at line 25 of file ComponentStyle.cs.
readonly Color Barotrauma.GUIComponentStyle.HoverTextColor |
Definition at line 31 of file ComponentStyle.cs.
readonly string Barotrauma.GUIComponentStyle.Name |
Definition at line 77 of file ComponentStyle.cs.
readonly Color Barotrauma.GUIComponentStyle.OutlineColor |
Definition at line 42 of file ComponentStyle.cs.
readonly Vector4 Barotrauma.GUIComponentStyle.Padding |
Definition at line 22 of file ComponentStyle.cs.
readonly GUIComponentStyle Barotrauma.GUIComponentStyle.ParentStyle |
Definition at line 50 of file ComponentStyle.cs.
readonly Color Barotrauma.GUIComponentStyle.PressedColor |
Definition at line 27 of file ComponentStyle.cs.
readonly Color Barotrauma.GUIComponentStyle.SelectedColor |
Definition at line 26 of file ComponentStyle.cs.
readonly Color Barotrauma.GUIComponentStyle.SelectedTextColor |
Definition at line 32 of file ComponentStyle.cs.
readonly float Barotrauma.GUIComponentStyle.SpriteCrossFadeTime |
Definition at line 35 of file ComponentStyle.cs.
readonly Dictionary<GUIComponent.ComponentState, List<UISprite> > Barotrauma.GUIComponentStyle.Sprites |
Definition at line 46 of file ComponentStyle.cs.
readonly Color Barotrauma.GUIComponentStyle.TextColor |
Definition at line 30 of file ComponentStyle.cs.
readonly TransitionMode Barotrauma.GUIComponentStyle.TransitionMode |
Definition at line 37 of file ComponentStyle.cs.
|
get |
Definition at line 80 of file ComponentStyle.cs.
|
get |
Definition at line 79 of file ComponentStyle.cs.