Barotrauma Client Doc
Barotrauma.GUIComponent Class Reference
Inheritance diagram for Barotrauma.GUIComponent:
Barotrauma.CreditsPlayer Barotrauma.GUIButton Barotrauma.GUIColorPicker Barotrauma.GUICustomComponent Barotrauma.GUIDragHandle Barotrauma.GUIDropDown Barotrauma.GUIFrame Barotrauma.GUIImage Barotrauma.GUILayoutGroup Barotrauma.GUIListBox Barotrauma.GUINumberInput Barotrauma.GUIProgressBar Barotrauma.GUIRadioButtonGroup Barotrauma.GUIScissorComponent Barotrauma.GUIScrollBar Barotrauma.GUITextBlock Barotrauma.GUITextBox Barotrauma.GUITickBox Barotrauma.SerializableEntityEditor Barotrauma.SlideshowPlayer

Public Types

enum class  ComponentState {
  None , Hover , Pressed , Selected ,
  HoverSelected
}
 

Public Member Functions

delegate bool SecondaryButtonDownHandler (GUIComponent component, object userData)
 
GetChild< T > ()
 
GetAnyChild< T > ()
 
IEnumerable< T > GetAllChildren< T > ()
 
IEnumerable< GUIComponentGetAllChildren ()
 Returns all child elements in the hierarchy. More...
 
GUIComponent GetChild (int index)
 
int GetChildIndex (GUIComponent child)
 
GUIComponent GetChildByUserData (object obj)
 
bool IsParentOf (GUIComponent component, bool recursive=true)
 
bool IsChildOf (GUIComponent component, bool recursive=true)
 
virtual void RemoveChild (GUIComponent child)
 
GUIComponent FindChild (Func< GUIComponent, bool > predicate, bool recursive=false)
 
GUIComponent FindChild (object userData, bool recursive=false)
 
IEnumerable< GUIComponentFindChildren (object userData)
 
IEnumerable< GUIComponentFindChildren (Func< GUIComponent, bool > predicate)
 
virtual void ClearChildren ()
 
void SetAsFirstChild ()
 
void SetAsLastChild ()
 
virtual void AddToGUIUpdateList (bool ignoreChildren=false, int order=0)
 
void RemoveFromGUIUpdateList (bool alsoChildren=true)
 
void UpdateAuto (float deltaTime)
 Only GUI should call this method. Auto updating follows the order of GUI update list. This order can be tweaked by changing the UpdateOrder property. More...
 
void UpdateManually (float deltaTime, bool alsoChildren=false, bool recursive=true)
 By default, all the gui elements are updated automatically in the same order they appear on the update list. More...
 
virtual void ForceLayoutRecalculation ()
 
void ForceUpdate ()
 
void UpdateChildren (float deltaTime, bool recursive)
 Updates all the children manually. More...
 
void DrawAuto (SpriteBatch spriteBatch)
 Only GUI should call this method. Auto drawing follows the order of GUI update list. This order can be tweaked by changing the UpdateOrder property. More...
 
virtual void DrawManually (SpriteBatch spriteBatch, bool alsoChildren=false, bool recursive=true)
 By default, all the gui elements are drawn automatically in the same order they appear on the update list. More...
 
virtual void DrawChildren (SpriteBatch spriteBatch, bool recursive)
 Draws all the children manually. More...
 
void DrawToolTip (SpriteBatch spriteBatch)
 Creates and draws a tooltip. More...
 
virtual void Flash (Color? color=null, float flashDuration=1.5f, bool useRectangleFlash=false, bool useCircularFlash=false, Vector2? flashRectInflate=null)
 
void ImmediateFlash (Color? color=null)
 
void FadeOut (float duration, bool removeAfter, float wait=0.0f, Action onRemove=null)
 
void FadeIn (float wait, float duration)
 
void SlideIn (float wait, float duration, int amount, SlideDirection direction)
 
