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
Terraria.UI.UserInterface Class Reference
+ Collaboration diagram for Terraria.UI.UserInterface:

Classes

class  InputPointerCache
 

Public Member Functions

void ClearPointers ()
 
void ResetLasts ()
 
void EscapeElements ()
 
 UserInterface ()
 
void Use ()
 
void Update (GameTime time)
 
void Draw (SpriteBatch spriteBatch, GameTime time)
 
void DrawDebugHitbox (BasicDebugDrawer drawer)
 
void SetState (UIState state)
 
void GoBack ()
 
void Recalculate ()
 
CalculatedStyle GetDimensions ()
 
bool IsElementUnderMouse ()
 

Public Attributes

Vector2 MousePosition
 
bool IsVisible
 

Static Public Attributes

static UserInterface ActiveInstance
 

Package Functions

void RefreshState ()
 

Properties

UIState CurrentState [get, set]
 

Private Member Functions

void ImmediatelyUpdateInputPointers ()
 
void ResetState ()
 
void GetMousePosition ()
 
void HandleClick (UserInterface.InputPointerCache cache, GameTime time, bool isDown, UIElement mouseElement)
 
void AddToHistory (UIState state)
 
delegate void MouseElementEvent (UIElement element, UIMouseEvent evt)
 

Static Private Member Functions

static UserInterface ()
 

Private Attributes

List< UIState_history
 
UserInterface.InputPointerCache LeftMouse
 
UserInterface.InputPointerCache RightMouse
 
UIElement _lastElementHover
 
double _clickDisabledTimeRemaining
 
bool _isStateDirty
 
UIState _currentState
 

Static Private Attributes

const double DOUBLE_CLICK_TIME = 500.0
 
const double STATE_CHANGE_CLICK_DISABLE_TIME = 200.0
 
const int MAX_HISTORY_SIZE = 32
 
const int HISTORY_PRUNE_SIZE = 4
 

Detailed Description

Definition at line 16 of file UserInterface.cs.


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