Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.IngameOptions Class Reference

Static Public Member Functions

static void Open ()
 
static void Close ()
 
static void Draw (Main mainInstance, SpriteBatch sb)
 
static void MouseOver ()
 
static bool DrawLeftSide (SpriteBatch sb, string txt, int i, Vector2 anchor, Vector2 offset, float[] scales, float minscale=0.7f, float maxscale=0.8f, float scalespeed=0.01f)
 
static bool DrawRightSide (SpriteBatch sb, string txt, int i, Vector2 anchor, Vector2 offset, float scale, float colorScale, Color over=default(Color))
 
static Rectangle GetExpectedRectangleForNotification (int itemIndex, Vector2 anchor, Vector2 offset, int areaWidth)
 
static bool DrawValue (SpriteBatch sb, string txt, int i, float scale, Color over=default(Color))
 
static float DrawValueBar (SpriteBatch sb, float scale, float perc, int lockState=0, Utils.ColorLerpMethod colorMethod=null)
 

Static Public Attributes

const int width = 670
 
const int height = 480
 
static float[] leftScale = new float[10] { 0.7f, 0.7f, 0.7f, 0.7f, 0.7f, 0.7f, 0.7f, 0.7f, 0.7f, 0.7f }
 
static float[] rightScale
 
static bool[] skipRightSlot = new bool[20]
 
static int leftHover = -1
 
static int rightHover = -1
 
static int oldLeftHover = -1
 
static int oldRightHover = -1
 
static int rightLock = -1
 
static bool inBar
 
static bool notBar
 
static bool noSound
 
static int category
 
static Vector2 valuePosition = Vector2.Zero
 

Static Private Attributes

static Dictionary< int, int > _leftSideCategoryMapping
 
static Rectangle _GUIHover
 
static string _mouseOverText
 
static bool _canConsumeHover
 

Detailed Description

Definition at line 16 of file IngameOptions.cs.


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