void SlideOut (float duration, int amount, SlideDirection direction)
 
void Pulsate (Vector2 startScale, Vector2 endScale, float duration)
 
virtual void ApplyStyle (GUIComponentStyle style)
 
void ApplySizeRestrictions (GUIComponentStyle style)
 

Static Public Member Functions

static void DrawToolTip (SpriteBatch spriteBatch, RichString toolTip, Vector2 pos)
 
static void DrawToolTip (SpriteBatch spriteBatch, RichString toolTip, Rectangle targetElement, Anchor anchor=Anchor.BottomCenter, Pivot pivot=Pivot.TopLeft)
 
static GUIComponent FromXML (ContentXElement element, RectTransform parent)
 

Public Attributes

CursorState HoverCursor = CursorState.Default
 
bool AlwaysOverrideCursor = false
 
SecondaryButtonDownHandler OnSecondaryClicked
 
Action< GUIComponentOnAddedToGUIUpdateList
 
bool CanBeFocused
 
Dictionary< ComponentState, List< UISprite > > sprites
 
SpriteEffects SpriteEffects
 
object UserData
 
bool ExternalHighlight = false
 

Protected Member Functions

Rectangle ClampRect (Rectangle r)
 
 GUIComponent (string style, RectTransform rectT)
 This is the new constructor. More...
 
 GUIComponent (string style)
 
virtual void Update (float deltaTime)
 
virtual Color GetColor (ComponentState state)
 
Color GetBlendedColor (Color targetColor, ref Color blendedColor)
 
virtual void Draw (SpriteBatch spriteBatch)
 
virtual void SetAlpha (float a)
 

Protected Attributes

Alignment alignment
 
Identifier[] styleHierarchy
 
Color color
 
Color hoverColor
 
Color selectedColor
 
Color disabledColor
 
Color pressedColor
 
Color flashColor
 
float flashDuration = 1.5f
 
float flashTimer
 
bool enabled
 
ComponentState _state
 
ComponentState _previousState
 
bool isSelected
 
Color _currentColor
 

Properties

GUIComponent Parent [get]
 
IEnumerable< GUIComponentChildren [get]
 
bool AutoUpdate = true [get, set]
 
bool AutoDraw = true [get, set]
 
int UpdateOrder [get, set]
 
bool Bounce [get, set]
 
bool GlowOnSelect [get, set]
 
Vector2 UVOffset [get, set]
 
virtual float FlashTimer [get]
 
bool IgnoreLayoutGroups [get, set]
 
virtual GUIFont Font [get, set]
 
virtual RichString ToolTip [get, set]
 
GUIComponentStyle Style [get]
 
bool Visible [get, set]
 
virtual bool Enabled [get, set]
 
Vector2 Center [get]
 
virtual Rectangle Rect [get]
 
bool ClampMouseRectToParent = false [get, set]
 
virtual Rectangle? MouseRect [get]
 
virtual Color OutlineColor [get, set]
 
virtual bool Selected [get, set]
 
virtual ComponentState State [get, set]
 
int CountChildren [get]
 
Color DefaultColor [get, set]
 Currently only used for the fade effect in GUIListBox, should be set to the same value as Color but only assigned once More...
 
virtual Color Color [get, set]
 
virtual Color HoverColor [get, set]
 
virtual Color SelectedColor [get, set]
 
virtual Color DisabledColor [get, set]
 
virtual Color PressedColor [get, set]
 
TransitionMode ColorTransition [get]
 
SpriteFallBackState FallBackState [get]
 
float SpriteCrossFadeTime [get]
 
float ColorCrossFadeTime [get]
 
virtual bool PlaySoundOnSelect = false [get, set]
 
RectTransform RectTransform [get]
 

Detailed Description

Definition at line 18 of file GUIComponent.cs.

Member Enumeration Documentation

◆ ComponentState

Enumerator
None 
Hover 
Pressed 
Selected 
HoverSelected 

