Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ DrawSettingsPanel()

static void Terraria.Utils.DrawSettingsPanel ( SpriteBatch spriteBatch,
Vector2 position,
float width,
Color color )
inlinestatic

Definition at line 1985 of file Utils.cs.

1986 {
1987 DrawPanel(TextureAssets.SettingsPanel.Value, 2, 0, spriteBatch, position, width, color);
1988 }
static Asset< Texture2D > SettingsPanel
static void DrawPanel(Texture2D texture, int edgeWidth, int edgeShove, SpriteBatch spriteBatch, Vector2 position, float width, Color color)
Definition Utils.cs:1995

References Terraria.Utils.DrawPanel(), and Terraria.GameContent.TextureAssets.SettingsPanel.

Referenced by Terraria.GameContent.UI.Elements.UIKeybindingListItem.DrawSelf(), Terraria.GameContent.UI.Elements.UIKeybindingSliderItem.DrawSelf(), and Terraria.GameContent.UI.Elements.UIKeybindingToggleListItem.DrawSelf().