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

◆ AddHorizontalSeparator()

static void Terraria.GameContent.UI.States.UIWorldCreation.AddHorizontalSeparator ( UIElement Container,
float accumualtedHeight )
inlinestaticprivate

Definition at line 209 of file UIWorldCreation.cs.

210 {
212 {
215 Color = Color.Lerp(Color.White, new Color(63, 65, 151, 255), 0.85f) * 0.9f
216 };
217 Container.Append(element);
218 }
void Append(UIElement element)
Definition UIElement.cs:166
StyleDimension Width
Definition UIElement.cs:27
StyleDimension Top
Definition UIElement.cs:23
static Color Lerp(Color value1, Color value2, float amount)
Definition Color.cs:491
static StyleDimension FromPixels(float pixels)
static StyleDimension FromPercent(float percent)

References Terraria.UI.UIElement.Append(), Terraria.UI.StyleDimension.FromPercent(), Terraria.UI.StyleDimension.FromPixels(), Microsoft.Xna.Framework.Color.Lerp(), Terraria.UI.UIElement.Top, Microsoft.Xna.Framework.Color.White, and Terraria.UI.UIElement.Width.

Referenced by Terraria.GameContent.UI.States.UIWorldCreation.MakeInfoMenu().