Definition at line 162 of file GUIComponent.cs.

Constructor & Destructor Documentation

◆ GUIComponent() [1/2]

Barotrauma.GUIComponent.GUIComponent ( string  style,
RectTransform  rectT 
)
protected

This is the new constructor.

Definition at line 407 of file GUIComponent.cs.

◆ GUIComponent() [2/2]

Barotrauma.GUIComponent.GUIComponent ( string  style)
protected

Definition at line 419 of file GUIComponent.cs.

Member Function Documentation

◆ AddToGUIUpdateList()

virtual void Barotrauma.GUIComponent.AddToGUIUpdateList ( bool  ignoreChildren = false,
int  order = 0 
)
virtual

◆ ApplySizeRestrictions()

void Barotrauma.GUIComponent.ApplySizeRestrictions ( GUIComponentStyle  style)

Definition at line 970 of file GUIComponent.cs.

◆ ApplyStyle()

virtual void Barotrauma.GUIComponent.ApplyStyle ( GUIComponentStyle  style)
virtual

Reimplemented in Barotrauma.GUIButton, and Barotrauma.GUITextBlock.

Definition at line 945 of file GUIComponent.cs.

◆ ClampRect()

Rectangle Barotrauma.GUIComponent.ClampRect ( Rectangle  r)
protected

Definition at line 251 of file GUIComponent.cs.

◆ ClearChildren()

virtual void Barotrauma.GUIComponent.ClearChildren ( )
virtual

Reimplemented in Barotrauma.GUIListBox, and Barotrauma.GUIDropDown.

Definition at line 135 of file GUIComponent.cs.

◆ Draw()

◆ DrawAuto()

void Barotrauma.GUIComponent.DrawAuto ( SpriteBatch  spriteBatch)

Only GUI should call this method. Auto drawing follows the order of GUI update list. This order can be tweaked by changing the UpdateOrder property.

Definition at line 561 of file GUIComponent.cs.

◆ DrawChildren()

virtual void Barotrauma.GUIComponent.DrawChildren ( SpriteBatch  spriteBatch,
bool  recursive 
)
virtual

Draws all the children manually.

Reimplemented in Barotrauma.GUIScissorComponent, and Barotrauma.GUIListBox.

Definition at line 587 of file GUIComponent.cs.

◆ DrawManually()

virtual void Barotrauma.GUIComponent.DrawManually ( SpriteBatch  spriteBatch,
bool  alsoChildren = false,
bool  recursive = true 
)
virtual

By default, all the gui elements are drawn automatically in the same order they appear on the update list.

Reimplemented in Barotrauma.GUIDropDown.

Definition at line 572 of file GUIComponent.cs.

◆ DrawToolTip() [1/3]

void Barotrauma.GUIComponent.DrawToolTip ( SpriteBatch  spriteBatch)

Creates and draws a tooltip.

Definition at line 732 of file GUIComponent.cs.

◆ DrawToolTip() [2/3]

static void Barotrauma.GUIComponent.DrawToolTip ( SpriteBatch  spriteBatch,
RichString  toolTip,
Rectangle  targetElement,
Anchor  anchor = Anchor.BottomCenter,
Pivot  pivot = Pivot.TopLeft 
)
static

Definition at line 761 of file GUIComponent.cs.

◆ DrawToolTip() [3/3]

static void Barotrauma.GUIComponent.DrawToolTip ( SpriteBatch  spriteBatch,
RichString  toolTip,
Vector2  pos 
)
static

Definition at line 738 of file GUIComponent.cs.

◆ FadeIn()

void Barotrauma.GUIComponent.FadeIn ( float  wait,
float  duration 
)

Definition at line 833 of file GUIComponent.cs.

◆ FadeOut()

void Barotrauma.GUIComponent.FadeOut ( float  duration,
bool  removeAfter,
float  wait = 0.0f,
Action  onRemove = null 
)

