terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
UnityEngine.GUIStyle Class Referencesealed

Public Member Functions

 GUIStyle ()
 
void Draw (Rect position, GUIContent content, bool isHover, bool isActive, bool on, bool hasKeyboardFocus)
 
void Draw (Rect position, GUIContent content, int controlID)
 
void Draw (Rect position, GUIContent content, int controlID, bool on, bool hover)
 
float CalcHeight (GUIContent content, float width)
 
void CalcMinMaxWidth (GUIContent content, [Out] float minWidth, [Out] float maxWidth)
 
override string ToString ()
 

Protected Member Functions

override void Finalize ()
 

Package Functions

Vector2 Internal_CalcSizeWithConstraints (GUIContent content, Vector2 maxSize)
 
Vector2 CalcSizeWithConstraints (GUIContent content, Vector2 constraints)
 

Static Package Functions

static void SetMouseTooltip (string tooltip, Rect screenRect)
 
static bool IsTooltipActive (string tooltip)
 
static void SetDefaultFont (Font font)
 

Package Attributes

IntPtr m_Ptr
 

Static Package Attributes

static bool showKeyboardFocus
 

Properties

string rawName [get, set]
 
ImagePosition imagePosition [get]
 
bool wordWrap [get]
 
float fixedWidth [get]
 
float fixedHeight [get]
 
bool stretchWidth [get]
 
bool stretchHeight [get, set]
 
string name [get, set]
 
GUIStyleState normal [get]
 
RectOffset margin [get]
 
RectOffset padding [get]
 
static GUIStyle none [get]
 
bool isHeightDependantOnWidth [get]
 

Private Member Functions

IntPtr GetStyleStatePtr (int idx)
 
IntPtr GetRectOffsetPtr (int idx)
 
void Internal_Draw (Rect screenRect, GUIContent content, bool isHover, bool isActive, bool on, bool hasKeyboardFocus)
 
void Internal_Draw2 (Rect position, GUIContent content, int controlID, bool on)
 
float Internal_CalcHeight (GUIContent content, float width)
 
Vector2 Internal_CalcMinMaxWidth (GUIContent content)
 
void Draw (Rect position, GUIContent content, int controlId, bool isHover, bool isActive, bool on, bool hasKeyboardFocus)
 
void Internal_Draw_Injected (Rect screenRect, GUIContent content, bool isHover, bool isActive, bool on, bool hasKeyboardFocus)
 
void Internal_Draw2_Injected (Rect position, GUIContent content, int controlID, bool on)
 
void Internal_CalcSizeWithConstraints_Injected (GUIContent content, Vector2 maxSize, [Out] Vector2 ret)
 
void Internal_CalcMinMaxWidth_Injected (GUIContent content, [Out] Vector2 ret)
 

Static Private Member Functions

static IntPtr Internal_Create (GUIStyle self)
 
static void Internal_Destroy (IntPtr self)
 
static GUIStyle ()
 
static void SetMouseTooltip_Injected (string tooltip, Rect screenRect)
 

Private Attributes

GUIStyleState m_Normal
 
GUIStyleState m_Hover
 
GUIStyleState m_Active
 
GUIStyleState m_Focused
 
GUIStyleState m_OnNormal
 
GUIStyleState m_OnHover
 
GUIStyleState m_OnActive
 
GUIStyleState m_OnFocused
 
RectOffset m_Border
 
RectOffset m_Padding
 
RectOffset m_Margin
 
RectOffset m_Overflow
 
string m_Name
 

Static Private Attributes

static GUIStyle s_None
 

Detailed Description

Definition at line 14 of file GUIStyle.cs.


The documentation for this class was generated from the following file: