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

◆ FillProgressBottomBar()

void Terraria.GameContent.UI.States.UIBestiaryTest.FillProgressBottomBar ( UIElement container)
inlineprivate

Definition at line 159 of file UIBestiaryTest.cs.

160 {
161 UIText progressPercentText = new UIText("", 0.8f)
162 {
163 HAlign = 0f,
164 VAlign = 1f,
165 TextOriginX = 0f,
166 TextOriginY = 0f
167 };
170 {
171 Width = new StyleDimension(0f, 1f),
172 Height = new StyleDimension(15f, 0f),
173 VAlign = 1f,
174 FilledColor = new Color(51, 137, 255),
175 EmptyColor = new Color(35, 43, 81),
176 FillPercent = 0f
177 };
178 uIColoredSliderSimple.OnUpdate += ShowStats_Completion;
180 container.Append(uIColoredSliderSimple);
181 }
StyleDimension Height
Definition UIElement.cs:29
void Append(UIElement element)
Definition UIElement.cs:166
StyleDimension Width
Definition UIElement.cs:27

References Terraria.GameContent.UI.States.UIBestiaryTest._progressPercentText, Terraria.GameContent.UI.States.UIBestiaryTest._unlocksProgressBar, Terraria.UI.UIElement.Append(), Microsoft.Xna.Framework.Graphics.Color, Terraria.UI.UIElement.HAlign, Terraria.UI.UIElement.Height, Terraria.GameContent.UI.States.UIBestiaryTest.ShowStats_Completion(), Terraria.UI.UIElement.VAlign, and Terraria.UI.UIElement.Width.

Referenced by Terraria.GameContent.UI.States.UIBestiaryTest.BuildPage().