Definition at line 828 of file GUIComponent.cs.

◆ FindChild() [1/2]

GUIComponent Barotrauma.GUIComponent.FindChild ( Func< GUIComponent, bool >  predicate,
bool  recursive = false 
)

Definition at line 96 of file GUIComponent.cs.

◆ FindChild() [2/2]

GUIComponent Barotrauma.GUIComponent.FindChild ( object  userData,
bool  recursive = false 
)

Definition at line 110 of file GUIComponent.cs.

◆ FindChildren() [1/2]

IEnumerable<GUIComponent> Barotrauma.GUIComponent.FindChildren ( Func< GUIComponent, bool >  predicate)

Definition at line 130 of file GUIComponent.cs.

◆ FindChildren() [2/2]

IEnumerable<GUIComponent> Barotrauma.GUIComponent.FindChildren ( object  userData)

Definition at line 125 of file GUIComponent.cs.

◆ Flash()

virtual void Barotrauma.GUIComponent.Flash ( Color color = null,
float  flashDuration = 1.5f,
bool  useRectangleFlash = false,
bool  useCircularFlash = false,
Vector2?  flashRectInflate = null 
)
virtual

Reimplemented in Barotrauma.GUITextBox, and Barotrauma.GUIButton.

Definition at line 811 of file GUIComponent.cs.

◆ ForceLayoutRecalculation()

virtual void Barotrauma.GUIComponent.ForceLayoutRecalculation ( )
virtual

Reimplemented in Barotrauma.GUIListBox.

Definition at line 531 of file GUIComponent.cs.

◆ ForceUpdate()

void Barotrauma.GUIComponent.ForceUpdate ( )

◆ FromXML()

static GUIComponent Barotrauma.GUIComponent.FromXML ( ContentXElement  element,
RectTransform  parent 
)
static

Definition at line 986 of file GUIComponent.cs.

◆ GetAllChildren()

IEnumerable<GUIComponent> Barotrauma.GUIComponent.GetAllChildren ( )

Returns all child elements in the hierarchy.

Definition at line 50 of file GUIComponent.cs.

◆ GetAllChildren< T >()

IEnumerable<T> Barotrauma.GUIComponent.GetAllChildren< T > ( )
Type Constraints
T :GUIComponent 

Definition at line 42 of file GUIComponent.cs.

◆ GetAnyChild< T >()

T Barotrauma.GUIComponent.GetAnyChild< T > ( )
Type Constraints
T :GUIComponent 

Definition at line 37 of file GUIComponent.cs.

◆ GetBlendedColor()

Color Barotrauma.GUIComponent.GetBlendedColor ( Color  targetColor,
ref Color  blendedColor 
)
protected

Definition at line 612 of file GUIComponent.cs.

◆ GetChild()

GUIComponent Barotrauma.GUIComponent.GetChild ( int  index)

Definition at line 55 of file GUIComponent.cs.

◆ GetChild< T >()

Type Constraints
T :GUIComponent 

Definition at line 32 of file GUIComponent.cs.

◆ GetChildByUserData()

GUIComponent Barotrauma.GUIComponent.GetChildByUserData ( object  obj)

Definition at line 67 of file GUIComponent.cs.

◆ GetChildIndex()

int Barotrauma.GUIComponent.GetChildIndex ( GUIComponent  child)

Definition at line 61 of file GUIComponent.cs.

◆ GetColor()

virtual Color Barotrauma.GUIComponent.GetColor ( ComponentState  state)
protectedvirtual

Definition at line 597 of file GUIComponent.cs.

◆ ImmediateFlash()

void Barotrauma.GUIComponent.ImmediateFlash ( Color color = null)

Definition at line 821 of file GUIComponent.cs.

◆ IsChildOf()

bool Barotrauma.GUIComponent.IsChildOf ( GUIComponent  component,
bool  recursive = true 
)

