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

Classes

struct  StyleOption
 

Public Member Functions

 GUIVirtualInputControllerEdit ()
 
void DrawBacking ()
 
VirtualControlsAxisConfiguration_Layout.Style GetAxisControlSubStyle (VirtualControlsHardwareConfigurationMapping_Layout.ContolType action)
 
VirtualControlsButtonConfiguration_Layout.Style GetButtonControlSubStyle (VirtualControlsHardwareConfigurationMapping_Layout.ContolType action)
 
void CloseNameEdit ()
 
void CloseProfileOptions ()
 
void ClosePageOptions ()
 
void DisablePulldown ()
 
void DrawWidgets ()
 
void DrawWidgetOverlays ()
 
int GetSlotOver (Microsoft.Xna.Framework.Vector2 mousePosition, out Microsoft.Xna.Framework.Vector2 slotPosition)
 
void UpdateCursor (global::Cursor cursor)
 
void RefreshSlotOrder ()
 
float ControlsItemScale (int index)
 
void ControlsItemOver (int index)
 
string GetControlName (VirtualControlsHardwareConfigurationMapping_Layout.ContolType control)
 
void ControlsItemDraw (ItemGrid_Layout gridLayout, int index, Microsoft.Xna.Framework.Vector2 position, float scale)
 
void DrawControlsGrid ()
 
void DrawSlotsGrid ()
 
void DrawControlCategories ()
 
void Draw ()
 
float ItemScale (int index)
 
void ItemOver (int index)
 
void ItemDraw (ItemGrid_Layout gridLayout, int slot, Microsoft.Xna.Framework.Vector2 position, float scale)
 
void SetPageControlsAndAdjust (GUIPageIcons.PageControlsType newType)
 
void ClampControls (bool editingControls=true)
 
float PageItemScale (int index)
 
void PageItemOver (int index)
 
void CancelDrag ()
 

Public Attributes

bool displayProfileOptions
 
bool displayPageOptions
 
bool displayVCControls
 
bool editingName
 
float[] Scale
 
float SettingsScale
 
float leftMenuButtonScale
 
GUIPageIconGrouping selectedGrouping
 
bool ControlsDirty
 
Rectangle leftControlsRegionCached
 
Rectangle rightControlsRegionCached
 

Private Member Functions

bool IsOverOptions (Microsoft.Xna.Framework.Vector2 cursorPosition)
 
void DrawProfile ()
 
string TruncateString (TransactionButton_Layout button, string text, float maxWidth)
 
void DrawPageOptions ()
 
void DrawHardware ()
 
void UpdateStyleOptions ()
 
void ChangeStyle (string configurationId)
 
void DrawUndoRedo ()
 
void ClampSlotToScreen (int index)
 
QuickActionButton_Layout.QuickActionControl GetButtonId (VirtualControlsHardwareConfigurationMapping_Layout.ContolType controlType)
 
void GetControlTextureFrame (VirtualControlsHardwareConfigurationMapping_Layout.ContolType controlType, out Microsoft.Xna.Framework.Graphics.Texture2D tex, out Rectangle frame)
 
void RemoveSlot (int selectedSlot)
 
int CreateNewSlot (VirtualControlsSlotTypeMapping_Layout.SlotType controlType, string styleId, Microsoft.Xna.Framework.Vector2 position)
 
void GetDefaultControlSetup (VirtualControlsHardwareConfigurationMapping_Layout.ContolType control, out VirtualControlsSlotTypeMapping_Layout.SlotType type, out string configurationId)
 
void HandleSlotChangeType (VirtualControlsHardwareConfiguration_Layout hardware, int slot, VirtualControlsSlotTypeMapping_Layout.SlotType type)
 
void LoadSlotPosition (Microsoft.Xna.Framework.Vector2 position, int slot)
 
void DrawAvailableControls ()
 
void DrawInterfaceBacking ()
 
global::Cursor GetCursor (GUIPageIconGrouping grouping)
 
void UpdateInterfaceMovement ()
 
void OffsetGroupingX (float offset)
 
Rectangle ResolveCollisions (Rectangle originalRegion, Rectangle newRegion, GUIPageIconGrouping group)
 
void TryMovingGroup (Microsoft.Xna.Framework.Vector2 newPosition)
 
bool IsAxisInBadPosition (Axis_Layout AxisLayout, ref Microsoft.Xna.Framework.Vector2 mousePosition)
 
bool IsButtonInBadPosition (QuickActionButton_Layout buttonLayout, ref Microsoft.Xna.Framework.Vector2 mousePosition)
 
bool DraggingControlInBadPosition ()
 
void DrawControls ()
 

Private Attributes

CursorInputLayer _inputLayer
 
GUIInputRegionExclusive _optionsBlocker
 
bool displayHardwareOptions
 
bool drawnProfileOptions
 
bool drawnHardwareOptions
 
bool drawnPageOptions
 
float ProfileScale
 
float ProfileRenameScale
 
float Profile1Scale
 
float Profile2Scale
 
float Profile3Scale
 
float Profile4Scale
 
float SideControls
 
float BottomControls
 
float HardwareScale
 
float Hardware1Scale
 
float Hardware2Scale
 
float Hardware3Scale
 
float Hardware4Scale
 
string editNameValue
 
int textBlinkerCount
 
int textBlinkerState
 
List< GUIVirtualInputControllerEdit.StyleOptionStlyeOptionsList
 
string SelectedStyleValue
 
float UndoScale
 
float RedoScale
 
float leftScale
 
float rightScale
 
float leftInterfaceScale
 
float rightInterfaceScale
 
bool LeftPressed
 
bool RightPressed
 
bool PendingUIControlDrag
 
Microsoft.Xna.Framework.Vector2 PendingUIControlDragStart
 
bool UIControlDrag
 
int SelectedControl
 
string SelectedControlStyle
 
float TimeSinceControlChange
 
float TimeSinceSlotChange
 
int SelectedSlotType
 
bool PendingUISlotDrag
 
bool UISlotDrag
 
Microsoft.Xna.Framework.Vector2 PendingUISlotDragStart
 
List< int > SlotOrder
 
bool drawnFromDrag
 
float smallScale
 
float mediumScale
 
float largeScale
 
float extraLargeScale
 
float deleteScale
 
List< VirtualControlsButtonConfiguration_LayoutavailableButtonControls
 
List< VirtualControlsAxisConfiguration_LayoutavailableAxisControls
 
float MappingsScale
 
float ControlsButtonScale
 
Microsoft.Xna.Framework.Vector2 dragCursorStartLeft
 
Microsoft.Xna.Framework.Vector2 dragControlStartLeft
 
Microsoft.Xna.Framework.Vector2 dragCursorStartRight
 
Microsoft.Xna.Framework.Vector2 dragControlStartRight
 
Microsoft.Xna.Framework.Vector2 dragCursorStartInterface
 
Microsoft.Xna.Framework.Vector2 dragControlStartInterface
 
bool draggingRegion
 
bool draggingRight
 
bool draggingInterface
 
bool DraggingSelectedSlot
 
Microsoft.Xna.Framework.Vector2 SlotStartPosition
 
Microsoft.Xna.Framework.Vector2 DragStartPosition
 
Microsoft.Xna.Framework.Vector2 DragPosition
 
int SelectedSlot
 
bool SelectedSlotCursorActive
 
float DraggingScale
 
float[] ControlsScales
 
float[] DrawScales
 

Static Private Attributes

const float visualBorderRegion = 2f
 
const int dragBufferSize = 15
 

Detailed Description

Definition at line 16 of file GUIVirtualInputControllerEdit.cs.


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