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
GUITransactionButton Class Reference
+ Collaboration diagram for GUITransactionButton:

Public Types

enum  InputState { Clicked , Over , Down , None }
 

Public Member Functions

delegate void DrawItemHandler (Vector2 position, float itemScale)
 

Static Public Member Functions

static Rectangle GetRegion (TransactionButton_Layout layout)
 
static Rectangle GetPickRegion (TransactionButton_Layout layout)
 
static GUITransactionButton.InputState DrawWithBanner (TransactionButton_Layout layout, GUIControlsBanner.ActionSource source, ControllerActionButton action, GUITransactionButton.DrawItemHandler itemHandler, Vector2 itemSize, string label, bool disabled, ref float scale, bool forcePressed=false, bool hasControllerFocus=false, bool forceOver=false, bool disablePressedState=false, bool drawWhenControllerConnected=false)
 
static GUITransactionButton.InputState Draw (TransactionButton_Layout layout, GUITransactionButton.DrawItemHandler itemHandler, Vector2 itemSize, string label, bool disabled, ref float scale, bool forcePressed=false, bool hasControllerFocus=false, bool forceOver=false, bool disablePressedState=false)
 
static Rectangle GetOverloadedPickingRegion (TransactionButton_Layout layout, float scale)
 
static Rectangle LoadButtonRegion (TransactionButton_Layout layout, float scale)
 
static GUITransactionButton.InputState DrawWithBanner (TransactionButton_Layout layout, GUIControlsBanner.ActionSource source, ControllerActionButton action, Item item, string label, bool disabled, ref float scale, bool forcedPressed=false, bool hasControllerFocus=true, bool forceOver=false, bool disablePressedState=false, bool drawWhenControllerConnected=false, bool addTouchBanner=false)
 
static GUITransactionButton.InputState Draw (TransactionButton_Layout layout, Item item, string label, bool disabled, ref float scale, bool forcedPressed=false, bool hasControllerFocus=false, bool forceOver=false, bool disablePressedState=false)
 
static GUITransactionButton.InputState DrawWithBanner (TransactionButton_Layout layout, GUIControlsBanner.ActionSource source, ControllerActionButton action, Texture2D itemTexture, string label, bool disabled, ref float scale, Color? overloadedItemColour, bool forcedPressed=false, bool hasControllerFocus=false, bool forceOver=false, bool disablePressedState=false, bool drawWhenControllerConnected=false)
 
static GUITransactionButton.InputState Draw (TransactionButton_Layout layout, Texture2D itemTexture, string label, bool disabled, ref float scale, Color? overloadedItemColour, bool forcedPressed=false, bool hasControllerFocus=false, bool forceOver=false, bool disablePressedState=false)
 
static GUITransactionButton.InputState DrawWithBanner (TransactionButton_Layout layout, GUIControlsBanner.ActionSource source, ControllerActionButton action, Texture2D itemTexture, Rectangle srcRect, string label, bool disabled, ref float scale, Color? overloadedItemColour, bool forcedPressed=false, bool hasControllerFocus=false, bool forceOver=false, bool disablePressedState=false, bool drawWhenControllerConnected=false)
 
static GUITransactionButton.InputState DrawWithBanner (TransactionButton_Layout layout, GUIControlsBanner.ActionSource source, ControllerActionButton action, Texture2D itemTexture, Rectangle srcRect, Texture2D itemTextureHighlight, Rectangle srcRectHighlight, string label, bool disabled, ref float scale, Color? overloadedItemColour, bool forcedPressed=false, bool hasControllerFocus=false, bool forceOver=false, bool disablePressedState=false, bool drawWhenControllerConnected=false)
 
static GUITransactionButton.InputState Draw (TransactionButton_Layout layout, Texture2D itemTexture, Rectangle srcRect, string label, bool disabled, ref float scale, Color? overloadedItemColour, bool forcedPressed=false, bool hasControllerFocus=false, bool forceOver=false, bool disablePressedState=false)
 
static GUITransactionButton.InputState Draw (TransactionButton_Layout layout, Texture2D itemTexture, Rectangle srcRect, Texture2D itemTextureHighlight, Rectangle srcRectHighlight, string label, bool disabled, ref float scale, Color? overloadedItemColour, bool forcedPressed=false, bool hasControllerFocus=false, bool forceOver=false, bool disablePressedState=false)
 

Static Public Attributes

static bool disableControllerInput
 

Static Private Member Functions

static void DrawBacking (TransactionButton_Layout layout, Texture2D backing, Texture2D additionalBacking, Color backingColour, Color additionalbackingColour, Texture2D border, Color borderColour, float scale, bool over)
 
static void DrawControlIcon (TransactionButton_Layout layout, Texture2D backing, Color iconColour, float scale, bool hasControllerFocus)
 
static void DrawItem (TransactionButton_Layout layout, Texture2D backing, Texture2D itemTexture, Color itemColour, float scale)
 
static GUITransactionButton.InputState HandleControllerAction (TransactionButton_Layout layout, ControllerActionButton action, string label, bool disabled, bool disablePressedState, bool hasControllerFocus)
 
static void DrawLabel (TransactionButton_Layout layout, string label, Color labelColour, bool over)
 

Detailed Description

Definition at line 13 of file GUITransactionButton.cs.


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