Definition at line 82 of file GUIComponent.cs.

◆ IsParentOf()

bool Barotrauma.GUIComponent.IsParentOf ( GUIComponent  component,
bool  recursive = true 
)

Definition at line 76 of file GUIComponent.cs.

◆ Pulsate()

void Barotrauma.GUIComponent.Pulsate ( Vector2  startScale,
Vector2  endScale,
float  duration 
)

Definition at line 923 of file GUIComponent.cs.

◆ RemoveChild()

virtual void Barotrauma.GUIComponent.RemoveChild ( GUIComponent  child)
virtual

Reimplemented in Barotrauma.GUIListBox.

Definition at line 88 of file GUIComponent.cs.

◆ RemoveFromGUIUpdateList()

void Barotrauma.GUIComponent.RemoveFromGUIUpdateList ( bool  alsoChildren = true)

Definition at line 443 of file GUIComponent.cs.

◆ SecondaryButtonDownHandler()

delegate bool Barotrauma.GUIComponent.SecondaryButtonDownHandler ( GUIComponent  component,
object  userData 
)

◆ SetAlpha()

virtual void Barotrauma.GUIComponent.SetAlpha ( float  a)
protectedvirtual

Reimplemented in Barotrauma.GUITextBlock.

Definition at line 805 of file GUIComponent.cs.

◆ SetAsFirstChild()

void Barotrauma.GUIComponent.SetAsFirstChild ( )

Definition at line 140 of file GUIComponent.cs.

◆ SetAsLastChild()

void Barotrauma.GUIComponent.SetAsLastChild ( )

Definition at line 145 of file GUIComponent.cs.

◆ SlideIn()

void Barotrauma.GUIComponent.SlideIn ( float  wait,
float  duration,
int  amount,
SlideDirection  direction 
)

Definition at line 839 of file GUIComponent.cs.

◆ SlideOut()

void Barotrauma.GUIComponent.SlideOut ( float  duration,
int  amount,
SlideDirection  direction 
)

Definition at line 852 of file GUIComponent.cs.

◆ Update()

◆ UpdateAuto()

void Barotrauma.GUIComponent.UpdateAuto ( float  deltaTime)

Only GUI should call this method. Auto updating follows the order of GUI update list. This order can be tweaked by changing the UpdateOrder property.

Definition at line 451 of file GUIComponent.cs.

◆ UpdateChildren()

void Barotrauma.GUIComponent.UpdateChildren ( float  deltaTime,
bool  recursive 
)

Updates all the children manually.

Definition at line 548 of file GUIComponent.cs.

◆ UpdateManually()

void Barotrauma.GUIComponent.UpdateManually ( float  deltaTime,
bool  alsoChildren = false,
bool  recursive = true 
)

By default, all the gui elements are updated automatically in the same order they appear on the update list.

Definition at line 462 of file GUIComponent.cs.

Member Data Documentation

◆ _currentColor

Color Barotrauma.GUIComponent._currentColor
protected

Definition at line 595 of file GUIComponent.cs.

◆ _previousState

ComponentState Barotrauma.GUIComponent._previousState
protected

Definition at line 306 of file GUIComponent.cs.

◆ _state

ComponentState Barotrauma.GUIComponent._state
protected

Definition at line 305 of file GUIComponent.cs.

◆ alignment

Alignment Barotrauma.GUIComponent.alignment
protected

Definition at line 164 of file GUIComponent.cs.

◆ AlwaysOverrideCursor

bool Barotrauma.GUIComponent.AlwaysOverrideCursor = false

Definition at line 25 of file GUIComponent.cs.

◆ CanBeFocused

bool Barotrauma.GUIComponent.CanBeFocused

Definition at line 168 of file GUIComponent.cs.

◆ color

Color Barotrauma.GUIComponent.color
protected

Definition at line 170 of file GUIComponent.cs.

◆ disabledColor

