52 uIElement.HAlign = 0.5f;
58 uIPanel.BackgroundColor =
new Color(33, 43, 79) * 0.8f;
59 uIPanel.PaddingTop = 0f;
63 uIList.Width.Set(-25f, 1f);
64 uIList.Height.Set(-50f, 1f);
67 uIList.ListPadding = 14f;
73 uIScrollbar.HAlign = 1f;
74 uIScrollbar.VAlign = 1f;
81 uITextPanel.VAlign = 1f;
82 uITextPanel.HAlign = 0.5f;
112 0, 1, 2, 3, 15, 136, 94, 16, 135, 134,
113 137, 138, 139, 17, 87, 88, 89, 91, 92, 93,
114 8, 9, 10, 11, 14, 100, 146, 147, 148
120 return new List<int> { 36, 37, 38, 33, 34, 35 };
127 7, 73, 74, 75, 76, 131, 77, 78, 79, 80,
128 81, 82, 83, 84, 85, 86, 90, 132, 126, 127,
137 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
138 32, 18, 19, 20, 21, 99, 4, 5, 6, 95,
147 101, 102, 103, 104, 105, 106, 107, 108, 109, 110,
148 111, 112, 113, 114, 115, 116, 117, 118, 119, 120,
149 121, 122, 123, 124, 125, 130, 140, 141, 142, 145
156 list.AddRange(
new int[5] { 12, 13, 61, 62, 63 });
157 list.AddRange(
new int[4] { 67, 68, 69, 70 });
326 base.Draw(spriteBatch);
333 UILinkPointNavigator.Shortcuts.BackButtonCommand = 1;
341 uILinkPoint.Up =
num2 + 1;
346 for (
int i = 0; i < num; i++)
370 for (
int l = 0;
l <
array.GetLength(1);
l++)
372 for (
int m = 0;
m <
array.GetLength(0);
m++)
388 uILinkPoint2.Up = up;
389 for (
int n = 0;
n <
array.GetLength(1);
n++)
510 UILinkPointNavigator.Shortcuts.BackButtonCommand = 1;
517 uILinkPoint.Up =
num2 + 1;
545 for (
int k = 0;
k <
array.Length;
k++)
548 int num7 = list2.Count / 14;
556 num8 = list2.Count % 14;
566 num9 = list2.Count % 14;
569 uILinkPoint.Left =
num2 - 1;
570 uILinkPoint.Right =
num2 + 1;
571 uILinkPoint.Up =
num2 - 14;
572 uILinkPoint.Down =
num2 + 14;
575 uILinkPoint.Right =
num2 -
num9 + 1;
583 uILinkPoint2.Up =
num2;
593 uILinkPoint.Up =
num2 - 14;
596 uILinkPoint.Up -= 14;
601 uILinkPoint.Up -= 14;
607 if (
k ==
array.Length - 1)
611 uILinkPoint.Down = down;
613 if (
l / 14 ==
num7 - 1)
615 uILinkPoint.Down = down;
618 else if (
l / 14 ==
num7 - 1)
620 uILinkPoint.Down =
num2 + 14;
623 uILinkPoint.Down += 14;
625 if (
k ==
array.Length - 1)
627 uILinkPoint.Down = down;
632 uILinkPoint.Down =
num2 + 14 + 14;
635 uILinkPoint.Down += 14;
656 return a.Id.CompareTo(
b.Id);
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)
static double Ceiling(double a)
static void PlaySound(int type, Vector2 position, int style=1)
static bool DownedInvasionAnyDifficulty
virtual void Add(UIElement item)
static readonly Color FancyUIFatButtonMouseOver
static LocalizedText GetText(string key)
static bool downedChristmasSantank
static bool downedMechBoss2
static bool downedFishron
static bool downedEmpressOfLight
static bool downedHalloweenKing
static bool downedSlimeKing
static bool downedMechBoss3
static bool downedPirates
static bool downedMoonlord
static bool downedQueenBee
static bool downedHalloweenTree
static bool downedChristmasTree
static bool downedGoblins
static bool downedGolemBoss
static bool downedMartians
static bool downedChristmasIceQueen
static bool downedAncientCultist
static bool downedPlantBoss
static bool downedMechBoss1
static bool downedDeerclops
static bool downedQueenSlime
static Dictionary< int, UILinkPoint > Points
static void SetPosition(int ID, Vector2 Position)
void Append(UIElement element)
CalculatedStyle GetInnerDimensions()
void RemoveChild(UIElement child)
virtual List< SnapPoint > GetSnapPoints()
Rectangle GetClippingRectangle(SpriteBatch spriteBatch)
static StyleDimension FromPixels(float pixels)
void Set(float pixels, float precent)