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

Classes

class  BackupResotrePoint
 

Public Types

enum  EditMode { SafeRegion , InterfacePosition , InterfacePositionAdjust , EditControls }
 

Public Member Functions

void Draw ()
 
int SortGroupByPosition (GUIPageIconGrouping x, GUIPageIconGrouping y)
 
Microsoft.Xna.Framework.Vector2 ItemSize (int index)
 
void RefreshSelected ()
 
void CancelChanges ()
 
void ClampUIScale ()
 
void CloseNameEdit ()
 
void CloseProfileOptions ()
 
void CloseTemplateOptions ()
 
void EnsureSelectedGroupVisible ()
 
void DrawWidgetOverlays ()
 
void Backup ()
 
void AddControlUndo ()
 
bool HasUndo ()
 
void ControlUndo ()
 
bool HasRedo ()
 
void ControlRedo ()
 
void ClearControlRedo ()
 
void ClearControlUndoRedo ()
 
void LoadDefaultProfilePositions (VirtualControlsHardwareConfiguration_Layout configuration)
 
void RestoreDefaults ()
 
void RestoreBackup ()
 
 GUIInterfaceEdit ()
 

Public Attributes

GUIInterfaceEdit.EditMode Mode
 
bool Enabled
 
GUIControllerInterfaceEdit _controller
 
float ScrollOffset
 
int SelectedItem
 
bool CanSpawnState
 
bool editingName
 
bool displayProfileOptions
 
bool displayTemplateOptions
 
float _pulldownShift
 

Private Member Functions

void DrawCategories ()
 
bool CanSpawn (List< GUIPageIconGrouping > groups, List< GUIPageIconGrouping > otherGroups, bool left, out Microsoft.Xna.Framework.Vector2 position)
 
bool FindSpaceToSpawn (out Microsoft.Xna.Framework.Vector2 position, out bool left)
 
float PageScale (int index)
 
void PageOver (int index)
 
void PageIconDraw (ItemGrid_Layout gridLayout, int index, Microsoft.Xna.Framework.Vector2 position, float scale)
 
void PageIconOver (int index)
 
float PageIconScale (int index)
 
bool LoadSettingAnchor (GUIPageIconGrouping.SettingCategory category, ref Rectangle itemRegion)
 
void PageDraw (ItemGrid_Layout gridLayout, int index, Microsoft.Xna.Framework.Vector2 position, float scale)
 
bool DrawMenuButton (ControllerActionButton action, string label, TransactionButton_Layout buttonLayout, ref float scale, bool disabled)
 
void DrawPgeGroups ()
 
void DrawGroupEditControls ()
 
void DrawSafeRegionOptions ()
 
bool CanApply ()
 
void DrawOptions ()
 
void DrawControlsOptions ()
 
string GetDisplayName (InterfaceProfile_Layout profile, float maxWidth, bool isTemplate)
 
bool IsOverOptions (Microsoft.Xna.Framework.Vector2 cursorPosition)
 
void DrawProfile ()
 
void RefreshTemplate ()
 
void DrawTemplate ()
 
void DrawUITweaks ()
 

Private Attributes

float InterfacePositionScale
 
float ControlsPositionScale
 
float SafeRegionScale
 
float EditControlScale
 
float TitleScale
 
float defaultsScale
 
float finishScale
 
float resetScale
 
float ScrollMomentum
 
int ScrollDragging
 
Microsoft.Xna.Framework.Vector2 DragOffset
 
int _groupCount
 
int pageOver
 
Rectangle NewItemtemRegion
 
Rectangle SelectedItemRegion
 
GUIPageIconGrouping currentGroup
 
Microsoft.Xna.Framework.Vector2 pageButtonRegionSize
 
Rectangle fullClipRegion
 
Rectangle dragClipRegion
 
float SideControls
 
float TopControls
 
float BottomControls
 
GUISlider.DragState dragState
 
float uiScale
 
float EditGroupsScale
 
global::UnityEngine.Vector2 lastCursorPosition
 
int lastDirection
 
string editNameValue
 
int textBlinkerCount
 
int textBlinkerState
 
GUIInputRegionExclusive _optionsBlocker
 
bool drawnProfileOptions
 
float ProfileScale
 
float ProfileRenameScale
 
float Profile1Scale
 
float Profile2Scale
 
float Profile3Scale
 
float Profile4Scale
 
bool drawnTemplateOptions
 
float TemplateScale
 
float Template1Scale
 
float Template2Scale
 
float Template3Scale
 
float Template4Scale
 
float Template5Scale
 
bool selectedCustom
 
InterfaceProfile_Layout currentProfile
 
VirtualControlsHardwareConfiguration_Layout BackupHardware1
 
VirtualControlsHardwareConfiguration_Layout BackupHardware2
 
VirtualControlsHardwareConfiguration_Layout BackupHardware3
 
VirtualControlsHardwareConfiguration_Layout BackupHardware4
 
VirtualControlsProfile_Layout BackupProfile1
 
VirtualControlsProfile_Layout BackupProfile2
 
VirtualControlsProfile_Layout BackupProfile3
 
VirtualControlsProfile_Layout BackupProfile4
 
VirtualControlsProfile_Layout BackupActiveProfile
 
Microsoft.Xna.Framework.Vector2 backupLeftPosition
 
Microsoft.Xna.Framework.Vector2 backupRightPosition
 
Microsoft.Xna.Framework.Vector2 backupInterfaceLeftPosition
 
Microsoft.Xna.Framework.Vector2 backupInterfaceRightPosition
 
Rect backupSafeRegion
 
bool backupVPPIOverride
 
float backupVPPI
 
InterfaceProfile_Layout BackupInterfaceProfile
 
int SelectedSlot
 
List< GUIInterfaceEdit.BackupResotrePointRestorePoints
 
List< GUIInterfaceEdit.BackupResotrePointRedoPoints
 

Detailed Description

Definition at line 17 of file GUIInterfaceEdit.cs.


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