terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
UnityEngine.GUIStyle Class Referencesealed
+ Collaboration diagram for UnityEngine.GUIStyle:

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)
 
static bool IsTooltipActive (string tooltip)
 
static void SetDefaultFont (Font font)
 
Vector2 CalcSizeWithConstraints (GUIContent content, Vector2 constraints)
 

Static Package Functions

static void SetMouseTooltip (string tooltip, Rect screenRect)
 

Package Attributes

IntPtr m_Ptr
 

Static Package Attributes

static bool showKeyboardFocus
 

Properties

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

Private Member Functions

static IntPtr Internal_Create (GUIStyle self)
 
static void Internal_Destroy (IntPtr self)
 
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 (ref Rect screenRect, GUIContent content, bool isHover, bool isActive, bool on, bool hasKeyboardFocus)
 
void Internal_Draw2_Injected (ref Rect position, GUIContent content, int controlID, bool on)
 
void Internal_CalcSizeWithConstraints_Injected (GUIContent content, ref Vector2 maxSize, out Vector2 ret)
 
void Internal_CalcMinMaxWidth_Injected (GUIContent content, out Vector2 ret)
 
static void SetMouseTooltip_Injected (string tooltip, ref Rect screenRect)
 

Static Private Member Functions

static GUIStyle ()
 

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 17 of file GUIStyle.cs.


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