Color Barotrauma.GUIComponent.disabledColor
protected

Definition at line 173 of file GUIComponent.cs.

◆ enabled

bool Barotrauma.GUIComponent.enabled
protected

Definition at line 237 of file GUIComponent.cs.

◆ ExternalHighlight

bool Barotrauma.GUIComponent.ExternalHighlight = false

Definition at line 385 of file GUIComponent.cs.

◆ flashColor

Color Barotrauma.GUIComponent.flashColor
protected

Definition at line 182 of file GUIComponent.cs.

◆ flashDuration

float Barotrauma.GUIComponent.flashDuration = 1.5f
protected

Definition at line 183 of file GUIComponent.cs.

◆ flashTimer

float Barotrauma.GUIComponent.flashTimer
protected

Definition at line 191 of file GUIComponent.cs.

◆ hoverColor

Color Barotrauma.GUIComponent.hoverColor
protected

Definition at line 171 of file GUIComponent.cs.

◆ HoverCursor

CursorState Barotrauma.GUIComponent.HoverCursor = CursorState.Default

Definition at line 23 of file GUIComponent.cs.

◆ isSelected

bool Barotrauma.GUIComponent.isSelected
protected

Definition at line 307 of file GUIComponent.cs.

◆ OnAddedToGUIUpdateList

Action<GUIComponent> Barotrauma.GUIComponent.OnAddedToGUIUpdateList

Definition at line 160 of file GUIComponent.cs.

◆ OnSecondaryClicked

SecondaryButtonDownHandler Barotrauma.GUIComponent.OnSecondaryClicked

Definition at line 28 of file GUIComponent.cs.

◆ pressedColor

Color Barotrauma.GUIComponent.pressedColor
protected

Definition at line 174 of file GUIComponent.cs.

◆ selectedColor

Color Barotrauma.GUIComponent.selectedColor
protected

Definition at line 172 of file GUIComponent.cs.

◆ SpriteEffects

SpriteEffects Barotrauma.GUIComponent.SpriteEffects

Definition at line 301 of file GUIComponent.cs.

◆ sprites

Dictionary<ComponentState, List<UISprite> > Barotrauma.GUIComponent.sprites

Definition at line 299 of file GUIComponent.cs.

◆ styleHierarchy

Identifier [] Barotrauma.GUIComponent.styleHierarchy
protected

Definition at line 166 of file GUIComponent.cs.

◆ UserData

object Barotrauma.GUIComponent.UserData

Definition at line 336 of file GUIComponent.cs.

Property Documentation

◆ AutoDraw

bool Barotrauma.GUIComponent.AutoDraw = true
getset

Definition at line 152 of file GUIComponent.cs.

◆ AutoUpdate

bool Barotrauma.GUIComponent.AutoUpdate = true
getset

Definition at line 151 of file GUIComponent.cs.

◆ Bounce

bool Barotrauma.GUIComponent.Bounce
getset

Definition at line 155 of file GUIComponent.cs.

◆ Center

Vector2 Barotrauma.GUIComponent.Center
get

Definition at line 246 of file GUIComponent.cs.

◆ Children

IEnumerable<GUIComponent> Barotrauma.GUIComponent.Children
get

Definition at line 30 of file GUIComponent.cs.

◆ ClampMouseRectToParent

bool Barotrauma.GUIComponent.ClampMouseRectToParent = false
getset

Definition at line 287 of file GUIComponent.cs.

◆ Color

virtual Color Barotrauma.GUIComponent.Color
getset

Definition at line 348 of file GUIComponent.cs.

◆ ColorCrossFadeTime

float Barotrauma.GUIComponent.ColorCrossFadeTime
get

Definition at line 380 of file GUIComponent.cs.

◆ ColorTransition

TransitionMode Barotrauma.GUIComponent.ColorTransition
get

Definition at line 377 of file GUIComponent.cs.

◆ CountChildren

