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
GUITransactionButton Class Reference

Classes

class  DrawItemHandler
 

Public Types

enum  InputState { Clicked , Over , Down , None }
 

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, Microsoft.Xna.Framework.Vector2 itemSize, string label, bool disabled, 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, Microsoft.Xna.Framework.Vector2 itemSize, string label, bool disabled, 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, 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, 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, Microsoft.Xna.Framework.Graphics.Texture2D itemTexture, string label, bool disabled, float scale, Microsoft.Xna.Framework.Graphics.Color? overloadedItemColour, bool forcedPressed=false, bool hasControllerFocus=false, bool forceOver=false, bool disablePressedState=false, bool drawWhenControllerConnected=false)
 
static GUITransactionButton.InputState Draw (TransactionButton_Layout layout, Microsoft.Xna.Framework.Graphics.Texture2D itemTexture, string label, bool disabled, float scale, Microsoft.Xna.Framework.Graphics.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, Microsoft.Xna.Framework.Graphics.Texture2D itemTexture, Rectangle srcRect, string label, bool disabled, float scale, Microsoft.Xna.Framework.Graphics.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, Microsoft.Xna.Framework.Graphics.Texture2D itemTexture, Rectangle srcRect, Microsoft.Xna.Framework.Graphics.Texture2D itemTextureHighlight, Rectangle srcRectHighlight, string label, bool disabled, float scale, Microsoft.Xna.Framework.Graphics.Color? overloadedItemColour, bool forcedPressed=false, bool hasControllerFocus=false, bool forceOver=false, bool disablePressedState=false, bool drawWhenControllerConnected=false)
 
static GUITransactionButton.InputState Draw (TransactionButton_Layout layout, Microsoft.Xna.Framework.Graphics.Texture2D itemTexture, Rectangle srcRect, string label, bool disabled, float scale, Microsoft.Xna.Framework.Graphics.Color? overloadedItemColour, bool forcedPressed=false, bool hasControllerFocus=false, bool forceOver=false, bool disablePressedState=false)
 
static GUITransactionButton.InputState Draw (TransactionButton_Layout layout, Microsoft.Xna.Framework.Graphics.Texture2D itemTexture, Rectangle srcRect, Microsoft.Xna.Framework.Graphics.Texture2D itemTextureHighlight, Rectangle srcRectHighlight, string label, bool disabled, float scale, Microsoft.Xna.Framework.Graphics.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, Microsoft.Xna.Framework.Graphics.Texture2D backing, Microsoft.Xna.Framework.Graphics.Texture2D additionalBacking, Microsoft.Xna.Framework.Graphics.Color backingColour, Microsoft.Xna.Framework.Graphics.Color additionalbackingColour, Microsoft.Xna.Framework.Graphics.Texture2D border, Microsoft.Xna.Framework.Graphics.Color borderColour, float scale, bool over)
 
static void DrawControlIcon (TransactionButton_Layout layout, Microsoft.Xna.Framework.Graphics.Texture2D backing, Microsoft.Xna.Framework.Graphics.Color iconColour, float scale, bool hasControllerFocus)
 
static void DrawItem (TransactionButton_Layout layout, Microsoft.Xna.Framework.Graphics.Texture2D backing, Microsoft.Xna.Framework.Graphics.Texture2D itemTexture, Microsoft.Xna.Framework.Graphics.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, Microsoft.Xna.Framework.Graphics.Color labelColour, bool over)
 

Detailed Description

Definition at line 10 of file GUITransactionButton.cs.


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