int Barotrauma.GUIComponent.CountChildren
get

Definition at line 338 of file GUIComponent.cs.

◆ DefaultColor

Color Barotrauma.GUIComponent.DefaultColor
getset

Currently only used for the fade effect in GUIListBox, should be set to the same value as Color but only assigned once

Definition at line 346 of file GUIComponent.cs.

◆ DisabledColor

virtual Color Barotrauma.GUIComponent.DisabledColor
getset

Definition at line 365 of file GUIComponent.cs.

◆ Enabled

virtual bool Barotrauma.GUIComponent.Enabled
getset

Definition at line 238 of file GUIComponent.cs.

◆ FallBackState

SpriteFallBackState Barotrauma.GUIComponent.FallBackState
get

Definition at line 378 of file GUIComponent.cs.

◆ FlashTimer

virtual float Barotrauma.GUIComponent.FlashTimer
get

Definition at line 187 of file GUIComponent.cs.

◆ Font

virtual GUIFont Barotrauma.GUIComponent.Font
getset

Definition at line 209 of file GUIComponent.cs.

◆ GlowOnSelect

bool Barotrauma.GUIComponent.GlowOnSelect
getset

Definition at line 176 of file GUIComponent.cs.

◆ HoverColor

virtual Color Barotrauma.GUIComponent.HoverColor
getset

Definition at line 354 of file GUIComponent.cs.

◆ IgnoreLayoutGroups

bool Barotrauma.GUIComponent.IgnoreLayoutGroups
getset

Definition at line 195 of file GUIComponent.cs.

◆ MouseRect

virtual Rectangle? Barotrauma.GUIComponent.MouseRect
get

Definition at line 289 of file GUIComponent.cs.

◆ OutlineColor

virtual Color Barotrauma.GUIComponent.OutlineColor
getset

Definition at line 303 of file GUIComponent.cs.

◆ Parent

GUIComponent Barotrauma.GUIComponent.Parent
get

Definition at line 21 of file GUIComponent.cs.

◆ PlaySoundOnSelect

virtual bool Barotrauma.GUIComponent.PlaySoundOnSelect = false
getset

Definition at line 387 of file GUIComponent.cs.

◆ PressedColor

virtual Color Barotrauma.GUIComponent.PressedColor
getset

Definition at line 371 of file GUIComponent.cs.

◆ Rect

virtual Rectangle Barotrauma.GUIComponent.Rect
get

Definition at line 282 of file GUIComponent.cs.

◆ RectTransform

RectTransform Barotrauma.GUIComponent.RectTransform
get

Definition at line 390 of file GUIComponent.cs.

◆ Selected

virtual bool Barotrauma.GUIComponent.Selected
getset

Definition at line 308 of file GUIComponent.cs.

◆ SelectedColor

virtual Color Barotrauma.GUIComponent.SelectedColor
getset

Definition at line 360 of file GUIComponent.cs.

◆ SpriteCrossFadeTime

float Barotrauma.GUIComponent.SpriteCrossFadeTime
get

Definition at line 379 of file GUIComponent.cs.

◆ State

virtual ComponentState Barotrauma.GUIComponent.State
getset

Definition at line 320 of file GUIComponent.cs.

◆ Style

GUIComponentStyle Barotrauma.GUIComponent.Style
get

Definition at line 228 of file GUIComponent.cs.

◆ ToolTip

virtual RichString Barotrauma.GUIComponent.ToolTip
getset

Definition at line 216 of file GUIComponent.cs.

◆ UpdateOrder

int Barotrauma.GUIComponent.UpdateOrder
getset

Definition at line 153 of file GUIComponent.cs.

◆ UVOffset

Vector2 Barotrauma.GUIComponent.UVOffset
getset

Definition at line 178 of file GUIComponent.cs.

◆ Visible

bool Barotrauma.GUIComponent.Visible
getset

Definition at line 231 of file GUIComponent.cs.